[2025-05-18 04:19:35.665012 sunset] INFO: xbbs.worker: running job JobMessage(project='managarm_aarch64', job='tool:host-rust', repository='https://github.com/managarm/bootstrap-managarm.git', revision='3c681cd888224addc0b8d1de1d57000b6afc14a6', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'libdrm-headers': {'architecture': 'aarch64', 'version': '2.4.124_1'}, 'frigg': {'architecture': 'aarch64', 'version': '0.0pl360_7'}, 'mlibc-headers': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}, 'linux-headers': {'architecture': 'aarch64', 'version': '6.12.8_2'}, 'mlibc': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}}, needed_tools={'system-gcc': {'architecture': 'aarch64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'aarch64'}, 'version': '3.10.12_1'}, 'cross-binutils': {'architecture': 'aarch64', 'version': '2.43.1_1'}, 'host-llvm-toolchain': {'architecture': {'aarch64'}, 'version': '19.1.7_1'}, 'host-libffi': {'architecture': 'aarch64', 'version': '3.4.4_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'aarch64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_aarch64/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/aarch64/') [2025-05-18 04:19:35.672099 sunset] INFO: xbbs.worker: running command ['git', 'init'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/.git/ [2025-05-18 04:19:35.779368 sunset] INFO: xbbs.worker: running command ['git', 'remote', 'add', 'origin', 'https://github.com/managarm/bootstrap-managarm.git'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) [2025-05-18 04:19:35.802539 sunset] INFO: xbbs.worker: running command ['git', 'fetch', 'origin'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) From https://github.com/managarm/bootstrap-managarm * [new branch] master -> origin/master [2025-05-18 04:19:37.244968 sunset] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '3c681cd888224addc0b8d1de1d57000b6afc14a6'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 3c681cd Merge pull request #511 from marv7000/eir-uefi-aarch64 [2025-05-18 04:19:37.297142 sunset] INFO: xbbs.worker: running command ['xbstrap', 'init', '/var/lib/xbbs/tmp/worker.src'] (params {'cwd': '/var/lib/xbbs/tmp/worker'}) Creating cargo-home/config.toml [2025-05-18 04:19:43.755437 sunset] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'libdrm-headers', 'frigg', 'mlibc-headers', 'linux-headers', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_aarch64/package_repo/aarch64-repodata' ... aarch64-repodata: [3463B 100%] 100MB/s ETA: 00m00s aarch64-repodata: 3463B [avg rate: 100MB/s] 5 packages will be downloaded: 5 packages will be installed: libdrm-headers-2.4.124_1 frigg-0.0pl360_7 mlibc-headers-0.0pl4468_1 linux-headers-6.12.8_2 mlibc-0.0pl4468_1 Size to download: 8055KB Size required on disk: 30MB Space available on disk: 757GB [*] Downloading packages libdrm-headers-2.4.124_1.aarch64.xbps.sig2: [512B 100%] 14MB/s ETA: 00m00s libdrm-headers-2.4.124_1.aarch64.xbps.sig2: 512B [avg rate: 14MB/s] libdrm-headers-2.4.124_1.aarch64.xbps: [120KB 3%] 87MB/s ETA: 00m00s libdrm-headers-2.4.124_1.aarch64.xbps: 120KB [avg rate: 2611MB/s] libdrm-headers-2.4.124_1: verifying RSA signature... frigg-0.0pl360_7.aarch64.xbps.sig2: [512B 100%] 8333KB/s ETA: 00m00s frigg-0.0pl360_7.aarch64.xbps.sig2: 512B [avg rate: 8333KB/s] frigg-0.0pl360_7.aarch64.xbps: [42KB 9%] 95MB/s ETA: 00m00s frigg-0.0pl360_7.aarch64.xbps: 42KB [avg rate: 999MB/s] frigg-0.0pl360_7: verifying RSA signature... mlibc-headers-0.0pl4468_1.aarch64.xbps.sig2: [512B 100%] 13MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.aarch64.xbps.sig2: 512B [avg rate: 13MB/s] mlibc-headers-0.0pl4468_1.aarch64.xbps: [99KB 4%] 103MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.aarch64.xbps: 99KB [avg rate: 2553MB/s] mlibc-headers-0.0pl4468_1: verifying RSA signature... linux-headers-6.12.8_2.aarch64.xbps.sig2: [512B 100%] 15MB/s ETA: 00m00s linux-headers-6.12.8_2.aarch64.xbps.sig2: 512B [avg rate: 15MB/s] linux-headers-6.12.8_2.aarch64.xbps: [3065KB 0%] 8386KB/s ETA: 00m00s linux-headers-6.12.8_2.aarch64.xbps: 3065KB [avg rate: 6275MB/s] linux-headers-6.12.8_2: verifying RSA signature... mlibc-0.0pl4468_1.aarch64.xbps.sig2: [512B 100%] 14MB/s ETA: 00m00s mlibc-0.0pl4468_1.aarch64.xbps.sig2: 512B [avg rate: 14MB/s] mlibc-0.0pl4468_1.aarch64.xbps: [4726KB 0%] 89MB/s ETA: 00m00s mlibc-0.0pl4468_1.aarch64.xbps: 4726KB [avg rate: 102GB/s] mlibc-0.0pl4468_1: verifying RSA signature... [*] Collecting package files libdrm-headers-2.4.124_1: collecting files... frigg-0.0pl360_7: collecting files... mlibc-headers-0.0pl4468_1: collecting files... linux-headers-6.12.8_2: collecting files... mlibc-0.0pl4468_1: collecting files... [*] Unpacking packages libdrm-headers-2.4.124_1: unpacking ... frigg-0.0pl360_7: unpacking ... mlibc-headers-0.0pl4468_1: unpacking ... linux-headers-6.12.8_2: unpacking ... mlibc-0.0pl4468_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-05-18 04:19:44.597579 sunset] DEBUG: xbbs.worker: creating repository with existing packages... [2025-05-18 04:19:44.598085 sunset] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.aarch64.xbps [2025-05-18 04:19:44.599427 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.124_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.124_1' (aarch64). index: 1 packages registered. [2025-05-18 04:19:44.681597 sunset] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4468_1.aarch64.xbps [2025-05-18 04:19:44.682251 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4468_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4468_1' (aarch64). index: 2 packages registered. [2025-05-18 04:19:44.740294 sunset] DEBUG: xbbs.worker: ... found frigg-0.0pl360_7.aarch64.xbps [2025-05-18 04:19:44.741169 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl360_7.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl360_7' (aarch64). index: 3 packages registered. [2025-05-18 04:19:44.766855 sunset] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.aarch64.xbps [2025-05-18 04:19:44.772083 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.12.8_2.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.12.8_2' (aarch64). index: 4 packages registered. [2025-05-18 04:19:44.811776 sunset] DEBUG: xbbs.worker: ... found mlibc-0.0pl4468_1.aarch64.xbps [2025-05-18 04:19:44.821197 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4468_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4468_1' (aarch64). index: 5 packages registered. [2025-05-18 04:20:29.245342 sunset] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'tool:host-rust'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch rust checkout rust patch rust regenerate rust fetch rust-backtrace checkout rust-backtrace patch rust-backtrace regenerate rust-backtrace fetch rust-calloop checkout rust-calloop patch rust-calloop regenerate rust-calloop fetch rust-cc checkout rust-cc patch rust-cc regenerate rust-cc fetch rust-errno checkout rust-errno patch rust-errno regenerate rust-errno fetch rust-getrandom-0.2 checkout rust-getrandom-0.2 patch rust-getrandom-0.2 regenerate rust-getrandom-0.2 fetch rust-getrandom-0.3 checkout rust-getrandom-0.3 patch rust-getrandom-0.3 regenerate rust-getrandom-0.3 fetch rust-glutin checkout rust-glutin patch rust-glutin regenerate rust-glutin fetch rust-libc checkout rust-libc patch rust-libc regenerate rust-libc fetch rust-libloading checkout rust-libloading patch rust-libloading regenerate rust-libloading fetch rust-mio-0.6 checkout rust-mio-0.6 patch rust-mio-0.6 regenerate rust-mio-0.6 fetch rust-mio-0.8 checkout rust-mio-0.8 patch rust-mio-0.8 regenerate rust-mio-0.8 fetch rust-mio-1.0 checkout rust-mio-1.0 patch rust-mio-1.0 regenerate rust-mio-1.0 fetch rust-nix checkout rust-nix patch rust-nix regenerate rust-nix fetch rust-num-cpus checkout rust-num-cpus patch rust-num-cpus regenerate rust-num-cpus fetch rust-patched-libs checkout rust-patched-libs patch rust-patched-libs fetch rust-rustix checkout rust-rustix patch rust-rustix regenerate rust-rustix fetch rust-shared-library checkout rust-shared-library patch rust-shared-library regenerate rust-shared-library fetch rust-users checkout rust-users patch rust-users regenerate rust-users fetch rust-uzers checkout rust-uzers patch rust-uzers regenerate rust-uzers fetch rust-winit checkout rust-winit patch rust-winit regenerate rust-winit regenerate rust-patched-libs configure-tool host-rust compile-tool host-rust, stage: config install-tool host-rust, stage: config compile-tool host-rust, stage: compiler install-tool host-rust, stage: compiler compile-tool host-rust, stage: clippy install-tool host-rust, stage: clippy compile-tool host-rust, stage: std install-tool host-rust, stage: std archive-tool host-rust xbstrap: fetch rust [1/94] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust/.git/ From https://mirrors.managarm.org/mirror/git/rust * [new tag] 1.85.1 -> 1.85.1 xbstrap: checkout rust [2/94] [2025-05-18 04:20:41.610125 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 1, 'status': 'success', 'subject': 'rust'} HEAD is now at 4eb16125 Auto merge of #138521 - cuviper:stable-next, r=cuviper xbstrap: patch rust [3/94] [2025-05-18 04:20:43.981823 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 2, 'status': 'success', 'subject': 'rust'} Applying: compiler: Add `{x86_64,aarch64,riscv64gc}-unknown-managarm-mlibc` targets Applying: meta: add patched libraries Applying: library/std: add managarm support Applying: doc: Add `*-unknown-managarm-mlibc` documentation xbstrap: regenerate rust [4/94] xbstrap: fetch rust-backtrace [5/94] [2025-05-18 04:20:45.850734 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 3, 'status': 'success', 'subject': 'rust'} [2025-05-18 04:20:45.863123 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 4, 'status': 'success', 'subject': 'rust'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-backtrace/.git/ From https://mirrors.managarm.org/mirror/git/rust-backtrace * [new tag] 0.3.69 -> 0.3.69 xbstrap[2025-05-18 04:20:46.507326 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 5, 'status': 'success', 'subject': 'rust-backtrace'} : checkout rust-backtrace [6/94] HEAD is now at 99faef8 Bump to 0.3.69 (rust-lang/backtrace-rs#560) xbstrap[2025-05-18 04:20:46.623690 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 6, 'status': 'success', 'subject': 'rust-backtrace'} : patch rust-backtrace [7/94] Applying: managarm: use dl_iterate_phdr xbstrap: regenerate rust-backtrace [8/94] xbstrap: fetch rust-calloop [9/94] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-calloop/.git/ [2025-05-18 04:20:46.722924 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 7, 'status': 'success', 'subject': 'rust-backtrace'} [2025-05-18 04:20:46.724848 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 8, 'status': 'success', 'subject': 'rust-backtrace'} From https://mirrors.managarm.org/mirror/git/rust-calloop * [new tag] v0.10.0 -> v0.10.0 xbstrap: checkout rust-calloop [10/94] [2025-05-18 04:20:47.235013 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 9, 'status': 'success', 'subject': 'rust-calloop'} HEAD is now at 0d3b13a v0.10.0 xbstrap: patch rust-calloop [11/94] [2025-05-18 04:20:47.264741 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 10, 'status': 'success', 'subject': 'rust-calloop'} Applying: managarm: initial port xbstrap: regenerate rust-calloop [12/94] xbstrap: fetch rust-cc [13/94] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-cc/.git/ [2025-05-18 04:20:47.294437 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 11, 'status': 'success', 'subject': 'rust-calloop'} [2025-05-18 04:20:47.311119 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 12, 'status': 'success', 'subject': 'rust-calloop'} From https://mirrors.managarm.org/mirror/git/rust-cc * [new tag] cc-v1.2.17 -> cc-v1.2.17 xbstrap: checkout rust-cc [14/94] [2025-05-18 04:20:48.150888 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 13, 'status': 'success', 'subject': 'rust-cc'} HEAD is now at d9dd20e chore: release v1.2.17 (#1435) xbstrap: patch rust-cc [15/94] [2025-05-18 04:20:48.192970 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 14, 'status': 'success', 'subject': 'rust-cc'} Applying: Add Managarm riscv support xbstrap: regenerate rust-cc [16/94] xbstrap: fetch rust-errno [17/94] [2025-05-18 04:20:48.236021 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 15, 'status': 'success', 'subject': 'rust-cc'} [2025-05-18 04:20:48.259222 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 16, 'status': 'success', 'subject': 'rust-cc'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-errno/.git/ From https://mirrors.managarm.org/mirror/git/rust-errno * [new tag] v0.3.10 -> v0.3.10 xbstrap[2025-05-18 04:20:49.028923 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 17, 'status': 'success', 'subject': 'rust-errno'} : checkout rust-errno [18/94] HEAD is now at 7450e3d Release 0.3.10 (#103) xbstrap: patch rust-errno [19/94] [2025-05-18 04:20:49.058072 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 18, 'status': 'success', 'subject': 'rust-errno'} Applying: Add managarm support xbstrap: regenerate rust-errno [20/94] xbstrap: fetch rust-getrandom-0.2 [21/94] [2025-05-18 04:20:49.097340 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 19, 'status': 'success', 'subject': 'rust-errno'} [2025-05-18 04:20:49.098014 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 20, 'status': 'success', 'subject': 'rust-errno'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-getrandom-0.2/.git/ From https://mirrors.managarm.org/mirror/git/rust-getrandom-0.2 * [new tag] v0.2.15 -> v0.2.15 xbstrap: checkout rust-getrandom-0.2 [22/94] [2025-05-18 04:20:49.628395 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 21, 'status': 'success', 'subject': 'rust-getrandom-0.2'} HEAD is now at cf65e83 Release v0.2.15 (#419) xbstrap: patch rust-getrandom-0.2 [23/94] [2025-05-18 04:20:49.649588 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 22, 'status': 'success', 'subject': 'rust-getrandom-0.2'} Applying: Add managarm support xbstrap: regenerate rust-getrandom-0.2 [24/94] xbstrap: fetch rust-getrandom-0.3 [25/94] [2025-05-18 04:20:49.684814 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 23, 'status': 'success', 'subject': 'rust-getrandom-0.2'} [2025-05-18 04:20:49.685586 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 24, 'status': 'success', 'subject': 'rust-getrandom-0.2'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-getrandom-0.3/.git/ From https://mirrors.managarm.org/mirror/git/rust-getrandom-0.3 * [new tag] v0.3.2 -> v0.3.2 xbstrap: checkout rust-getrandom-0.3 [26/94] [2025-05-18 04:20:50.826805 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 25, 'status': 'success', 'subject': 'rust-getrandom-0.3'} HEAD is now at 3a91722 Release v0.3.2 (#617) xbstrap: patch rust-getrandom-0.3 [27/94] [2025-05-18 04:20:50.966398 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 26, 'status': 'success', 'subject': 'rust-getrandom-0.3'} Applying: Add managarm support xbstrap[2025-05-18 04:20:51.088653 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 27, 'status': 'success', 'subject': 'rust-getrandom-0.3'} : regenerate rust-getrandom-0.3 [28/94] xbstrap: fetch rust-glutin [29/94] [2025-05-18 04:20:51.151866 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 28, 'status': 'success', 'subject': 'rust-getrandom-0.3'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-glutin/.git/ From https://mirrors.managarm.org/mirror/git/rust-glutin * [new tag] v0.29.1 -> v0.29.1 xbstrap[2025-05-18 04:20:51.973130 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 29, 'status': 'success', 'subject': 'rust-glutin'} : checkout rust-glutin [30/94] HEAD is now at 2f8bdfc Glutin version v0.29.1 xbstrap: patch rust-glutin [31/94] [2025-05-18 04:20:52.062203 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 30, 'status': 'success', 'subject': 'rust-glutin'} Applying: managarm: initial port xbstrap: regenerate rust-glutin [32/94] xbstrap: fetch rust-libc [33/94] [2025-05-18 04:20:52.145152 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 31, 'status': 'success', 'subject': 'rust-glutin'} [2025-05-18 04:20:52.145747 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 32, 'status': 'success', 'subject': 'rust-glutin'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-libc/.git/ From https://mirrors.managarm.org/mirror/git/rust-libc * [new tag] 0.2.171 -> 0.2.171 xbstrap: checkout rust-libc [34/94] [2025-05-18 04:20:53.077031 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 33, 'status': 'success', 'subject': 'rust-libc'} HEAD is now at 78b0f8a chore: release v0.2.171 xbstrap: patch rust-libc [35/94] [2025-05-18 04:20:53.117383 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 34, 'status': 'success', 'subject': 'rust-libc'} Applying: Add managarm support Applying: Add generated managarm bindings xbstrap: regenerate rust-libc [36/94] xbstrap: fetch rust-libloading [37/94] [2025-05-18 04:20:53.222560 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 35, 'status': 'success', 'subject': 'rust-libc'} [2025-05-18 04:20:53.225983 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 36, 'status': 'success', 'subject': 'rust-libc'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-libloading/.git/ From https://mirrors.managarm.org/mirror/git/rust-libloading * [new tag] 0.7.4 -> 0.7.4 xbstrap[2025-05-18 04:20:53.746861 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 37, 'status': 'success', 'subject': 'rust-libloading'} : checkout rust-libloading [38/94] HEAD is now at 6e28498 Fix CI xbstrap: patch rust-libloading [39/94] [2025-05-18 04:20:53.770169 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 38, 'status': 'success', 'subject': 'rust-libloading'} Applying: managarm: initial port xbstrap[2025-05-18 04:20:53.824945 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 39, 'status': 'success', 'subject': 'rust-libloading'} : regenerate rust-libloading [40/94] xbstrap: fetch rust-mio-0.6 [41/94] [2025-05-18 04:20:53.836513 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 40, 'status': 'success', 'subject': 'rust-libloading'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-mio-0.6/.git/ From https://mirrors.managarm.org/mirror/git/rust-mio-0.6 * [new tag] v0.6.23 -> v0.6.23 xbstrap: checkout rust-mio-0.6 [42/94] [2025-05-18 04:20:54.208735 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 41, 'status': 'success', 'subject': 'rust-mio-0.6'} HEAD is now at 26d1033 Release v0.6.23 xbstrap: patch rust-mio-0.6 [43/94] [2025-05-18 04:20:54.235622 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 42, 'status': 'success', 'subject': 'rust-mio-0.6'} Applying: managarm: initial port xbstrap: regenerate rust-mio-0.6 [44/94] [2025-05-18 04:20:54.260478 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 43, 'status': 'success', 'subject': 'rust-mio-0.6'} xbstrap: fetch rust-mio-0.8 [45/94] [2025-05-18 04:20:54.265262 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 44, 'status': 'success', 'subject': 'rust-mio-0.6'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-mio-0.8/.git/ From https://mirrors.managarm.org/mirror/git/rust-mio-0.8 * [new tag] v0.8.3 -> v0.8.3 xbstrap: checkout rust-mio-0.8 [46/94] [2025-05-18 04:20:54.793367 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 45, 'status': 'success', 'subject': 'rust-mio-0.8'} HEAD is now at c6f39d6 Release v0.8.3 xbstrap: patch rust-mio-0.8 [47/94] [2025-05-18 04:20:54.809810 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 46, 'status': 'success', 'subject': 'rust-mio-0.8'} Applying: managarm: initial port xbstrap: regenerate rust-mio-0.8 [48/94] xbstrap: fetch rust-mio-1.0 [49/94] [2025-05-18 04:20:54.857103 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 47, 'status': 'success', 'subject': 'rust-mio-0.8'} [2025-05-18 04:20:54.861992 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 48, 'status': 'success', 'subject': 'rust-mio-0.8'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-mio-1.0/.git/ From https://mirrors.managarm.org/mirror/git/rust-mio-1.0 * [new tag] v1.0.3 -> v1.0.3 xbstrap: checkout rust-mio-1.0 [50/94] [2025-05-18 04:20:55.387046 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 49, 'status': 'success', 'subject': 'rust-mio-1.0'} HEAD is now at f45f492 Release v1.0.3 (#1843) xbstrap: patch rust-mio-1.0 [51/94] [2025-05-18 04:20:55.414055 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 50, 'status': 'success', 'subject': 'rust-mio-1.0'} Applying: Add Managarm support xbstrap[2025-05-18 04:20:55.450537 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 51, 'status': 'success', 'subject': 'rust-mio-1.0'} : regenerate rust-mio-1.0 [52/94] xbstrap: fetch rust-nix [53/94] [2025-05-18 04:20:55.455612 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 52, 'status': 'success', 'subject': 'rust-mio-1.0'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-nix/.git/ From https://mirrors.managarm.org/mirror/git/rust-nix * [new tag] v0.24.3 -> v0.24.3 xbstrap: checkout rust-nix [54/94] [2025-05-18 04:20:56.119332 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 53, 'status': 'success', 'subject': 'rust-nix'} HEAD is now at ba29e5e chore: Release nix version 0.24.3 xbstrap: patch rust-nix [55/94] [2025-05-18 04:20:56.148445 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 54, 'status': 'success', 'subject': 'rust-nix'} Applying: managarm: initial port xbstrap: regenerate rust-nix [56/94] xbstrap: fetch rust-num-cpus [57/94] [2025-05-18 04:20:56.297868 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 55, 'status': 'success', 'subject': 'rust-nix'} [2025-05-18 04:20:56.300162 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 56, 'status': 'success', 'subject': 'rust-nix'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-num-cpus/.git/ From https://mirrors.managarm.org/mirror/git/rust-num-cpus * [new tag] v1.15.0 -> v1.15.0 xbstrap: checkout rust-num-cpus [58/94] [2025-05-18 04:20:57.119540 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 57, 'status': 'success', 'subject': 'rust-num-cpus'} HEAD is now at 5bea3c7 v1.15.0 xbstrap: patch rust-num-cpus [59/94] [2025-05-18 04:20:57.160758 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 58, 'status': 'success', 'subject': 'rust-num-cpus'} Applying: managarm: Initial port xbstrap: regenerate rust-num-cpus [60/94] xbstrap: fetch rust-patched-libs [61/94] xbstrap: checkout rust-patched-libs [62/94] xbstrap: patch rust-patched-libs [63/94] xbstrap: fetch rust-rustix [64/94] [2025-05-18 04:20:57.221319 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 59, 'status': 'success', 'subject': 'rust-num-cpus'} [2025-05-18 04:20:57.221996 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 60, 'status': 'success', 'subject': 'rust-num-cpus'} [2025-05-18 04:20:57.223354 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 61, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-05-18 04:20:57.224038 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 62, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-05-18 04:20:57.224522 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 63, 'status': 'success', 'subject': 'rust-patched-libs'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-rustix/.git/ From https://mirrors.managarm.org/mirror/git/rust-rustix * [new tag] v1.0.5 -> v1.0.5 xbstrap: checkout rust-rustix [65/94] [2025-05-18 04:20:57.882065 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 64, 'status': 'success', 'subject': 'rust-rustix'} HEAD is now at cb01fbe chore: Release rustix version 1.0.5 xbstrap: patch rust-rustix [66/94] [2025-05-18 04:20:57.918294 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 65, 'status': 'success', 'subject': 'rust-rustix'} Applying: Add mlibc support xbstrap: regenerate rust-rustix [67/94] xbstrap: fetch rust-shared-library [68/94] [2025-05-18 04:20:57.948065 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 66, 'status': 'success', 'subject': 'rust-rustix'} [2025-05-18 04:20:57.949590 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 67, 'status': 'success', 'subject': 'rust-rustix'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-shared-library/.git/ From https://mirrors.managarm.org/mirror/git/rust-shared-library * [new branch] master -> origin/master xbstrap: checkout rust-shared-library [69/94] [2025-05-18 04:20:58.453731 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 68, 'status': 'success', 'subject': 'rust-shared-library'} Reset branch 'master' branch 'master' set up to track 'origin/master'. xbstrap: patch rust-shared-library [70/94] [2025-05-18 04:20:58.519373 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 69, 'status': 'success', 'subject': 'rust-shared-library'} Applying: managarm: initial port xbstrap[2025-05-18 04:20:58.569181 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 70, 'status': 'success', 'subject': 'rust-shared-library'} : regenerate rust-shared-library [71/94] xbstrap: fetch rust-users [72/94] [2025-05-18 04:20:58.585184 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 71, 'status': 'success', 'subject': 'rust-shared-library'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-users/.git/ From https://mirrors.managarm.org/mirror/git/rust-users * [new tag] v0.11.0 -> v0.11.0 xbstrap: checkout rust-users [73/94] [2025-05-18 04:20:59.022276 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 72, 'status': 'success', 'subject': 'rust-users'} HEAD is now at d6883b4 v0.11.0 xbstrap: patch rust-users [74/94] [2025-05-18 04:20:59.038364 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 73, 'status': 'success', 'subject': 'rust-users'} Applying: managarm: Initial port xbstrap: regenerate rust-users [75/94] xbstrap: fetch rust-uzers [76/94] [2025-05-18 04:20:59.063998 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 74, 'status': 'success', 'subject': 'rust-users'} [2025-05-18 04:20:59.068218 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 75, 'status': 'success', 'subject': 'rust-users'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-uzers/.git/ From https://mirrors.managarm.org/mirror/git/rust-uzers * [new tag] v0.12.1 -> v0.12.1 xbstrap: checkout rust-uzers [77/94] [2025-05-18 04:20:59.394645 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 76, 'status': 'success', 'subject': 'rust-uzers'} HEAD is now at a0db683 chore(cargo): update version to 0.12.1 xbstrap[2025-05-18 04:20:59.406523 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 77, 'status': 'success', 'subject': 'rust-uzers'} : patch rust-uzers [78/94] Applying: Add Managarm support xbstrap: regenerate rust-uzers [79/94] [2025-05-18 04:20:59.434243 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 78, 'status': 'success', 'subject': 'rust-uzers'} xbstrap: fetch rust-winit [80/94] [2025-05-18 04:20:59.436554 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 79, 'status': 'success', 'subject': 'rust-uzers'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-winit/.git/ From https://mirrors.managarm.org/mirror/git/rust-winit * [new tag] v0.27.5 -> v0.27.5 [2025-05-18 04:20:59.823635 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 80, 'status': 'success', 'subject': 'rust-winit'} xbstrap: checkout rust-winit [81/94] HEAD is now at bbdcb79 Release 0.27.5 version xbstrap: patch rust-winit [82/94] [2025-05-18 04:20:59.859041 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 81, 'status': 'success', 'subject': 'rust-winit'} Applying: managarm: initial port xbstrap: regenerate rust-winit [83/94] xbstrap: regenerate rust-patched-libs [84/94] [2025-05-18 04:20:59.896724 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 82, 'status': 'success', 'subject': 'rust-winit'} xbstrap: configure-tool host-rust [85/94] xbstrap: compile-tool host-rust@config [86/94] [2025-05-18 04:20:59.899961 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 83, 'status': 'success', 'subject': 'rust-winit'} [2025-05-18 04:20:59.900865 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 84, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-05-18 04:20:59.901636 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 85, 'status': 'success', 'subject': 'host-rust'} xbstrap: Running cat << EOF > config.toml change-id = 102579 [llvm] targets = "X86;AArch64;RISCV" download-ci-llvm = false [build] target = ["@OPTION:rust-arch@-unknown-managarm-mlibc", "x86_64-unknown-linux-gnu"] build-dir = "@THIS_BUILD_DIR@" docs = false [install] prefix = "@PREFIX@" sysconfdir = "etc" [rust] codegen-tests = false deny-warnings = false [target.x86_64-unknown-linux-gnu] llvm-config = "@BUILD_ROOT@/tools/host-llvm-toolchain/bin/llvm-config" [target.@OPTION:rust-arch@-unknown-managarm-mlibc] llvm-config = "@BUILD_ROOT@/tools/host-llvm-toolchain/bin/llvm-config" cc = "@OPTION:arch-triple@-gcc" cxx = "@OPTION:arch-triple@-g++" ar = "@OPTION:arch-triple@-ar" ranlib = "@OPTION:arch-triple@-ranlib" linker = "@OPTION:arch-triple@-gcc" EOF (tools: ['host-python', 'host-libffi', 'system-gcc', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2109846 (outside the namespace) xbstrap: install-tool host-rust@config [87/94] [2025-05-18 04:21:00.198870 sunset] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 86, 'status': 'success', 'subject': 'host-rust@config'} xbstrap: compile-tool host-rust@compiler [88/94] [2025-05-18 04:21:00.200225 sunset] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 87, 'status': 'success', 'subject': 'host-rust@config'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'rustc', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-python', 'host-libffi', 'system-gcc', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2109852 (outside the namespace) downloading https://static.rust-lang.org/dist/2025-01-09/rust-std-1.84.0-x86_64-unknown-linux-gnu.tar.xz #=#=# ## 3.2% ### 5.5% ##### 8.3% ######## 11.6% ############ 17.1% ##################### 30.1% ####################### 32.9% ####################### 33.1% ################################## 47.6% ########################################## 59.2% ################################################## 70.5% ######################################################### 80.5% ################################################################ 89.4% ###################################################################### 98.6% ####################################################################### 98.7% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz #=#=# ##O#-# ##O=# # #=#=-# # # 2.7% ######## 12.0% ############### 21.5% ################### 27.0% ####################### 32.9% ############################## 42.8% ################################### 49.5% ########################################## 59.6% ################################################## 69.7% ######################################################### 79.5% ############################################################## 86.6% ################################################################# 90.8% ###################################################################### 98.1% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz #### 6.2% ############################## 42.1% ######################################################################## 100.0% extracting /var/lib/managarm-buildenv/build/tool-builds/host-rust/cache/2025-01-09/rust-std-1.84.0-x86_64-unknown-linux-gnu.tar.xz extracting /var/lib/managarm-buildenv/build/tool-builds/host-rust/cache/2025-01-09/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz extracting /var/lib/managarm-buildenv/build/tool-builds/host-rust/cache/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz Building bootstrap Updating crates.io index Downloading crates ... Downloaded digest v0.10.7 Downloaded cc v1.1.22 Downloaded clap_lex v0.7.2 Downloaded itoa v1.0.11 Downloaded crossbeam-utils v0.8.20 Downloaded cmake v0.1.48 Downloaded home v0.5.9 Downloaded fd-lock v4.0.2 Downloaded crossbeam-deque v0.8.5 Downloaded cpufeatures v0.2.15 Downloaded crypto-common v0.1.6 Downloaded cfg-if v1.0.0 Downloaded walkdir v2.5.0 Downloaded xz2 v0.1.7 Downloaded version_check v0.9.5 Downloaded typenum v1.17.0 Downloaded memchr v2.7.4 Downloaded termcolor v1.4.1 Downloaded aho-corasick v1.1.3 Downloaded shlex v1.3.0 Downloaded regex-syntax v0.8.5 Downloaded ignore v0.4.23 Downloaded sha2 v0.10.8 Downloaded semver v1.0.23 Downloaded same-file v1.0.6 Downloaded globset v0.4.15 Downloaded generic-array v0.14.7 Downloaded filetime v0.2.25 Downloaded crossbeam-epoch v0.9.18 Downloaded toml v0.5.11 Downloaded log v0.4.22 Downloaded heck v0.5.0 Downloaded tar v0.4.43 Downloaded serde_derive v1.0.215 Downloaded serde_json v1.0.132 Downloaded xattr v1.3.1 Downloaded clap_builder v4.5.20 Downloaded unicode-ident v1.0.13 Downloaded bitflags v2.6.0 Downloaded regex-automata v0.4.9 Downloaded lzma-sys v0.1.20 Downloaded syn v2.0.87 Downloaded rustix v0.38.40 Downloaded object v0.36.5 Downloaded libc v0.2.167 Downloaded bstr v1.10.0 Downloaded serde v1.0.215 Downloaded ryu v1.0.18 Downloaded quote v1.0.37 Downloaded proc-macro2 v1.0.89 Downloaded pkg-config v0.3.31 Downloaded opener v0.5.2 Downloaded errno v0.3.9 Downloaded block-buffer v0.10.4 Downloaded anstyle v1.0.10 Downloaded clap_derive v4.5.18 Downloaded clap_complete v4.5.37 Downloaded clap v4.5.20 Downloaded linux-raw-sys v0.4.14 Compiling proc-macro2 v1.0.89 Compiling unicode-ident v1.0.13 Compiling memchr v2.7.4 Compiling version_check v0.9.5 Compiling typenum v1.17.0 Compiling libc v0.2.167 Compiling shlex v1.3.0 Compiling regex-syntax v0.8.5 Compiling serde v1.0.215 Compiling cc v1.1.22 Compiling generic-array v0.14.7 Compiling crossbeam-utils v0.8.20 Compiling rustix v0.38.40 Compiling aho-corasick v1.1.3 Compiling quote v1.0.37 Compiling syn v2.0.87 Compiling cfg-if v1.0.0 Compiling pkg-config v0.3.31 Compiling bitflags v2.6.0 Compiling linux-raw-sys v0.4.14 Compiling regex-automata v0.4.9 Compiling lzma-sys v0.1.20 Compiling clap_lex v0.7.2 Compiling heck v0.5.0 Compiling anstyle v1.0.10 Compiling crossbeam-epoch v0.9.18 Compiling crypto-common v0.1.6 Compiling clap_builder v4.5.20 Compiling block-buffer v0.10.4 Compiling same-file v1.0.6 Compiling semver v1.0.23 Compiling serde_json v1.0.132 Compiling log v0.4.22 Compiling walkdir v2.5.0 Compiling digest v0.10.7 Compiling crossbeam-deque v0.8.5 Compiling filetime v0.2.25 Compiling xattr v1.3.1 Compiling cpufeatures v0.2.15 Compiling ryu v1.0.18 Compiling bootstrap v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/bootstrap) Compiling itoa v1.0.11 Compiling sha2 v0.10.8 Compiling tar v0.4.43 Compiling toml v0.5.11 Compiling xz2 v0.1.7 Compiling fd-lock v4.0.2 Compiling cmake v0.1.48 Compiling bstr v1.10.0 Compiling object v0.36.5 Compiling home v0.5.9 Compiling termcolor v1.4.1 Compiling globset v0.4.15 Compiling opener v0.5.2 Compiling clap_derive v4.5.18 Compiling serde_derive v1.0.215 Compiling ignore v0.4.23 Compiling clap v4.5.20 Compiling clap_complete v4.5.37 Compiling build_helper v0.1.0 (/var/lib/managarm-buildenv/src/ports/rust/src/build_helper) Finished `dev` profile [unoptimized] target(s) in 49.21s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Updating submodule library/backtrace fatal: ref HEAD is not a symbolic ref Submodule 'library/backtrace' (https://github.com/rust-lang/backtrace-rs.git) registered for path 'library/backtrace' Cloning into '/var/lib/managarm-buildenv/src/ports/rust/library/backtrace'... remote: Enumerating objects: 147, done. remote: Counting objects: 0% (1/147) remote: Counting objects: 1% (2/147) remote: Counting objects: 2% (3/147) remote: Counting objects: 3% (5/147) remote: Counting objects: 4% (6/147) remote: Counting objects: 5% (8/147) remote: Counting objects: 6% (9/147) remote: Counting objects: 7% (11/147) remote: Counting objects: 8% (12/147) remote: Counting objects: 9% (14/147) remote: Counting objects: 10% (15/147) remote: Counting objects: 11% (17/147) remote: Counting objects: 12% (18/147) remote: Counting objects: 13% (20/147) remote: Counting objects: 14% (21/147) remote: Counting objects: 15% (23/147) remote: Counting objects: 16% (24/147) remote: Counting objects: 17% (25/147) remote: Counting objects: 18% (27/147) remote: Counting objects: 19% (28/147) remote: Counting objects: 20% (30/147) remote: Counting objects: 21% (31/147) remote: Counting objects: 22% (33/147) remote: Counting objects: 23% (34/147) remote: Counting objects: 24% (36/147) remote: Counting objects: 25% (37/147) remote: Counting objects: 26% (39/147) remote: Counting objects: 27% (40/147) remote: Counting objects: 28% (42/147) remote: Counting objects: 29% (43/147) remote: Counting objects: 30% (45/147) remote: Counting objects: 31% (46/147) remote: Counting objects: 32% (48/147) remote: Counting objects: 33% (49/147) remote: Counting objects: 34% (50/147) remote: Counting objects: 35% (52/147) remote: Counting objects: 36% (53/147) remote: Counting objects: 37% (55/147) remote: Counting objects: 38% (56/147) remote: Counting objects: 39% (58/147) remote: Counting objects: 40% (59/147) remote: Counting objects: 41% (61/147) remote: Counting objects: 42% (62/147) remote: Counting objects: 43% (64/147) remote: Counting objects: 44% (65/147) remote: Counting objects: 45% (67/147) remote: Counting objects: 46% (68/147) remote: Counting objects: 47% (70/147) remote: Counting objects: 48% (71/147) remote: Counting objects: 49% (73/147) remote: Counting objects: 50% (74/147) remote: Counting objects: 51% (75/147) remote: Counting objects: 52% (77/147) remote: Counting objects: 53% (78/147) remote: Counting objects: 54% (80/147) remote: Counting objects: 55% (81/147) remote: Counting objects: 56% (83/147) remote: Counting objects: 57% (84/147) remote: Counting objects: 58% (86/147) remote: Counting objects: 59% (87/147) remote: Counting objects: 60% (89/147) remote: Counting objects: 61% (90/147) remote: Counting objects: 62% (92/147) remote: Counting objects: 63% (93/147) remote: Counting objects: 64% (95/147) remote: Counting objects: 65% (96/147) remote: Counting objects: 66% (98/147) remote: Counting objects: 67% (99/147) remote: Counting objects: 68% (100/147) remote: Counting objects: 69% (102/147) remote: Counting objects: 70% (103/147) remote: Counting objects: 71% (105/147) remote: Counting objects: 72% (106/147) remote: Counting objects: 73% (108/147) remote: Counting objects: 74% (109/147) remote: Counting objects: 75% (111/147) remote: Counting objects: 76% (112/147) remote: Counting objects: 77% (114/147) remote: Counting objects: 78% (115/147) remote: Counting objects: 79% (117/147) remote: Counting objects: 80% (118/147) remote: Counting objects: 81% (120/147) remote: Counting objects: 82% (121/147) remote: Counting objects: 83% (123/147) remote: Counting objects: 84% (124/147) remote: Counting objects: 85% (125/147) remote: Counting objects: 86% (127/147) remote: Counting objects: 87% (128/147) remote: Counting objects: 88% (130/147) remote: Counting objects: 89% (131/147) remote: Counting objects: 90% (133/147) remote: Counting objects: 91% (134/147) remote: Counting objects: 92% (136/147) remote: Counting objects: 93% (137/147) remote: Counting objects: 94% (139/147) remote: Counting objects: 95% (140/147) remote: Counting objects: 96% (142/147) remote: Counting objects: 97% (143/147) remote: Counting objects: 98% (145/147) remote: Counting objects: 99% (146/147) remote: Counting objects: 100% (147/147) remote: Counting objects: 100% (147/147), done. remote: Compressing objects: 0% (1/113) remote: Compressing objects: 1% (2/113) remote: Compressing objects: 2% (3/113) remote: Compressing objects: 3% (4/113) remote: Compressing objects: 4% (5/113) remote: Compressing objects: 5% (6/113) remote: Compressing objects: 6% (7/113) remote: Compressing objects: 7% (8/113) remote: Compressing objects: 8% (10/113) remote: Compressing objects: 9% (11/113) remote: Compressing objects: 10% (12/113) remote: Compressing objects: 11% (13/113) remote: Compressing objects: 12% (14/113) remote: Compressing objects: 13% (15/113) remote: Compressing objects: 14% (16/113) remote: Compressing objects: 15% (17/113) remote: Compressing objects: 16% (19/113) remote: Compressing objects: 17% (20/113) remote: Compressing objects: 18% (21/113) remote: Compressing objects: 19% (22/113) remote: Compressing objects: 20% (23/113) remote: Compressing objects: 21% (24/113) remote: Compressing objects: 22% (25/113) remote: Compressing objects: 23% (26/113) remote: Compressing objects: 24% (28/113) remote: Compressing objects: 25% (29/113) remote: Compressing objects: 26% (30/113) remote: Compressing objects: 27% (31/113) remote: Compressing objects: 28% (32/113) remote: Compressing objects: 29% (33/113) remote: Compressing objects: 30% (34/113) remote: Compressing objects: 31% (36/113) remote: Compressing objects: 32% (37/113) remote: Compressing objects: 33% (38/113) remote: Compressing objects: 34% (39/113) remote: Compressing objects: 35% (40/113) remote: Compressing objects: 36% (41/113) remote: Compressing objects: 37% (42/113) remote: Compressing objects: 38% (43/113) remote: Compressing objects: 39% (45/113) remote: Compressing objects: 40% (46/113) remote: Compressing objects: 41% (47/113) remote: Compressing objects: 42% (48/113) remote: Compressing objects: 43% (49/113) remote: Compressing objects: 44% (50/113) remote: Compressing objects: 45% (51/113) remote: Compressing objects: 46% (52/113) remote: Compressing objects: 47% (54/113) remote: Compressing objects: 48% (55/113) remote: Compressing objects: 49% (56/113) remote: Compressing objects: 50% (57/113) remote: Compressing objects: 51% (58/113) remote: Compressing objects: 52% (59/113) remote: Compressing objects: 53% (60/113) remote: Compressing objects: 54% (62/113) remote: Compressing objects: 55% (63/113) remote: Compressing objects: 56% (64/113) remote: Compressing objects: 57% (65/113) remote: Compressing objects: 58% (66/113) remote: Compressing objects: 59% (67/113) remote: Compressing objects: 60% (68/113) remote: Compressing objects: 61% (69/113) remote: Compressing objects: 62% (71/113) remote: Compressing objects: 63% (72/113) remote: Compressing objects: 64% (73/113) remote: Compressing objects: 65% (74/113) remote: Compressing objects: 66% (75/113) remote: Compressing objects: 67% (76/113) remote: Compressing objects: 68% (77/113) remote: Compressing objects: 69% (78/113) remote: Compressing objects: 70% (80/113) remote: Compressing objects: 71% (81/113) remote: Compressing objects: 72% (82/113) remote: Compressing objects: 73% (83/113) remote: Compressing objects: 74% (84/113) remote: Compressing objects: 75% (85/113) remote: Compressing objects: 76% (86/113) remote: Compressing objects: 77% (88/113) remote: Compressing objects: 78% (89/113) remote: Compressing objects: 79% (90/113) remote: Compressing objects: 80% (91/113) remote: Compressing objects: 81% (92/113) remote: Compressing objects: 82% (93/113) remote: Compressing objects: 83% (94/113) remote: Compressing objects: 84% (95/113) remote: Compressing objects: 85% (97/113) remote: Compressing objects: 86% (98/113) remote: Compressing objects: 87% (99/113) remote: Compressing objects: 88% (100/113) remote: Compressing objects: 89% (101/113) remote: Compressing objects: 90% (102/113) remote: Compressing objects: 91% (103/113) remote: Compressing objects: 92% (104/113) remote: Compressing objects: 93% (106/113) remote: Compressing objects: 94% (107/113) remote: Compressing objects: 95% (108/113) remote: Compressing objects: 96% (109/113) remote: Compressing objects: 97% (110/113) remote: Compressing objects: 98% (111/113) remote: Compressing objects: 99% (112/113) remote: Compressing objects: 100% (113/113) remote: Compressing objects: 100% (113/113), done. Receiving objects: 0% (1/147) Receiving objects: 1% (2/147) Receiving objects: 2% (3/147) Receiving objects: 3% (5/147) Receiving objects: 4% (6/147) Receiving objects: 5% (8/147) Receiving objects: 6% (9/147) Receiving objects: 7% (11/147) Receiving objects: 8% (12/147) Receiving objects: 9% (14/147) Receiving objects: 10% (15/147) Receiving objects: 11% (17/147) Receiving objects: 12% (18/147) Receiving objects: 13% (20/147) Receiving objects: 14% (21/147) Receiving objects: 15% (23/147) Receiving objects: 16% (24/147) Receiving objects: 17% (25/147) Receiving objects: 18% (27/147) Receiving objects: 19% (28/147) Receiving objects: 20% (30/147) Receiving objects: 21% (31/147) Receiving objects: 22% (33/147) Receiving objects: 23% (34/147) Receiving objects: 24% (36/147) Receiving objects: 25% (37/147) Receiving objects: 26% (39/147) Receiving objects: 27% (40/147) Receiving objects: 28% (42/147) Receiving objects: 29% (43/147) Receiving objects: 30% (45/147) Receiving objects: 31% (46/147) Receiving objects: 32% (48/147) Receiving objects: 33% (49/147) Receiving objects: 34% (50/147) Receiving objects: 35% (52/147) Receiving objects: 36% (53/147) Receiving objects: 37% (55/147) Receiving objects: 38% (56/147) Receiving objects: 39% (58/147) Receiving objects: 40% (59/147) Receiving objects: 41% (61/147) Receiving objects: 42% (62/147) Receiving objects: 43% (64/147) Receiving objects: 44% (65/147) Receiving objects: 45% (67/147) Receiving objects: 46% (68/147) Receiving objects: 47% (70/147) Receiving objects: 48% (71/147) Receiving objects: 49% (73/147) Receiving objects: 50% (74/147) Receiving objects: 51% (75/147) Receiving objects: 52% (77/147) Receiving objects: 53% (78/147) Receiving objects: 54% (80/147) Receiving objects: 55% (81/147) Receiving objects: 56% (83/147) Receiving objects: 57% (84/147) Receiving objects: 58% (86/147) Receiving objects: 59% (87/147) Receiving objects: 60% (89/147) Receiving objects: 61% (90/147) Receiving objects: 62% (92/147) Receiving objects: 63% (93/147) Receiving objects: 64% (95/147) Receiving objects: 65% (96/147) Receiving objects: 66% (98/147) Receiving objects: 67% (99/147) Receiving objects: 68% (100/147) Receiving objects: 69% (102/147) Receiving objects: 70% (103/147) Receiving objects: 71% (105/147) remote: Total 147 (delta 6), reused 90 (delta 4), pack-reused 0 (from 0) Receiving objects: 72% (106/147) Receiving objects: 73% (108/147) Receiving objects: 74% (109/147) Receiving objects: 75% (111/147) Receiving objects: 76% (112/147) Receiving objects: 77% (114/147) Receiving objects: 78% (115/147) Receiving objects: 79% (117/147) Receiving objects: 80% (118/147) Receiving objects: 81% (120/147) Receiving objects: 82% (121/147) Receiving objects: 83% (123/147) Receiving objects: 84% (124/147) Receiving objects: 85% (125/147) Receiving objects: 86% (127/147) Receiving objects: 87% (128/147) Receiving objects: 88% (130/147) Receiving objects: 89% (131/147) Receiving objects: 90% (133/147) Receiving objects: 91% (134/147) Receiving objects: 92% (136/147) Receiving objects: 93% (137/147) Receiving objects: 94% (139/147) Receiving objects: 95% (140/147) Receiving objects: 96% (142/147) Receiving objects: 97% (143/147) Receiving objects: 98% (145/147) Receiving objects: 99% (146/147) Receiving objects: 100% (147/147) Receiving objects: 100% (147/147), 119.46 KiB | 7.96 MiB/s, done. Resolving deltas: 0% (0/6) Resolving deltas: 16% (1/6) Resolving deltas: 33% (2/6) Resolving deltas: 50% (3/6) Resolving deltas: 66% (4/6) Resolving deltas: 83% (5/6) Resolving deltas: 100% (6/6) Resolving deltas: 100% (6/6), done. From https://github.com/rust-lang/backtrace-rs * branch 4d7906bb24ae91ee6587127020d360f5298f9e7e -> FETCH_HEAD Submodule path 'library/backtrace': checked out '4d7906bb24ae91ee6587127020d360f5298f9e7e' Updating submodule library/stdarch fatal: ref HEAD is not a symbolic ref Submodule 'library/stdarch' (https://github.com/rust-lang/stdarch.git) registered for path 'library/stdarch' Cloning into '/var/lib/managarm-buildenv/src/ports/rust/library/stdarch'... remote: Enumerating objects: 364, done. remote: Counting objects: 0% (1/364) remote: Counting objects: 1% (4/364) remote: Counting objects: 2% (8/364) remote: Counting objects: 3% (11/364) remote: Counting objects: 4% (15/364) remote: Counting objects: 5% (19/364) remote: Counting objects: 6% (22/364) remote: Counting objects: 7% (26/364) remote: Counting objects: 8% (30/364) remote: Counting objects: 9% (33/364) remote: Counting objects: 10% (37/364) remote: Counting objects: 11% (41/364) remote: Counting objects: 12% (44/364) remote: Counting objects: 13% (48/364) remote: Counting objects: 14% (51/364) remote: Counting objects: 15% (55/364) remote: Counting objects: 16% (59/364) remote: Counting objects: 17% (62/364) remote: Counting objects: 18% (66/364) remote: Counting objects: 19% (70/364) remote: Counting objects: 20% (73/364) remote: Counting objects: 21% (77/364) remote: Counting objects: 22% (81/364) remote: Counting objects: 23% (84/364) remote: Counting objects: 24% (88/364) remote: Counting objects: 25% (91/364) remote: Counting objects: 26% (95/364) remote: Counting objects: 27% (99/364) remote: Counting objects: 28% (102/364) remote: Counting objects: 29% (106/364) remote: Counting objects: 30% (110/364) remote: Counting objects: 31% (113/364) remote: Counting objects: 32% (117/364) remote: Counting objects: 33% (121/364) remote: Counting objects: 34% (124/364) remote: Counting objects: 35% (128/364) remote: Counting objects: 36% (132/364) remote: Counting objects: 37% (135/364) remote: Counting objects: 38% (139/364) remote: Counting objects: 39% (142/364) remote: Counting objects: 40% (146/364) remote: Counting objects: 41% (150/364) remote: Counting objects: 42% (153/364) remote: Counting objects: 43% (157/364) remote: Counting objects: 44% (161/364) remote: Counting objects: 45% (164/364) remote: Counting objects: 46% (168/364) remote: Counting objects: 47% (172/364) remote: Counting objects: 48% (175/364) remote: Counting objects: 49% (179/364) remote: Counting objects: 50% (182/364) remote: Counting objects: 51% (186/364) remote: Counting objects: 52% (190/364) remote: Counting objects: 53% (193/364) remote: Counting objects: 54% (197/364) remote: Counting objects: 55% (201/364) remote: Counting objects: 56% (204/364) remote: Counting objects: 57% (208/364) remote: Counting objects: 58% (212/364) remote: Counting objects: 59% (215/364) remote: Counting objects: 60% (219/364) remote: Counting objects: 61% (223/364) remote: Counting objects: 62% (226/364) remote: Counting objects: 63% (230/364) remote: Counting objects: 64% (233/364) remote: Counting objects: 65% (237/364) remote: Counting objects: 66% (241/364) remote: Counting objects: 67% (244/364) remote: Counting objects: 68% (248/364) remote: Counting objects: 69% (252/364) remote: Counting objects: 70% (255/364) remote: Counting objects: 71% (259/364) remote: Counting objects: 72% (263/364) remote: Counting objects: 73% (266/364) remote: Counting objects: 74% (270/364) remote: Counting objects: 75% (273/364) remote: Counting objects: 76% (277/364) remote: Counting objects: 77% (281/364) remote: Counting objects: 78% (284/364) remote: Counting objects: 79% (288/364) remote: Counting objects: 80% (292/364) remote: Counting objects: 81% (295/364) remote: Counting objects: 82% (299/364) remote: Counting objects: 83% (303/364) remote: Counting objects: 84% (306/364) remote: Counting objects: 85% (310/364) remote: Counting objects: 86% (314/364) remote: Counting objects: 87% (317/364) remote: Counting objects: 88% (321/364) remote: Counting objects: 89% (324/364) remote: Counting objects: 90% (328/364) remote: Counting objects: 91% (332/364) remote: Counting objects: 92% (335/364) remote: Counting objects: 93% (339/364) remote: Counting objects: 94% (343/364) remote: Counting objects: 95% (346/364) remote: Counting objects: 96% (350/364) remote: Counting objects: 97% (354/364) remote: Counting objects: 98% (357/364) remote: Counting objects: 99% (361/364) remote: Counting objects: 100% (364/364) remote: Counting objects: 100% (364/364), done. remote: Compressing objects: 0% (1/310) remote: Compressing objects: 1% (4/310) remote: Compressing objects: 2% (7/310) remote: Compressing objects: 3% (10/310) remote: Compressing objects: 4% (13/310) remote: Compressing objects: 5% (16/310) remote: Compressing objects: 6% (19/310) remote: Compressing objects: 7% (22/310) remote: Compressing objects: 8% (25/310) remote: Compressing objects: 9% (28/310) remote: Compressing objects: 10% (31/310) remote: Compressing objects: 11% (35/310) remote: Compressing objects: 12% (38/310) remote: Compressing objects: 13% (41/310) remote: Compressing objects: 14% (44/310) remote: Compressing objects: 15% (47/310) remote: Compressing objects: 16% (50/310) remote: Compressing objects: 17% (53/310) remote: Compressing objects: 18% (56/310) remote: Compressing objects: 19% (59/310) remote: Compressing objects: 20% (62/310) remote: Compressing objects: 21% (66/310) remote: Compressing objects: 22% (69/310) remote: Compressing objects: 23% (72/310) remote: Compressing objects: 24% (75/310) remote: Compressing objects: 25% (78/310) remote: Compressing objects: 26% (81/310) remote: Compressing objects: 27% (84/310) remote: Compressing objects: 28% (87/310) remote: Compressing objects: 29% (90/310) remote: Compressing objects: 30% (93/310) remote: Compressing objects: 31% (97/310) remote: Compressing objects: 32% (100/310) remote: Compressing objects: 33% (103/310) remote: Compressing objects: 34% (106/310) remote: Compressing objects: 35% (109/310) remote: Compressing objects: 36% (112/310) remote: Compressing objects: 37% (115/310) remote: Compressing objects: 38% (118/310) remote: Compressing objects: 39% (121/310) remote: Compressing objects: 40% (124/310) remote: Compressing objects: 41% (128/310) remote: Compressing objects: 42% (131/310) remote: Compressing objects: 43% (134/310) remote: Compressing objects: 44% (137/310) remote: Compressing objects: 45% (140/310) remote: Compressing objects: 46% (143/310) remote: Compressing objects: 47% (146/310) remote: Compressing objects: 48% (149/310) remote: Compressing objects: 49% (152/310) remote: Compressing objects: 50% (155/310) remote: Compressing objects: 51% (159/310) remote: Compressing objects: 52% (162/310) remote: Compressing objects: 53% (165/310) remote: Compressing objects: 54% (168/310) remote: Compressing objects: 55% (171/310) remote: Compressing objects: 56% (174/310) remote: Compressing objects: 57% (177/310) remote: Compressing objects: 58% (180/310) remote: Compressing objects: 59% (183/310) remote: Compressing objects: 60% (186/310) remote: Compressing objects: 61% (190/310) remote: Compressing objects: 62% (193/310) remote: Compressing objects: 63% (196/310) remote: Compressing objects: 64% (199/310) remote: Compressing objects: 65% (202/310) remote: Compressing objects: 66% (205/310) remote: Compressing objects: 67% (208/310) remote: Compressing objects: 68% (211/310) remote: Compressing objects: 69% (214/310) remote: Compressing objects: 70% (217/310) remote: Compressing objects: 71% (221/310) remote: Compressing objects: 72% (224/310) remote: Compressing objects: 73% (227/310) remote: Compressing objects: 74% (230/310) remote: Compressing objects: 75% (233/310) remote: Compressing objects: 76% (236/310) remote: Compressing objects: 77% (239/310) remote: Compressing objects: 78% (242/310) remote: Compressing objects: 79% (245/310) remote: Compressing objects: 80% (248/310) remote: Compressing objects: 81% (252/310) remote: Compressing objects: 82% (255/310) remote: Compressing objects: 83% (258/310) remote: Compressing objects: 84% (261/310) remote: Compressing objects: 85% (264/310) remote: Compressing objects: 86% (267/310) remote: Compressing objects: 87% (270/310) remote: Compressing objects: 88% (273/310) remote: Compressing objects: 89% (276/310) remote: Compressing objects: 90% (279/310) remote: Compressing objects: 91% (283/310) remote: Compressing objects: 92% (286/310) remote: Compressing objects: 93% (289/310) remote: Compressing objects: 94% (292/310) remote: Compressing objects: 95% (295/310) remote: Compressing objects: 96% (298/310) remote: Compressing objects: 97% (301/310) remote: Compressing objects: 98% (304/310) remote: Compressing objects: 99% (307/310) remote: Compressing objects: 100% (310/310) remote: Compressing objects: 100% (310/310), done. Receiving objects: 0% (1/364) Receiving objects: 1% (4/364) Receiving objects: 2% (8/364) Receiving objects: 3% (11/364) Receiving objects: 4% (15/364) Receiving objects: 5% (19/364) Receiving objects: 6% (22/364) Receiving objects: 7% (26/364) Receiving objects: 8% (30/364) Receiving objects: 9% (33/364) Receiving objects: 10% (37/364) Receiving objects: 11% (41/364) Receiving objects: 12% (44/364) Receiving objects: 13% (48/364) Receiving objects: 14% (51/364) Receiving objects: 15% (55/364) Receiving objects: 16% (59/364) Receiving objects: 17% (62/364) Receiving objects: 18% (66/364) Receiving objects: 19% (70/364) Receiving objects: 20% (73/364) Receiving objects: 21% (77/364) Receiving objects: 22% (81/364) Receiving objects: 23% (84/364) Receiving objects: 24% (88/364) Receiving objects: 25% (91/364) Receiving objects: 26% (95/364) Receiving objects: 27% (99/364) Receiving objects: 28% (102/364) Receiving objects: 29% (106/364) Receiving objects: 30% (110/364) Receiving objects: 31% (113/364) Receiving objects: 32% (117/364) Receiving objects: 33% (121/364) Receiving objects: 34% (124/364) Receiving objects: 35% (128/364) Receiving objects: 36% (132/364) Receiving objects: 37% (135/364) Receiving objects: 38% (139/364) Receiving objects: 39% (142/364) Receiving objects: 40% (146/364) Receiving objects: 41% (150/364) Receiving objects: 42% (153/364) Receiving objects: 43% (157/364) Receiving objects: 44% (161/364) Receiving objects: 45% (164/364) Receiving objects: 46% (168/364) Receiving objects: 47% (172/364) Receiving objects: 48% (175/364) Receiving objects: 49% (179/364) Receiving objects: 50% (182/364) Receiving objects: 51% (186/364) Receiving objects: 52% (190/364) Receiving objects: 53% (193/364) Receiving objects: 54% (197/364) Receiving objects: 55% (201/364) Receiving objects: 56% (204/364) Receiving objects: 57% (208/364) Receiving objects: 58% (212/364) Receiving objects: 59% (215/364) Receiving objects: 60% (219/364) Receiving objects: 61% (223/364) Receiving objects: 62% (226/364) Receiving objects: 63% (230/364) Receiving objects: 64% (233/364) Receiving objects: 65% (237/364) Receiving objects: 66% (241/364) Receiving objects: 67% (244/364) Receiving objects: 68% (248/364) Receiving objects: 69% (252/364) Receiving objects: 70% (255/364) Receiving objects: 71% (259/364) Receiving objects: 72% (263/364) Receiving objects: 73% (266/364) Receiving objects: 74% (270/364) Receiving objects: 75% (273/364) Receiving objects: 76% (277/364) Receiving objects: 77% (281/364) Receiving objects: 78% (284/364) Receiving objects: 79% (288/364) Receiving objects: 80% (292/364) Receiving objects: 81% (295/364) Receiving objects: 82% (299/364) Receiving objects: 83% (303/364) Receiving objects: 84% (306/364) Receiving objects: 85% (310/364) Receiving objects: 86% (314/364) Receiving objects: 87% (317/364) Receiving objects: 88% (321/364) Receiving objects: 89% (324/364) Receiving objects: 90% (328/364) Receiving objects: 91% (332/364) Receiving objects: 92% (335/364) Receiving objects: 93% (339/364) Receiving objects: 94% (343/364) Receiving objects: 95% (346/364) Receiving objects: 96% (350/364) Receiving objects: 97% (354/364) remote: Total 364 (delta 57), reused 179 (delta 22), pack-reused 0 (from 0) Receiving objects: 98% (357/364) Receiving objects: 99% (361/364) Receiving objects: 100% (364/364) Receiving objects: 100% (364/364), 1.63 MiB | 4.02 MiB/s, done. Resolving deltas: 0% (0/57) Resolving deltas: 1% (1/57) Resolving deltas: 3% (2/57) Resolving deltas: 5% (3/57) Resolving deltas: 7% (4/57) Resolving deltas: 8% (5/57) Resolving deltas: 10% (6/57) Resolving deltas: 12% (7/57) Resolving deltas: 14% (8/57) Resolving deltas: 15% (9/57) Resolving deltas: 17% (10/57) Resolving deltas: 19% (11/57) Resolving deltas: 21% (12/57) Resolving deltas: 22% (13/57) Resolving deltas: 24% (14/57) Resolving deltas: 26% (15/57) Resolving deltas: 28% (16/57) Resolving deltas: 29% (17/57) Resolving deltas: 31% (18/57) Resolving deltas: 33% (19/57) Resolving deltas: 35% (20/57) Resolving deltas: 36% (21/57) Resolving deltas: 38% (22/57) Resolving deltas: 40% (23/57) Resolving deltas: 43% (25/57) Resolving deltas: 45% (26/57) Resolving deltas: 47% (27/57) Resolving deltas: 49% (28/57) Resolving deltas: 50% (29/57) Resolving deltas: 52% (30/57) Resolving deltas: 54% (31/57) Resolving deltas: 56% (32/57) Resolving deltas: 57% (33/57) Resolving deltas: 59% (34/57) Resolving deltas: 61% (35/57) Resolving deltas: 63% (36/57) Resolving deltas: 64% (37/57) Resolving deltas: 66% (38/57) Resolving deltas: 68% (39/57) Resolving deltas: 70% (40/57) Resolving deltas: 71% (41/57) Resolving deltas: 73% (42/57) Resolving deltas: 75% (43/57) Resolving deltas: 77% (44/57) Resolving deltas: 78% (45/57) Resolving deltas: 80% (46/57) Resolving deltas: 82% (47/57) Resolving deltas: 84% (48/57) Resolving deltas: 87% (50/57) Resolving deltas: 89% (51/57) Resolving deltas: 91% (52/57) Resolving deltas: 92% (53/57) Resolving deltas: 94% (54/57) Resolving deltas: 96% (55/57) Resolving deltas: 98% (56/57) Resolving deltas: 100% (57/57) Resolving deltas: 100% (57/57), done. From https://github.com/rust-lang/stdarch * branch 684de0d6fef708cae08214fef9643dd9ec7296e1 -> FETCH_HEAD Submodule path 'library/stdarch': checked out '684de0d6fef708cae08214fef9643dd9ec7296e1' Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Updating crates.io index Downloading crates ... Downloaded adler v1.0.2 Downloaded rustc-demangle v0.1.24 Downloaded miniz_oxide v0.7.4 Downloaded allocator-api2 v0.2.21 Downloaded hashbrown v0.15.2 Downloaded addr2line v0.22.0 Downloaded getopts v0.2.21 Downloaded compiler_builtins v0.1.140 Downloaded object v0.36.7 Downloaded unicode-width v0.1.14 Downloaded gimli v0.29.0 Compiling compiler_builtins v0.1.140 Compiling core v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/core) Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling object v0.36.7 Compiling std v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-core) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings Compiling alloc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling memchr v2.7.4 Compiling rustc-demangle v0.1.24 Compiling unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/unwind) warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling gimli v0.29.0 Compiling miniz_oxide v0.7.4 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling hashbrown v0.15.2 Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling addr2line v0.22.0 warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 48.32s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Updating crates.io index Downloading crates ... Downloaded byteorder v1.5.0 Downloaded cfg_aliases v0.2.1 Downloaded equivalent v1.0.1 Downloaded icu_provider_macros v1.5.0 Downloaded ident_case v1.0.1 Downloaded punycode v0.4.1 Downloaded self_cell v0.10.3 Downloaded darling_macro v0.20.10 Downloaded scopeguard v1.2.0 Downloaded gsgdt v0.1.2 Downloaded time-core v0.1.2 Downloaded adler2 v2.0.0 Downloaded icu_provider_adapters v1.5.0 Downloaded itoa v1.0.14 Downloaded zerofrom v0.1.5 Downloaded writeable v0.5.5 Downloaded zerofrom-derive v0.1.5 Downloaded thread_local v1.1.8 Downloaded tinystr v0.7.6 Downloaded zerovec-derive v0.10.3 Downloaded rustc-hash v2.1.1 Downloaded thiserror-impl v1.0.69 Downloaded unicode-xid v0.2.6 Downloaded self_cell v1.1.0 Downloaded thiserror v1.0.69 Downloaded itertools v0.12.1 Downloaded unicode-properties v0.1.3 Downloaded unicode-script v0.5.7 Downloaded smallvec v1.13.2 Downloaded zerocopy-derive v0.7.35 Downloaded serde_derive v1.0.217 Downloaded wasm-encoder v0.219.1 Downloaded rustc-rayon-core v0.5.0 Downloaded unic-langid-impl v0.9.5 Downloaded tracing-core v0.1.30 Downloaded tracing v0.1.37 Downloaded serde v1.0.217 Downloaded unicode-security v0.1.2 Downloaded nix v0.29.0 Downloaded unicode-normalization v0.1.24 Downloaded zerovec v0.10.4 Downloaded time v0.3.37 Downloaded rustc-rayon v0.5.0 Downloaded zerocopy v0.7.35 Downloaded serde_json v1.0.134 Downloaded tracing-subscriber v0.3.18 Downloaded wasmparser v0.219.1 Downloaded wasmparser v0.222.0 Downloaded syn v2.0.93 Downloaded unicode-width v0.2.0 Downloaded regex-syntax v0.6.29 Downloaded sharded-slab v0.1.7 Downloaded rustix v0.38.42 Downloaded regex-automata v0.2.0 Downloaded gimli v0.30.0 Downloaded unicode-ident v1.0.14 Downloaded unicase v2.8.1 Downloaded tinyvec v1.8.1 Downloaded tempfile v3.14.0 Downloaded ruzstd v0.7.3 Downloaded rustc_apfloat v0.2.2+llvm-462a31f5a5ab Downloaded tracing-tree v0.3.1 Downloaded tracing-attributes v0.1.28 Downloaded time-macros v0.2.19 Downloaded thin-vec v0.2.13 Downloaded regex v1.11.1 Downloaded semver v1.0.24 Downloaded yoke v0.7.5 Downloaded unic-langid v0.9.5 Downloaded tracing-log v0.2.0 Downloaded thorin-dwp v0.8.0 Downloaded termize v0.1.1 Downloaded synstructure v0.13.1 Downloaded stacker v0.1.17 Downloaded regex-automata v0.1.10 Downloaded pulldown-cmark v0.11.3 Downloaded hashbrown v0.14.5 Downloaded blake3 v1.5.5 Downloaded twox-hash v1.6.3 Downloaded stable_deref_trait v1.2.0 Downloaded indexmap v2.7.0 Downloaded flate2 v1.0.35 Downloaded strsim v0.11.1 Downloaded crossbeam-channel v0.5.14 Downloaded cc v1.2.6 Downloaded ar_archive_writer v0.4.2 Downloaded static_assertions v1.1.0 Downloaded rand v0.8.5 Downloaded yoke-derive v0.7.5 Downloaded sha1 v0.10.6 Downloaded proc-macro2 v1.0.92 Downloaded parking_lot v0.12.3 Downloaded miniz_oxide v0.8.2 Downloaded icu_locid v1.5.0 Downloaded derive-where v1.2.7 Downloaded darling_core v0.20.10 Downloaded crossbeam-utils v0.8.21 Downloaded ahash v0.8.11 Downloaded unic-langid-macros v0.9.5 Downloaded quote v1.0.38 Downloaded pin-project-lite v0.2.15 Downloaded perf-event-open-sys v3.0.0 Downloaded parking_lot_core v0.9.10 Downloaded once_cell v1.20.2 Downloaded odht v0.3.1 Downloaded nu-ansi-term v0.50.1 Downloaded measureme v11.0.1 Downloaded lock_api v0.4.12 Downloaded litemap v0.7.4 Downloaded libloading v0.8.6 Downloaded jobserver v0.1.32 Downloaded icu_provider v1.5.0 Downloaded icu_locid_transform_data v1.5.0 Downloaded icu_locid_transform v1.5.0 Downloaded getrandom v0.2.15 Downloaded fluent-syntax v0.11.1 Downloaded fluent-bundle v0.15.3 Downloaded deranged v0.3.11 Downloaded darling v0.20.10 Downloaded crc32fast v1.4.2 Downloaded cpufeatures v0.2.16 Downloaded arrayvec v0.7.6 Downloaded annotate-snippets v0.11.5 Downloaded unic-langid-macros-impl v0.9.5 Downloaded type-map v0.5.0 Downloaded tinyvec_macros v0.1.1 Downloaded rustc-stable-hash v0.1.1 Downloaded rustc-hash v1.1.0 Downloaded rand_xoshiro v0.6.0 Downloaded rand_core v0.6.4 Downloaded rand_chacha v0.3.1 Downloaded psm v0.1.24 Downloaded proc-macro-hack v0.5.20+deprecated Downloaded ppv-lite86 v0.2.20 Downloaded polonius-engine v0.13.0 Downloaded overload v0.1.1 Downloaded num_cpus v1.16.0 Downloaded nu-ansi-term v0.46.0 Downloaded memoffset v0.9.1 Downloaded memmap2 v0.2.3 Downloaded md-5 v0.10.6 Downloaded leb128 v0.2.5 Downloaded lazy_static v1.5.0 Downloaded intl_pluralrules v7.0.2 Downloaded intl-memoizer v0.5.2 Downloaded icu_list_data v1.5.0 Downloaded icu_list v1.5.0 Downloaded field-offset v0.3.6 Downloaded either v1.13.0 Downloaded arrayref v0.3.9 Downloaded foldhash v0.1.4 Downloaded fnv v1.0.7 Downloaded fluent-langneg v0.13.0 Downloaded fallible-iterator v0.3.0 Downloaded errno v0.3.10 Downloaded ena v0.14.3 Downloaded elsa v1.7.1 Downloaded displaydoc v0.2.5 Downloaded crossbeam-deque v0.8.6 Downloaded constant_time_eq v0.3.1 Downloaded autocfg v1.4.0 Downloaded scoped-tls v1.0.1 Downloaded rustc_version v0.4.1 Downloaded powerfmt v0.2.0 Downloaded pathdiff v0.2.3 Downloaded fastrand v2.3.0 Downloaded derive_setters v0.1.6 Downloaded datafrog v2.0.1 Downloaded ctrlc v3.4.5 Downloaded pulldown-cmark-escape v0.11.0 Downloaded num-conv v0.1.0 Downloaded matchers v0.1.0 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling cfg-if v1.0.0 Compiling stable_deref_trait v1.2.0 Compiling crossbeam-utils v0.8.21 Compiling version_check v0.9.5 Compiling shlex v1.3.0 Compiling autocfg v1.4.0 Compiling cc v1.2.6 Compiling smallvec v1.13.2 Compiling once_cell v1.20.2 Compiling either v1.13.0 Compiling bitflags v2.6.0 Compiling foldhash v0.1.4 Compiling memchr v2.7.4 Compiling equivalent v1.0.1 Compiling typenum v1.17.0 Compiling hashbrown v0.15.2 Compiling quote v1.0.38 warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ Compiling syn v2.0.93 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.14 Compiling crossbeam-deque v0.8.6 Compiling lock_api v0.4.12 warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation Compiling generic-array v0.14.7 Compiling parking_lot_core v0.9.10 warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior Compiling tracing-core v0.1.30 Compiling scopeguard v1.2.0 Compiling log v0.4.22 Compiling num_cpus v1.16.0 Compiling rustc-rayon-core v0.5.0 For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) Compiling pin-project-lite v0.2.15 Compiling rustc-hash v1.1.0 Compiling parking_lot v0.12.3 Compiling rustc_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_macros) Compiling proc-macro-hack v0.5.20+deprecated Compiling psm v0.1.24 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling thin-vec v0.2.13 Compiling rustix v0.38.42 Compiling digest v0.10.7 Compiling stacker v0.1.17 Compiling rustc-rayon v0.5.0 Compiling byteorder v1.5.0 Compiling linux-raw-sys v0.4.14 Compiling blake3 v1.5.5 Compiling perf-event-open-sys v3.0.0 Compiling memmap2 v0.2.3 Compiling cpufeatures v0.2.16 Compiling fastrand v2.3.0 Compiling itoa v1.0.14 Compiling arrayvec v0.7.6 Compiling measureme v11.0.1 Compiling ena v0.14.3 Compiling getrandom v0.2.15 Compiling synstructure v0.13.1 Compiling jobserver v0.1.32 Compiling rustc_arena v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_arena) Compiling elsa v1.7.1 Compiling rustc-hash v2.1.1 Compiling rustc-stable-hash v0.1.1 Compiling arrayref v0.3.9 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling scoped-tls v1.0.1 Compiling unicode-width v0.2.0 Compiling constant_time_eq v0.3.1 Compiling tempfile v3.14.0 Compiling indexmap v2.7.0 Compiling rand_core v0.6.4 Compiling sha1 v0.10.6 Compiling sha2 v0.10.8 Compiling md-5 v0.10.6 Compiling thiserror v1.0.69 Compiling serde v1.0.217 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling displaydoc v0.2.5 Compiling tracing-attributes v0.1.28 Compiling zerofrom-derive v0.1.5 Compiling yoke-derive v0.7.5 Compiling zerovec-derive v0.10.3 Compiling rustc_index_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index_macros) Compiling tinystr v0.7.6 Compiling unic-langid-impl v0.9.5 Compiling zerocopy-derive v0.7.35 Compiling unic-langid-macros-impl v0.9.5 Compiling derive-where v1.2.7 Compiling serde_derive v1.0.217 Compiling thiserror-impl v1.0.69 Compiling zerofrom v0.1.5 Compiling yoke v0.7.5 Compiling wasmparser v0.222.0 Compiling tracing v0.1.37 Compiling zerocopy v0.7.35 Compiling zerovec v0.10.4 Compiling adler2 v2.0.0 Compiling static_assertions v1.1.0 Compiling miniz_oxide v0.8.2 Compiling crc32fast v1.4.2 Compiling litemap v0.7.4 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling ppv-lite86 v0.2.20 Compiling object v0.36.7 Compiling serde_json v1.0.134 Compiling writeable v0.5.5 Compiling rand_chacha v0.3.1 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling flate2 v1.0.35 Compiling rand v0.8.5 Compiling icu_locid v1.5.0 Compiling unic-langid-macros v0.9.5 Compiling icu_provider_macros v1.5.0 Compiling unicode-properties v0.1.3 Compiling unicode-xid v0.2.6 Compiling twox-hash v1.6.3 Compiling ryu v1.0.18 Compiling rustc_lexer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lexer) Compiling icu_provider v1.5.0 Compiling unic-langid v0.9.5 Compiling ruzstd v0.7.3 Compiling icu_locid_transform_data v1.5.0 Compiling rand_xoshiro v0.6.0 Compiling icu_locid_transform v1.5.0 Compiling rustc_span v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_span) Compiling rustc_ast_ir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_ir) Compiling rustc_ast v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast) Compiling type-map v0.5.0 Compiling regex-automata v0.2.0 Compiling icu_list_data v1.5.0 Compiling self_cell v1.1.0 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) Compiling rustc_feature v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_feature) Compiling ident_case v1.0.1 Compiling fnv v1.0.7 Compiling strsim v0.11.1 Compiling rustc_abi v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_abi) Compiling darling_core v0.20.10 Compiling icu_list v1.5.0 Compiling self_cell v0.10.3 Compiling intl-memoizer v0.5.2 Compiling fluent-syntax v0.11.1 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.2 Compiling odht v0.3.1 Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling fluent-bundle v0.15.3 warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default Compiling rustc_baked_icu_data v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_baked_icu_data) Compiling icu_provider_adapters v1.5.0 Compiling darling_macro v0.20.10 Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling itertools v0.12.1 Compiling anstyle v1.0.10 Compiling annotate-snippets v0.11.5 Compiling rustc_type_ir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir) warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ Compiling darling v0.20.10 Compiling rustc_error_messages v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_messages) Compiling rustc_ast_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_pretty) Compiling rustc_fluent_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fluent_macro) Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling derive_setters v0.1.6 Compiling termize v0.1.1 Compiling rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) Compiling unicode-width v0.1.14 Compiling termcolor v1.4.1 Compiling getopts v0.2.21 Compiling rustc_lint_defs v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint_defs) Compiling rustc_errors v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_errors) Compiling semver v1.0.24 Compiling memoffset v0.9.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling rustc_version v0.4.1 Compiling datafrog v2.0.1 Compiling field-offset v0.3.6 Compiling polonius-engine v0.13.0 Compiling rustc_hir_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_pretty) Compiling gsgdt v0.1.2 Compiling rustc_parse_format v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse_format) Compiling tinyvec_macros v0.1.1 Compiling rustc_session v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_session) Compiling tinyvec v1.8.1 Compiling rustc_next_trait_solver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_next_trait_solver) Compiling unicode-normalization v0.1.24 Compiling aho-corasick v1.1.3 Compiling rustc_attr_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_data_structures) Compiling rustc_query_system v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_system) Compiling rustc_attr_parsing v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_parsing) Compiling rustc_middle v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_middle) Compiling regex-syntax v0.8.5 Compiling regex-automata v0.4.9 Compiling rustc_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) Compiling regex v1.11.1 Compiling ahash v0.8.11 Compiling unicode-script v0.5.7 Compiling unicode-security v0.1.2 Compiling libloading v0.8.6 Compiling allocator-api2 v0.2.21 Compiling rustc_ast_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_passes) Compiling regex-syntax v0.6.29 Compiling rustc_expand v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_expand) Compiling regex-automata v0.1.10 Compiling hashbrown v0.14.5 Compiling gimli v0.30.0 Compiling rustc_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_llvm) warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Compiling punycode v0.4.1 Compiling leb128 v0.2.5 Compiling pulldown-cmark v0.11.3 Compiling overload v0.1.1 Compiling lazy_static v1.5.0 Compiling cfg_aliases v0.2.1 Compiling rustc-demangle v0.1.24 Compiling nix v0.29.0 Compiling sharded-slab v0.1.7 Compiling nu-ansi-term v0.46.0 Compiling wasm-encoder v0.219.1 Compiling matchers v0.1.0 Compiling ar_archive_writer v0.4.2 Compiling thorin-dwp v0.8.0 Compiling thread_local v1.1.8 Compiling pathdiff v0.2.3 Compiling unicase v2.8.1 Compiling pulldown-cmark-escape v0.11.0 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling nu-ansi-term v0.50.1 Compiling time-core v0.1.2 Compiling num-conv v0.1.0 Compiling powerfmt v0.2.0 Compiling deranged v0.3.11 Compiling time-macros v0.2.19 Compiling tracing-tree v0.3.1 Compiling rustc_builtin_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_builtin_macros) Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling time v0.3.37 Compiling ctrlc v3.4.5 Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling rustc_infer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_metadata) Compiling rustc_transmute v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_trait_selection) Compiling rustc_mir_dataflow v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_dataflow) Compiling rustc_symbol_mangling v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_symbol_mangling) Compiling rustc_incremental v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_incremental) Compiling rustc_pattern_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_pattern_analysis) Compiling rustc_resolve v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_resolve) Compiling rustc_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_query_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_impl) Compiling rustc_monomorphize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_monomorphize) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) Compiling rustc_lint v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint) Compiling rustc_ty_utils v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ty_utils) Compiling rustc_privacy v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_privacy) Compiling rustc_mir_build v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_build) Compiling rustc_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) Compiling rustc_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_const_eval v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_const_eval) Compiling rustc_codegen_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) Compiling rustc_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) Compiling rustc_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) Compiling rustc_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_mir_transform v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_transform) Compiling rustc_hir_typeck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_typeck) Compiling rustc_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_passes) Compiling rustc_interface v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver_impl) Compiling rustc_driver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver) Finished `release` profile [optimized] target(s) in 5m 58s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Compiling compiler_builtins v0.1.140 Compiling core v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/core) Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling object v0.36.7 Compiling std v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling memchr v2.7.4 Compiling rustc-demangle v0.1.24 Compiling unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/unwind) Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling gimli v0.29.0 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling miniz_oxide v0.7.4 Compiling hashbrown v0.15.2 Compiling addr2line v0.22.0 Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 1m 12s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling cfg-if v1.0.0 Compiling stable_deref_trait v1.2.0 Compiling crossbeam-utils v0.8.21 Compiling version_check v0.9.5 Compiling shlex v1.3.0 Compiling autocfg v1.4.0 Compiling smallvec v1.13.2 Compiling once_cell v1.20.2 Compiling cc v1.2.6 Compiling bitflags v2.6.0 Compiling either v1.13.0 Compiling foldhash v0.1.4 Compiling memchr v2.7.4 Compiling typenum v1.17.0 Compiling hashbrown v0.15.2 warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ Compiling equivalent v1.0.1 Compiling generic-array v0.14.7 Compiling quote v1.0.38 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.93 Compiling crossbeam-channel v0.5.14 Compiling lock_api v0.4.12 Compiling crossbeam-deque v0.8.6 warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation Compiling parking_lot_core v0.9.10 warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior Compiling tracing-core v0.1.30 Compiling log v0.4.22 Compiling scopeguard v1.2.0 Compiling pin-project-lite v0.2.15 Compiling rustc-hash v1.1.0 Compiling rustc_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_macros) Compiling num_cpus v1.16.0 Compiling proc-macro-hack v0.5.20+deprecated Compiling psm v0.1.24 Compiling rustc-rayon-core v0.5.0 Compiling parking_lot v0.12.3 For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) Compiling thin-vec v0.2.13 Compiling rustix v0.38.42 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling digest v0.10.7 Compiling stacker v0.1.17 Compiling byteorder v1.5.0 Compiling linux-raw-sys v0.4.14 Compiling memmap2 v0.2.3 Compiling rustc-rayon v0.5.0 Compiling perf-event-open-sys v3.0.0 Compiling blake3 v1.5.5 Compiling cpufeatures v0.2.16 Compiling fastrand v2.3.0 Compiling itoa v1.0.14 Compiling arrayvec v0.7.6 Compiling measureme v11.0.1 Compiling getrandom v0.2.15 Compiling jobserver v0.1.32 Compiling ena v0.14.3 Compiling rustc_arena v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_arena) Compiling elsa v1.7.1 Compiling rustc-stable-hash v0.1.1 Compiling unicode-width v0.2.0 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling constant_time_eq v0.3.1 Compiling arrayref v0.3.9 Compiling scoped-tls v1.0.1 Compiling synstructure v0.13.1 Compiling rustc-hash v2.1.1 Compiling rand_core v0.6.4 Compiling sha1 v0.10.6 Compiling sha2 v0.10.8 Compiling tempfile v3.14.0 Compiling md-5 v0.10.6 Compiling serde v1.0.217 Compiling indexmap v2.7.0 Compiling thiserror v1.0.69 Compiling wasmparser v0.222.0 Compiling static_assertions v1.1.0 Compiling adler2 v2.0.0 Compiling miniz_oxide v0.8.2 Compiling crc32fast v1.4.2 Compiling object v0.36.7 Compiling writeable v0.5.5 Compiling litemap v0.7.4 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling serde_json v1.0.134 Compiling unicode-xid v0.2.6 Compiling displaydoc v0.2.5 Compiling tracing-attributes v0.1.28 Compiling zerofrom-derive v0.1.5 Compiling yoke-derive v0.7.5 Compiling zerovec-derive v0.10.3 Compiling tinystr v0.7.6 Compiling unic-langid-impl v0.9.5 Compiling zerocopy-derive v0.7.35 Compiling rustc_index_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index_macros) Compiling tracing v0.1.37 Compiling unic-langid-macros-impl v0.9.5 Compiling derive-where v1.2.7 Compiling zerofrom v0.1.5 Compiling serde_derive v1.0.217 Compiling yoke v0.7.5 Compiling thiserror-impl v1.0.69 Compiling zerovec v0.10.4 Compiling zerocopy v0.7.35 Compiling flate2 v1.0.35 Compiling ppv-lite86 v0.2.20 Compiling icu_provider_macros v1.5.0 Compiling ryu v1.0.18 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling rand_chacha v0.3.1 Compiling unicode-properties v0.1.3 Compiling unic-langid-macros v0.9.5 Compiling rand v0.8.5 Compiling rustc_lexer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lexer) Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling icu_locid_transform_data v1.5.0 Compiling unic-langid v0.9.5 Compiling rand_xoshiro v0.6.0 Compiling type-map v0.5.0 Compiling twox-hash v1.6.3 Compiling icu_locid v1.5.0 Compiling ruzstd v0.7.3 Compiling regex-automata v0.2.0 Compiling self_cell v1.1.0 Compiling icu_list_data v1.5.0 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) Compiling fnv v1.0.7 Compiling strsim v0.11.1 Compiling ident_case v1.0.1 Compiling icu_provider v1.5.0 Compiling self_cell v0.10.3 Compiling icu_locid_transform v1.5.0 Compiling rustc_span v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_span) Compiling darling_core v0.20.10 Compiling icu_list v1.5.0 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.2 Compiling rustc_ast_ir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_ir) Compiling rustc_ast v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast) Compiling intl-memoizer v0.5.2 Compiling fluent-syntax v0.11.1 Compiling odht v0.3.1 Compiling darling_macro v0.20.10 Compiling fluent-bundle v0.15.3 Compiling rustc_baked_icu_data v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_baked_icu_data) Compiling icu_provider_adapters v1.5.0 Compiling rustc_feature v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_feature) Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling itertools v0.12.1 Compiling rustc_abi v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_abi) Compiling anstyle v1.0.10 Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling annotate-snippets v0.11.5 warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default Compiling rustc_ast_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_pretty) Compiling rustc_type_ir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir) Compiling rustc_error_messages v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_messages) Compiling darling v0.20.10 Compiling derive_setters v0.1.6 Compiling rustc_fluent_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fluent_macro) Compiling termize v0.1.1 Compiling termcolor v1.4.1 Compiling rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling semver v1.0.24 Compiling memoffset v0.9.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling datafrog v2.0.1 Compiling gsgdt v0.1.2 Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling rustc_version v0.4.1 Compiling polonius-engine v0.13.0 Compiling field-offset v0.3.6 Compiling rustc_parse_format v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse_format) Compiling tinyvec_macros v0.1.1 Compiling rustc_next_trait_solver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_next_trait_solver) Compiling tinyvec v1.8.1 Compiling aho-corasick v1.1.3 Compiling unicode-normalization v0.1.24 Compiling regex-syntax v0.8.5 Compiling ahash v0.8.11 Compiling unicode-script v0.5.7 Compiling rustc_lint_defs v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_errors) Compiling unicode-security v0.1.2 Compiling libloading v0.8.6 Compiling allocator-api2 v0.2.21 Compiling regex-syntax v0.6.29 Compiling hashbrown v0.14.5 Compiling regex-automata v0.4.9 Compiling gimli v0.30.0 Compiling rustc_session v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_session) Compiling regex v1.11.1 Compiling rustc_attr_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_data_structures) Compiling rustc_attr_parsing v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_parsing) Compiling rustc_query_system v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) Compiling regex-automata v0.1.10 Compiling rustc_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_llvm) Compiling lazy_static v1.5.0 Compiling overload v0.1.1 Compiling rustc-demangle v0.1.24 Compiling rustc_middle v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_middle) Compiling leb128 v0.2.5 Compiling punycode v0.4.1 Compiling pulldown-cmark v0.11.3 Compiling cfg_aliases v0.2.1 Compiling nix v0.29.0 Compiling wasm-encoder v0.219.1 Compiling matchers v0.1.0 Compiling nu-ansi-term v0.46.0 Compiling sharded-slab v0.1.7 Compiling rustc_ast_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_passes) Compiling thorin-dwp v0.8.0 Compiling rustc_expand v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_expand) Compiling ar_archive_writer v0.4.2 Compiling thread_local v1.1.8 Compiling pathdiff v0.2.3 Compiling pulldown-cmark-escape v0.11.0 Compiling unicase v2.8.1 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling nu-ansi-term v0.50.1 Compiling time-core v0.1.2 Compiling num-conv v0.1.0 Compiling powerfmt v0.2.0 warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Compiling time-macros v0.2.19 Compiling deranged v0.3.11 Compiling tracing-tree v0.3.1 Compiling rustc_builtin_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_builtin_macros) Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling time v0.3.37 Compiling ctrlc v3.4.5 Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling rustc_infer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_metadata) Compiling rustc_mir_dataflow v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_dataflow) Compiling rustc_symbol_mangling v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_symbol_mangling) Compiling rustc_incremental v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_incremental) Compiling rustc_pattern_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_pattern_analysis) Compiling rustc_query_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_impl) Compiling rustc_transmute v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_trait_selection) Compiling rustc_resolve v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_resolve) Compiling rustc_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_monomorphize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_monomorphize) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) Compiling rustc_lint v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint) Compiling rustc_ty_utils v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ty_utils) Compiling rustc_const_eval v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_const_eval) Compiling rustc_codegen_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) Compiling rustc_mir_build v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_build) Compiling rustc_privacy v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_privacy) Compiling rustc_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) Compiling rustc_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) Compiling rustc_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_hir_typeck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_typeck) Compiling rustc_mir_transform v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_transform) Compiling rustc_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) Compiling rustc_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_passes) Compiling rustc_interface v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver_impl) Compiling rustc_driver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver) Finished `release` profile [optimized] target(s) in 8m 27s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Uplifting library (stage1 -> stage2) Uplifting rustc (stage1 -> stage3) Creating a sysroot for stage3 compiler (use `rustup toolchain link 'name' build/host/stage3`) There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:17:50 xbstrap: install-tool host-rust@compiler [89/94] [2025-05-18 04:38:51.618145 sunset] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 88, 'status': 'success', 'subject': 'host-rust@compiler'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'rustc', '-j', '@PARALLELISM@'] (tools: ['host-python', 'host-libffi', 'system-gcc', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2125024 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.11s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.06s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.51s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.07s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.37s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded base64 v0.21.7 Downloaded mime v0.3.17 Downloaded mime_guess v2.0.5 Downloaded minifier v0.3.2 Downloaded threadpool v1.8.1 Downloaded rinja v0.3.5 Downloaded rinja_parser v0.3.5 Downloaded rinja_derive v0.3.5 Downloaded unicode-segmentation v1.12.0 Downloaded pulldown-cmark v0.9.6 Downloaded minimal-lexical v0.2.1 Downloaded nom v7.1.3 Downloaded basic-toml v0.1.9 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling serde v1.0.217 Compiling version_check v0.9.5 Compiling typenum v1.17.0 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling cfg-if v1.0.0 Compiling once_cell v1.20.2 Compiling memchr v2.7.4 Compiling autocfg v1.4.0 Compiling generic-array v0.14.7 Compiling unicase v2.8.1 Compiling parking_lot_core v0.9.10 Compiling tracing-core v0.1.30 Compiling mime_guess v2.0.5 Compiling lock_api v0.4.12 Compiling aho-corasick v1.1.3 Compiling regex-syntax v0.8.5 Compiling quote v1.0.38 Compiling scopeguard v1.2.0 Compiling smallvec v1.13.2 Compiling syn v2.0.93 Compiling minimal-lexical v0.2.1 Compiling regex-syntax v0.6.29 Compiling nom v7.1.3 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling digest v0.10.7 Compiling bitflags v2.6.0 Compiling rustix v0.38.42 Compiling cpufeatures v0.2.16 Compiling mime v0.3.17 Compiling lazy_static v1.5.0 Compiling overload v0.1.1 Compiling pin-project-lite v0.2.15 Compiling sha2 v0.10.8 Compiling nu-ansi-term v0.46.0 Compiling sharded-slab v0.1.7 Compiling regex-automata v0.4.9 Compiling parking_lot v0.12.3 Compiling thread_local v1.1.8 Compiling log v0.4.22 Compiling linux-raw-sys v0.4.14 Compiling serde_json v1.0.134 Compiling regex-automata v0.1.10 Compiling pulldown-cmark v0.9.6 Compiling rustc-hash v2.1.1 Compiling itoa v1.0.14 Compiling tracing-log v0.2.0 Compiling matchers v0.1.0 Compiling rustdoc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/librustdoc) Compiling num_cpus v1.16.0 Compiling regex v1.11.1 Compiling serde_derive v1.0.217 Compiling tracing-attributes v0.1.28 Compiling hashbrown v0.15.2 Compiling equivalent v1.0.1 Compiling ryu v1.0.18 Compiling nu-ansi-term v0.50.1 Compiling fastrand v2.3.0 Compiling either v1.13.0 Compiling tracing v0.1.37 Compiling itertools v0.12.1 Compiling tempfile v3.14.0 Compiling tracing-subscriber v0.3.18 Compiling indexmap v2.7.0 Compiling threadpool v1.8.1 Compiling arrayvec v0.7.6 Compiling minifier v0.3.2 Compiling base64 v0.21.7 Compiling unicode-segmentation v1.12.0 Compiling tracing-tree v0.3.1 Compiling rinja_parser v0.3.5 Compiling basic-toml v0.1.9 Compiling rustdoc-json-types v0.1.0 (/var/lib/managarm-buildenv/src/ports/rust/src/rustdoc-json-types) Compiling rinja_derive v0.3.5 Compiling rinja v0.3.5 Compiling rustdoc-tool v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/rustdoc) Finished `release` profile [optimized] target(s) in 2m 27s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded colorchoice v1.0.3 Downloaded utf8parse v0.2.2 Downloaded clap_lex v0.7.4 Downloaded is_terminal_polyfill v1.70.1 Downloaded anstyle-query v1.1.2 Downloaded anstyle-parse v0.2.6 Downloaded clap v4.5.23 Downloaded rayon-core v1.12.1 Downloaded anyhow v1.0.95 Downloaded anstream v0.6.18 Downloaded rayon v1.10.0 Downloaded clap_builder v4.5.23 Compiling crossbeam-utils v0.8.21 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling proc-macro2 v1.0.92 Compiling shlex v1.3.0 Compiling unicode-ident v1.0.14 Compiling utf8parse v0.2.2 Compiling rustix v0.38.42 Compiling cfg-if v1.0.0 Compiling pkg-config v0.3.31 Compiling cc v1.2.6 Compiling anstyle-parse v0.2.6 Compiling is_terminal_polyfill v1.70.1 Compiling anstyle v1.0.10 Compiling linux-raw-sys v0.4.14 Compiling rayon-core v1.12.1 Compiling bitflags v2.6.0 Compiling colorchoice v1.0.3 warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.38 Compiling anstyle-query v1.1.2 Compiling anstream v0.6.18 Compiling crossbeam-deque v0.8.6 warning: `libc` (lib) generated 3 warnings Compiling syn v2.0.93 Compiling heck v0.5.0 Compiling strsim v0.11.1 Compiling adler2 v2.0.0 Compiling anyhow v1.0.95 Compiling clap_lex v0.7.4 Compiling miniz_oxide v0.8.2 Compiling clap_builder v4.5.23 Compiling filetime v0.2.25 Compiling lzma-sys v0.1.20 Compiling crc32fast v1.4.2 Compiling either v1.13.0 Compiling same-file v1.0.6 Compiling rayon v1.10.0 Compiling walkdir v2.5.0 Compiling xattr v1.3.1 Compiling tar v0.4.43 Compiling flate2 v1.0.35 Compiling clap_derive v4.5.18 Compiling clap v4.5.23 Compiling xz2 v0.1.7 Compiling installer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/rust-installer) Finished `release` profile [optimized] target(s) in 22.10s Dist rustc-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.271 seconds Installing stage2 rustc (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'rustc' rustc installed. There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:02:59 xbstrap: compile-tool host-rust@clippy [90/94] [2025-05-18 04:41:51.357301 sunset] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 89, 'status': 'success', 'subject': 'host-rust@compiler'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'clippy', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-python', 'host-libffi', 'system-gcc', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2128646 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.06s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.05s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.39s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.04s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.55s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Uplifting library (stage1 -> stage2) Uplifting rustc (stage1 -> stage3) Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded cargo_metadata v0.18.1 Downloaded color-print-proc-macro v0.3.7 Downloaded camino v1.1.9 Downloaded color-print v0.3.7 Downloaded write16 v1.0.0 Downloaded toml_datetime v0.6.8 Downloaded utf16_iter v1.0.5 Downloaded url v2.5.4 Downloaded toml_edit v0.19.15 Downloaded icu_properties v1.5.1 Downloaded toml v0.7.8 Downloaded idna v1.0.3 Downloaded icu_normalizer_data v1.5.0 Downloaded winnow v0.5.40 Downloaded icu_properties_data v1.5.0 Downloaded serde_spanned v0.6.8 Downloaded percent-encoding v2.3.1 Downloaded idna_adapter v1.2.0 Downloaded icu_normalizer v1.5.0 Downloaded icu_collections v1.5.0 Downloaded form_urlencoded v1.2.1 Downloaded utf8_iter v1.0.4 Downloaded rustc_tools_util v0.4.0 Downloaded quine-mc_cluskey v0.2.4 Downloaded cargo-platform v0.1.9 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling serde v1.0.217 Compiling stable_deref_trait v1.2.0 Compiling litemap v0.7.4 Compiling writeable v0.5.5 Compiling smallvec v1.13.2 Compiling icu_locid_transform_data v1.5.0 Compiling icu_properties_data v1.5.0 Compiling utf8_iter v1.0.4 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling icu_normalizer_data v1.5.0 Compiling write16 v1.0.0 Compiling utf16_iter v1.0.5 Compiling hashbrown v0.15.2 Compiling equivalent v1.0.1 Compiling winnow v0.5.40 Compiling camino v1.1.9 Compiling semver v1.0.24 Compiling thiserror v1.0.69 Compiling bitflags v2.6.0 Compiling either v1.13.0 Compiling serde_json v1.0.134 Compiling minimal-lexical v0.2.1 Compiling memchr v2.7.4 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling quote v1.0.38 Compiling itertools v0.12.1 Compiling indexmap v2.7.0 Compiling percent-encoding v2.3.1 Compiling syn v2.0.93 Compiling tinyvec_macros v0.1.1 Compiling arrayvec v0.7.6 Compiling itoa v1.0.14 Compiling ryu v1.0.18 Compiling nom v7.1.3 Compiling tinyvec v1.8.1 Compiling form_urlencoded v1.2.1 Compiling rustc_tools_util v0.4.0 Compiling utf8parse v0.2.2 Compiling clippy v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy) Compiling anstyle-parse v0.2.6 Compiling regex-syntax v0.8.5 Compiling anstyle-query v1.1.2 Compiling anstyle v1.0.10 Compiling unicode-normalization v0.1.24 Compiling quine-mc_cluskey v0.2.4 Compiling unicode-script v0.5.7 Compiling is_terminal_polyfill v1.70.1 Compiling colorchoice v1.0.3 Compiling anstream v0.6.18 Compiling termize v0.1.1 Compiling synstructure v0.13.1 Compiling zerofrom-derive v0.1.5 Compiling serde_derive v1.0.217 Compiling yoke-derive v0.7.5 Compiling zerovec-derive v0.10.3 Compiling displaydoc v0.2.5 Compiling icu_provider_macros v1.5.0 Compiling thiserror-impl v1.0.69 Compiling color-print-proc-macro v0.3.7 Compiling color-print v0.3.7 Compiling zerofrom v0.1.5 Compiling yoke v0.7.5 Compiling zerovec v0.10.4 Compiling tinystr v0.7.6 Compiling icu_collections v1.5.0 Compiling icu_locid v1.5.0 Compiling icu_provider v1.5.0 Compiling icu_locid_transform v1.5.0 Compiling icu_properties v1.5.1 Compiling serde_spanned v0.6.8 Compiling toml_datetime v0.6.8 Compiling clippy_utils v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_utils) Compiling toml_edit v0.19.15 Compiling cargo-platform v0.1.9 Compiling icu_normalizer v1.5.0 Compiling cargo_metadata v0.18.1 Compiling idna_adapter v1.2.0 Compiling idna v1.0.3 Compiling url v2.5.4 Compiling toml v0.7.8 Compiling clippy_config v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_config) Compiling clippy_lints v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_lints) Finished `release` profile [optimized] target(s) in 2m 49s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:02:55 xbstrap[2025-05-18 04:44:47.245440 sunset] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 90, 'status': 'success', 'subject': 'host-rust@clippy'} : install-tool host-rust@clippy [91/94] xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'clippy', '-j', '@PARALLELISM@'] (tools: ['host-python', 'host-libffi', 'system-gcc', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2130262 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.27s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.06s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.45s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.03s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.57s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Uplifting library (stage1 -> stage2) Uplifting rustc (stage1 -> stage3) Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.35s Building tool cargo-clippy (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.24s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings Finished `release` profile [optimized] target(s) in 0.27s Dist clippy-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.023 seconds Installing stage2 clippy (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'clippy-preview' clippy installed. There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:00:08 xbstrap[2025-05-18 04:44:56.880304 sunset] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 91, 'status': 'success', 'subject': 'host-rust@clippy'} : compile-tool host-rust@std [92/94] xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'std', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-python', 'host-libffi', 'system-gcc', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2130956 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.06s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.03s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.41s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.03s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.42s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Building stage2 library artifacts {std} (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu) -> aarch64-unknown-managarm-mlibc) Compiling compiler_builtins v0.1.140 Compiling core v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/core) Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling object v0.36.7 Compiling std v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling memchr v2.7.4 Compiling rustc-demangle v0.1.24 Compiling unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/unwind) Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling gimli v0.29.0 Compiling hashbrown v0.15.2 Compiling miniz_oxide v0.7.4 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling addr2line v0.22.0 Finished `release` profile [optimized] target(s) in 59.77s Uplifting library (stage1 -> stage2) There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:01:06 xbstrap[2025-05-18 04:46:03.390335 sunset] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 92, 'status': 'success', 'subject': 'host-rust@std'} : install-tool host-rust@std [93/94] xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'std', '-j', '@PARALLELISM@'] (tools: ['host-python', 'host-libffi', 'system-gcc', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2131867 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.06s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.04s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.41s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.07s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.37s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Building stage2 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu) -> aarch64-unknown-managarm-mlibc) Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 10.32s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings Finished `release` profile [optimized] target(s) in 0.22s Dist rust-std-1.85.1-dev-aarch64-unknown-managarm-mlibc finished in 0.110 seconds Installing stage2 std (aarch64-unknown-managarm-mlibc) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'rust-std-aarch64-unknown-managarm-mlibc' rust std installed. Uplifting library (stage1 -> stage2) Dist rust-std-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.122 seconds Installing stage2 std (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'rust-std-x86_64-unknown-linux-gnu' rust std installed. There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:00:23 xbstrap: archive-tool host-rust [94/94] [2025-05-18 04:46:27.541767 sunset] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 93, 'status': 'success', 'subject': 'host-rust@std'} [2025-05-18 04:47:26.141154 sunset] DEBUG: xbbs.worker: got notify {'action': 'archive-tool', 'architecture': 'noarch', 'artifact_files': [], 'n_all': 94, 'n_this': 94, 'status': 'success', 'subject': 'host-rust'} [2025-05-18 04:47:33.961173 sunset] DEBUG: xbbs.worker: successfully uploaded tool host-rust for JobMessage(project='managarm_aarch64', job='tool:host-rust', repository='https://github.com/managarm/bootstrap-managarm.git', revision='3c681cd888224addc0b8d1de1d57000b6afc14a6', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'libdrm-headers': {'architecture': 'aarch64', 'version': '2.4.124_1'}, 'frigg': {'architecture': 'aarch64', 'version': '0.0pl360_7'}, 'mlibc-headers': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}, 'linux-headers': {'architecture': 'aarch64', 'version': '6.12.8_2'}, 'mlibc': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}}, needed_tools={'system-gcc': {'architecture': 'aarch64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'aarch64'}, 'version': '3.10.12_1'}, 'cross-binutils': {'architecture': 'aarch64', 'version': '2.43.1_1'}, 'host-llvm-toolchain': {'architecture': {'aarch64'}, 'version': '19.1.7_1'}, 'host-libffi': {'architecture': 'aarch64', 'version': '3.4.4_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'aarch64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_aarch64/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/aarch64/') [2025-05-18 04:47:33.961719 sunset] INFO: xbbs.worker: job done. return code: 0