[2025-05-18 06:05:22.929481 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm', 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': 'x86_64', 'version': '2.4.124_1'}, 'linux-headers': {'architecture': 'x86_64', 'version': '6.12.8_2'}, 'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4468_1'}, 'frigg': {'architecture': 'x86_64', 'version': '0.0pl360_7'}, 'mlibc': {'architecture': 'x86_64', 'version': '0.0pl4468_1'}}, needed_tools={'host-llvm-toolchain': {'architecture': {'x86_64'}, 'version': '19.1.7_1'}, 'cross-binutils': {'architecture': 'x86_64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'x86_64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'x86_64'}, 'version': '3.10.12_1'}, 'host-libffi': {'architecture': 'x86_64', 'version': '3.4.4_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'x86_64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/x86_64/') [2025-05-18 06:05:22.929959 chopin] 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 06:05:22.939882 chopin] 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 06:05:22.947199 chopin] 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 06:05:23.954773 chopin] 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 06:05:24.001585 chopin] 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 06:05:28.209603 chopin] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'libdrm-headers', 'linux-headers', 'mlibc-headers', 'frigg', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm/package_repo/x86_64-repodata' ... x86_64-repodata: [9997B 40%] 195MB/s ETA: 00m00s x86_64-repodata: 9997B [avg rate: 477MB/s] 5 packages will be downloaded: 5 packages will be installed: libdrm-headers-2.4.124_1 linux-headers-6.12.8_2 mlibc-headers-0.0pl4468_1 frigg-0.0pl360_7 mlibc-0.0pl4468_1 Size to download: 8141KB Size required on disk: 31MB Space available on disk: 635GB [*] Downloading packages libdrm-headers-2.4.124_1.x86_64.xbps.sig2: [512B 100%] 33MB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps.sig2: 512B [avg rate: 33MB/s] libdrm-headers-2.4.124_1.x86_64.xbps: [120KB 3%] 95MB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps: 120KB [avg rate: 2865MB/s] libdrm-headers-2.4.124_1: verifying RSA signature... linux-headers-6.12.8_2.x86_64.xbps.sig2: [512B 100%] 33MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps.sig2: 512B [avg rate: 33MB/s] linux-headers-6.12.8_2.x86_64.xbps: [3121KB 0%] 186MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps: 3121KB [avg rate: 142GB/s] linux-headers-6.12.8_2: verifying RSA signature... mlibc-headers-0.0pl4468_1.x86_64.xbps.sig2: [512B 100%] 35MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.x86_64.xbps.sig2: 512B [avg rate: 35MB/s] mlibc-headers-0.0pl4468_1.x86_64.xbps: [99KB 4%] 244MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.x86_64.xbps: 99KB [avg rate: 6063MB/s] mlibc-headers-0.0pl4468_1: verifying RSA signature... frigg-0.0pl360_7.x86_64.xbps.sig2: [512B 100%] 33MB/s ETA: 00m00s frigg-0.0pl360_7.x86_64.xbps.sig2: 512B [avg rate: 33MB/s] frigg-0.0pl360_7.x86_64.xbps: [42KB 9%] 186MB/s ETA: 00m00s frigg-0.0pl360_7.x86_64.xbps: 42KB [avg rate: 1951MB/s] frigg-0.0pl360_7: verifying RSA signature... mlibc-0.0pl4468_1.x86_64.xbps.sig2: [512B 100%] 33MB/s ETA: 00m00s mlibc-0.0pl4468_1.x86_64.xbps.sig2: 512B [avg rate: 33MB/s] mlibc-0.0pl4468_1.x86_64.xbps: [4756KB 0%] 244MB/s ETA: 00m00s mlibc-0.0pl4468_1.x86_64.xbps: 4756KB [avg rate: 283GB/s] mlibc-0.0pl4468_1: verifying RSA signature... [*] Collecting package files libdrm-headers-2.4.124_1: collecting files... linux-headers-6.12.8_2: collecting files... mlibc-headers-0.0pl4468_1: collecting files... frigg-0.0pl360_7: collecting files... mlibc-0.0pl4468_1: collecting files... [*] Unpacking packages libdrm-headers-2.4.124_1: unpacking ... linux-headers-6.12.8_2: unpacking ... mlibc-headers-0.0pl4468_1: unpacking ... frigg-0.0pl360_7: unpacking ... mlibc-0.0pl4468_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-05-18 06:05:28.797406 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2025-05-18 06:05:28.797816 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.x86_64.xbps [2025-05-18 06:05:28.798227 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.124_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.124_1' (x86_64). index: 1 packages registered. [2025-05-18 06:05:28.813876 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4468_1.x86_64.xbps [2025-05-18 06:05:28.818730 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4468_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4468_1' (x86_64). index: 2 packages registered. [2025-05-18 06:05:28.838177 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl360_7.x86_64.xbps [2025-05-18 06:05:28.838706 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl360_7.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl360_7' (x86_64). index: 3 packages registered. [2025-05-18 06:05:28.853291 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.x86_64.xbps [2025-05-18 06:05:28.856703 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.12.8_2.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.12.8_2' (x86_64). index: 4 packages registered. [2025-05-18 06:05:28.873810 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4468_1.x86_64.xbps [2025-05-18 06:05:28.874303 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4468_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4468_1' (x86_64). index: 5 packages registered. [2025-05-18 06:05:42.569329 chopin] 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 06:05:53.710659 chopin] 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 06:05:56.348308 chopin] 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 06:05:57.253609 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 3, 'status': 'success', 'subject': 'rust'} [2025-05-18 06:05:57.254146 chopin] 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: checkout rust-backtrace [6/94] [2025-05-18 06:05:57.528345 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 5, 'status': 'success', 'subject': 'rust-backtrace'} HEAD is now at 99faef8 Bump to 0.3.69 (rust-lang/backtrace-rs#560) xbstrap: patch rust-backtrace [7/94] [2025-05-18 06:05:57.542166 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 6, 'status': 'success', 'subject': 'rust-backtrace'} Applying: managarm: use dl_iterate_phdr xbstrap: regenerate rust-backtrace [8/94] xbstrap: fetch rust-calloop [9/94] [2025-05-18 06:05:57.554151 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 7, 'status': 'success', 'subject': 'rust-backtrace'} [2025-05-18 06:05:57.554717 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 8, 'status': 'success', 'subject': 'rust-backtrace'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-calloop/.git/ 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 06:05:57.811592 chopin] 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 06:05:57.828791 chopin] 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] [2025-05-18 06:05:57.841663 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 11, 'status': 'success', 'subject': 'rust-calloop'} [2025-05-18 06:05:57.842308 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 12, 'status': 'success', 'subject': 'rust-calloop'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-cc/.git/ 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 06:05:58.131953 chopin] 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 06:05:58.145331 chopin] 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 06:05:58.162030 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 15, 'status': 'success', 'subject': 'rust-cc'} [2025-05-18 06:05:58.162646 chopin] 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: checkout rust-errno [18/94] [2025-05-18 06:05:58.372689 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 17, 'status': 'success', 'subject': 'rust-errno'} HEAD is now at 7450e3d Release 0.3.10 (#103) xbstrap: patch rust-errno [19/94] [2025-05-18 06:05:58.381481 chopin] 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 06:05:58.391006 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 19, 'status': 'success', 'subject': 'rust-errno'} [2025-05-18 06:05:58.391613 chopin] 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 06:05:58.630312 chopin] 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 06:05:58.641944 chopin] 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 06:05:58.654081 chopin] 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 06:05:58.654744 chopin] 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 06:05:58.888915 chopin] 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 06:05:58.901191 chopin] 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: regenerate rust-getrandom-0.3 [28/94] xbstrap: fetch rust-glutin [29/94] [2025-05-18 06:05:58.911955 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 27, 'status': 'success', 'subject': 'rust-getrandom-0.3'} [2025-05-18 06:05:58.912546 chopin] 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: checkout rust-glutin [30/94] [2025-05-18 06:05:59.170891 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 29, 'status': 'success', 'subject': 'rust-glutin'} HEAD is now at 2f8bdfc Glutin version v0.29.1 xbstrap: patch rust-glutin [31/94] [2025-05-18 06:05:59.184200 chopin] 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 06:05:59.207607 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 31, 'status': 'success', 'subject': 'rust-glutin'} [2025-05-18 06:05:59.208202 chopin] 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 06:05:59.705078 chopin] 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 06:05:59.751410 chopin] 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 06:05:59.816561 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 35, 'status': 'success', 'subject': 'rust-libc'} [2025-05-18 06:05:59.817202 chopin] 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: checkout rust-libloading [38/94] [2025-05-18 06:06:00.049588 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 37, 'status': 'success', 'subject': 'rust-libloading'} HEAD is now at 6e28498 Fix CI xbstrap: patch rust-libloading [39/94] [2025-05-18 06:06:00.063038 chopin] 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: regenerate rust-libloading [40/94] xbstrap: fetch rust-mio-0.6 [41/94] [2025-05-18 06:06:00.076433 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 39, 'status': 'success', 'subject': 'rust-libloading'} [2025-05-18 06:06:00.077078 chopin] 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 06:06:00.361500 chopin] 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 06:06:00.379787 chopin] 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] xbstrap: fetch rust-mio-0.8 [45/94] [2025-05-18 06:06:00.396190 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 43, 'status': 'success', 'subject': 'rust-mio-0.6'} [2025-05-18 06:06:00.396857 chopin] 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 06:06:00.664664 chopin] 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 06:06:00.679305 chopin] 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 06:06:00.693921 chopin] 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 06:06:00.694559 chopin] 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 06:06:00.962350 chopin] 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 06:06:00.978078 chopin] 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: regenerate rust-mio-1.0 [52/94] xbstrap: fetch rust-nix [53/94] [2025-05-18 06:06:00.991427 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 51, 'status': 'success', 'subject': 'rust-mio-1.0'} [2025-05-18 06:06:00.992051 chopin] 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 06:06:01.300222 chopin] 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 06:06:01.317338 chopin] 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 06:06:01.348510 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 55, 'status': 'success', 'subject': 'rust-nix'} [2025-05-18 06:06:01.349153 chopin] 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 06:06:01.592406 chopin] 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 06:06:01.603270 chopin] 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] [2025-05-18 06:06:01.614972 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 59, 'status': 'success', 'subject': 'rust-num-cpus'} xbstrap: checkout rust-patched-libs [62/94] xbstrap: patch rust-patched-libs [63/94] [2025-05-18 06:06:01.615648 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 60, 'status': 'success', 'subject': 'rust-num-cpus'} xbstrap: fetch rust-rustix [64/94] [2025-05-18 06:06:01.616123 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 61, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-05-18 06:06:01.616593 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 62, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-05-18 06:06:01.617064 chopin] 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 06:06:01.983274 chopin] 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 06:06:02.024485 chopin] 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 06:06:02.045499 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 66, 'status': 'success', 'subject': 'rust-rustix'} [2025-05-18 06:06:02.046326 chopin] 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 06:06:02.242871 chopin] 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 06:06:02.253400 chopin] 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: regenerate rust-shared-library [71/94] xbstrap: fetch rust-users [72/94] [2025-05-18 06:06:02.265282 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 70, 'status': 'success', 'subject': 'rust-shared-library'} [2025-05-18 06:06:02.265963 chopin] 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 06:06:02.494389 chopin] 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 06:06:02.504165 chopin] 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 06:06:02.515969 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 74, 'status': 'success', 'subject': 'rust-users'} [2025-05-18 06:06:02.516635 chopin] 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 06:06:02.745691 chopin] 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: patch rust-uzers [78/94] [2025-05-18 06:06:02.756864 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 77, 'status': 'success', 'subject': 'rust-uzers'} Applying: Add Managarm support xbstrap: regenerate rust-uzers [79/94] xbstrap: fetch rust-winit [80/94] [2025-05-18 06:06:02.768506 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 78, 'status': 'success', 'subject': 'rust-uzers'} [2025-05-18 06:06:02.769118 chopin] 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 xbstrap: checkout rust-winit [81/94] [2025-05-18 06:06:03.111535 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 80, 'status': 'success', 'subject': 'rust-winit'} HEAD is now at bbdcb79 Release 0.27.5 version xbstrap: patch rust-winit [82/94] [2025-05-18 06:06:03.132683 chopin] 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 06:06:03.160490 chopin] 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] [2025-05-18 06:06:03.161053 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 83, 'status': 'success', 'subject': 'rust-winit'} xbstrap: compile-tool host-rust@config [86/94] [2025-05-18 06:06:03.161597 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 84, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-05-18 06:06:03.162054 chopin] 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: ['system-gcc', 'host-libffi', 'host-python', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2777968 (outside the namespace) xbstrap: install-tool host-rust@config [87/94] xbstrap: compile-tool host-rust@compiler [88/94] [2025-05-18 06:06:03.326844 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 86, 'status': 'success', 'subject': 'host-rust@config'} [2025-05-18 06:06:03.327578 chopin] 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: ['system-gcc', 'host-libffi', 'host-python', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2777974 (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 0.2% ######### 13.4% ####################### 33.1% ############################################## 65.0% ############################################################### 87.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 0.1% #### 6.5% ######### 13.2% ################ 23.6% ################### 27.1% ########################### 37.5% ################################## 47.9% ######################################### 57.8% ################################################# 68.1% ######################################################## 78.5% ################################################################ 88.9% ####################################################################### 99.6% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz 0.4% ########################## 37.3% ######################################################################## 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 cfg-if v1.0.0 Downloaded anstyle v1.0.10 Downloaded block-buffer v0.10.4 Downloaded bitflags v2.6.0 Downloaded version_check v0.9.5 Downloaded xattr v1.3.1 Downloaded opener v0.5.2 Downloaded fd-lock v4.0.2 Downloaded termcolor v1.4.1 Downloaded cpufeatures v0.2.15 Downloaded semver v1.0.23 Downloaded quote v1.0.37 Downloaded walkdir v2.5.0 Downloaded xz2 v0.1.7 Downloaded typenum v1.17.0 Downloaded serde v1.0.215 Downloaded memchr v2.7.4 Downloaded cc v1.1.22 Downloaded clap_builder v4.5.20 Downloaded tar v0.4.43 Downloaded serde_json v1.0.132 Downloaded aho-corasick v1.1.3 Downloaded ignore v0.4.23 Downloaded crossbeam-epoch v0.9.18 Downloaded clap v4.5.20 Downloaded syn v2.0.87 Downloaded unicode-ident v1.0.13 Downloaded toml v0.5.11 Downloaded object v0.36.5 Downloaded bstr v1.10.0 Downloaded rustix v0.38.40 Downloaded regex-syntax v0.8.5 Downloaded serde_derive v1.0.215 Downloaded ryu v1.0.18 Downloaded proc-macro2 v1.0.89 Downloaded log v0.4.22 Downloaded crossbeam-utils v0.8.20 Downloaded clap_complete v4.5.37 Downloaded itoa v1.0.11 Downloaded clap_derive v4.5.18 Downloaded globset v0.4.15 Downloaded sha2 v0.10.8 Downloaded pkg-config v0.3.31 Downloaded regex-automata v0.4.9 Downloaded filetime v0.2.25 Downloaded crossbeam-deque v0.8.5 Downloaded cmake v0.1.48 Downloaded shlex v1.3.0 Downloaded same-file v1.0.6 Downloaded home v0.5.9 Downloaded heck v0.5.0 Downloaded libc v0.2.167 Downloaded lzma-sys v0.1.20 Downloaded generic-array v0.14.7 Downloaded errno v0.3.9 Downloaded digest v0.10.7 Downloaded crypto-common v0.1.6 Downloaded clap_lex v0.7.2 Downloaded linux-raw-sys v0.4.14 Compiling proc-macro2 v1.0.89 Compiling memchr v2.7.4 Compiling unicode-ident v1.0.13 Compiling typenum v1.17.0 Compiling version_check v0.9.5 Compiling libc v0.2.167 Compiling shlex v1.3.0 Compiling rustix v0.38.40 Compiling regex-syntax v0.8.5 Compiling crossbeam-utils v0.8.20 Compiling serde v1.0.215 Compiling cfg-if v1.0.0 Compiling pkg-config v0.3.31 Compiling linux-raw-sys v0.4.14 Compiling cc v1.1.22 Compiling bitflags v2.6.0 Compiling generic-array v0.14.7 Compiling anstyle v1.0.10 Compiling heck v0.5.0 Compiling aho-corasick v1.1.3 Compiling clap_lex v0.7.2 Compiling semver v1.0.23 Compiling quote v1.0.37 Compiling clap_builder v4.5.20 Compiling crossbeam-epoch v0.9.18 Compiling serde_json v1.0.132 Compiling syn v2.0.87 Compiling log v0.4.22 Compiling same-file v1.0.6 Compiling crossbeam-deque v0.8.5 Compiling walkdir v2.5.0 Compiling filetime v0.2.25 Compiling cpufeatures v0.2.15 Compiling itoa v1.0.11 Compiling ryu v1.0.18 Compiling bootstrap v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/bootstrap) Compiling cmake v0.1.48 Compiling object v0.36.5 Compiling termcolor v1.4.1 Compiling lzma-sys v0.1.20 Compiling home v0.5.9 Compiling block-buffer v0.10.4 Compiling regex-automata v0.4.9 Compiling crypto-common v0.1.6 Compiling digest v0.10.7 Compiling xz2 v0.1.7 Compiling sha2 v0.10.8 Compiling xattr v1.3.1 Compiling fd-lock v4.0.2 Compiling tar v0.4.43 Compiling toml v0.5.11 Compiling clap_derive v4.5.18 Compiling serde_derive v1.0.215 Compiling bstr v1.10.0 Compiling globset v0.4.15 Compiling opener v0.5.2 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 18.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 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) 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) remote: Total 147 (delta 6), reused 90 (delta 4), pack-reused 0 (from 0) 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 | 5.43 MiB/s, done. Resolving deltas: 0% (0/6) Resolving deltas: 16% (1/6) Resolving deltas: 33% (2/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 | 5.19 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: 19% (11/57) Resolving deltas: 22% (13/57) Resolving deltas: 24% (14/57) Resolving deltas: 28% (16/57) Resolving deltas: 31% (18/57) Resolving deltas: 35% (20/57) Resolving deltas: 36% (21/57) Resolving deltas: 38% (22/57) Resolving deltas: 40% (23/57) Resolving deltas: 42% (24/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: 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: 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: 85% (49/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 allocator-api2 v0.2.21 Downloaded getopts v0.2.21 Downloaded addr2line v0.22.0 Downloaded rustc-demangle v0.1.24 Downloaded miniz_oxide v0.7.4 Downloaded hashbrown v0.15.2 Downloaded compiler_builtins v0.1.140 Downloaded unicode-width v0.1.14 Downloaded gimli v0.29.0 Downloaded object v0.36.7 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 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: `libc` (lib) generated 3 warnings 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 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 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 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 25.53s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Updating crates.io index Downloading crates ... Downloaded adler2 v2.0.0 Downloaded autocfg v1.4.0 Downloaded ahash v0.8.11 Downloaded arrayvec v0.7.6 Downloaded arrayref v0.3.9 Downloaded annotate-snippets v0.11.5 Downloaded darling_macro v0.20.10 Downloaded ar_archive_writer v0.4.2 Downloaded ident_case v1.0.1 Downloaded icu_provider_macros v1.5.0 Downloaded equivalent v1.0.1 Downloaded matchers v0.1.0 Downloaded punycode v0.4.1 Downloaded num-conv v0.1.0 Downloaded pulldown-cmark-escape v0.11.0 Downloaded cfg_aliases v0.2.1 Downloaded fallible-iterator v0.3.0 Downloaded self_cell v0.10.3 Downloaded icu_provider_adapters v1.5.0 Downloaded rand_xoshiro v0.6.0 Downloaded scoped-tls v1.0.1 Downloaded libloading v0.8.6 Downloaded time-core v0.1.2 Downloaded unic-langid-macros v0.9.5 Downloaded zerofrom v0.1.5 Downloaded sha1 v0.10.6 Downloaded tinyvec_macros v0.1.1 Downloaded flate2 v1.0.35 Downloaded zerofrom-derive v0.1.5 Downloaded tinystr v0.7.6 Downloaded yoke-derive v0.7.5 Downloaded rustc_version v0.4.1 Downloaded rustc-hash v2.1.1 Downloaded termize v0.1.1 Downloaded stacker v0.1.17 Downloaded zerovec-derive v0.10.3 Downloaded rustc-stable-hash v0.1.1 Downloaded zerocopy-derive v0.7.35 Downloaded ruzstd v0.7.3 Downloaded rustc-rayon-core v0.5.0 Downloaded unic-langid-impl v0.9.5 Downloaded tracing v0.1.37 Downloaded unicode-normalization v0.1.24 Downloaded zerovec v0.10.4 Downloaded rustc-rayon v0.5.0 Downloaded regex-syntax v0.6.29 Downloaded tracing-subscriber v0.3.18 Downloaded wasmparser v0.219.1 Downloaded wasmparser v0.222.0 Downloaded unicode-width v0.2.0 Downloaded syn v2.0.93 Downloaded zerocopy v0.7.35 Downloaded time v0.3.37 Downloaded serde_json v1.0.134 Downloaded rustix v0.38.42 Downloaded unicode-security v0.1.2 Downloaded tracing-core v0.1.30 Downloaded serde v1.0.217 Downloaded nix v0.29.0 Downloaded wasm-encoder v0.219.1 Downloaded unicode-script v0.5.7 Downloaded sharded-slab v0.1.7 Downloaded regex-automata v0.2.0 Downloaded unicode-properties v0.1.3 Downloaded unicode-ident v1.0.14 Downloaded tinyvec v1.8.1 Downloaded tempfile v3.14.0 Downloaded smallvec v1.13.2 Downloaded serde_derive v1.0.217 Downloaded gimli v0.30.0 Downloaded yoke v0.7.5 Downloaded tracing-tree v0.3.1 Downloaded tracing-attributes v0.1.28 Downloaded time-macros v0.2.19 Downloaded thiserror-impl v1.0.69 Downloaded thin-vec v0.2.13 Downloaded semver v1.0.24 Downloaded writeable v0.5.5 Downloaded unicode-xid v0.2.6 Downloaded unicase v2.8.1 Downloaded regex v1.11.1 Downloaded unic-langid v0.9.5 Downloaded thiserror v1.0.69 Downloaded thorin-dwp v0.8.0 Downloaded synstructure v0.13.1 Downloaded strsim v0.11.1 Downloaded static_assertions v1.1.0 Downloaded pulldown-cmark v0.11.3 Downloaded itertools v0.12.1 Downloaded hashbrown v0.14.5 Downloaded unic-langid-macros-impl v0.9.5 Downloaded type-map v0.5.0 Downloaded twox-hash v1.6.3 Downloaded tracing-log v0.2.0 Downloaded thread_local v1.1.8 Downloaded stable_deref_trait v1.2.0 Downloaded regex-automata v0.1.10 Downloaded blake3 v1.5.5 Downloaded crossbeam-channel v0.5.14 Downloaded cc v1.2.6 Downloaded rustc_apfloat v0.2.2+llvm-462a31f5a5ab Downloaded darling_core v0.20.10 Downloaded scopeguard v1.2.0 Downloaded rand v0.8.5 Downloaded indexmap v2.7.0 Downloaded self_cell v1.1.0 Downloaded proc-macro2 v1.0.92 Downloaded miniz_oxide v0.8.2 Downloaded quote v1.0.38 Downloaded parking_lot v0.12.3 Downloaded lock_api v0.4.12 Downloaded icu_locid_transform_data v1.5.0 Downloaded icu_locid v1.5.0 Downloaded fluent-bundle v0.15.3 Downloaded derive-where v1.2.7 Downloaded crossbeam-utils v0.8.21 Downloaded powerfmt v0.2.0 Downloaded pin-project-lite v0.2.15 Downloaded parking_lot_core v0.9.10 Downloaded once_cell v1.20.2 Downloaded num_cpus v1.16.0 Downloaded nu-ansi-term v0.50.1 Downloaded nu-ansi-term v0.46.0 Downloaded memmap2 v0.2.3 Downloaded measureme v11.0.1 Downloaded litemap v0.7.4 Downloaded jobserver v0.1.32 Downloaded icu_provider v1.5.0 Downloaded icu_locid_transform v1.5.0 Downloaded getrandom v0.2.15 Downloaded fluent-syntax v0.11.1 Downloaded fastrand v2.3.0 Downloaded displaydoc v0.2.5 Downloaded datafrog v2.0.1 Downloaded darling v0.20.10 Downloaded crc32fast v1.4.2 Downloaded rustc-hash v1.1.0 Downloaded rand_chacha v0.3.1 Downloaded proc-macro-hack v0.5.20+deprecated Downloaded polonius-engine v0.13.0 Downloaded perf-event-open-sys v3.0.0 Downloaded odht v0.3.1 Downloaded md-5 v0.10.6 Downloaded lazy_static v1.5.0 Downloaded itoa v1.0.14 Downloaded intl_pluralrules v7.0.2 Downloaded gsgdt v0.1.2 Downloaded foldhash v0.1.4 Downloaded cpufeatures v0.2.16 Downloaded rand_core v0.6.4 Downloaded psm v0.1.24 Downloaded ppv-lite86 v0.2.20 Downloaded overload v0.1.1 Downloaded memoffset v0.9.1 Downloaded leb128 v0.2.5 Downloaded intl-memoizer v0.5.2 Downloaded icu_list v1.5.0 Downloaded fnv v1.0.7 Downloaded fluent-langneg v0.13.0 Downloaded field-offset v0.3.6 Downloaded elsa v1.7.1 Downloaded ctrlc v3.4.5 Downloaded constant_time_eq v0.3.1 Downloaded icu_list_data v1.5.0 Downloaded errno v0.3.10 Downloaded ena v0.14.3 Downloaded deranged v0.3.11 Downloaded crossbeam-deque v0.8.6 Downloaded either v1.13.0 Downloaded derive_setters v0.1.6 Downloaded byteorder v1.5.0 Downloaded pathdiff v0.2.3 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 bitflags v2.6.0 Compiling either v1.13.0 Compiling foldhash v0.1.4 Compiling memchr v2.7.4 Compiling cc v1.2.6 Compiling hashbrown v0.15.2 Compiling typenum v1.17.0 Compiling equivalent v1.0.1 Compiling generic-array v0.14.7 Compiling parking_lot_core v0.9.10 Compiling tracing-core v0.1.30 Compiling lock_api v0.4.12 Compiling scopeguard v1.2.0 Compiling log v0.4.22 Compiling rustc-hash v1.1.0 Compiling pin-project-lite v0.2.15 Compiling proc-macro-hack v0.5.20+deprecated Compiling rustc_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_macros) 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 thin-vec v0.2.13 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.38 Compiling crossbeam-channel v0.5.14 Compiling syn v2.0.93 Compiling crossbeam-deque v0.8.6 Compiling rustix v0.38.42 Compiling linux-raw-sys v0.4.14 Compiling byteorder v1.5.0 Compiling cpufeatures v0.2.16 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 Compiling arrayvec v0.7.6 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 Compiling itoa v1.0.14 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 fastrand v2.3.0 Compiling ena v0.14.3 Compiling rustc_arena v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_arena) 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 Compiling elsa v1.7.1 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 rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling scoped-tls v1.0.1 Compiling rustc-hash v2.1.1 Compiling rustc-stable-hash v0.1.1 Compiling constant_time_eq v0.3.1 Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling unicode-width v0.2.0 Compiling arrayref v0.3.9 Compiling thiserror v1.0.69 Compiling serde v1.0.217 Compiling static_assertions v1.1.0 Compiling wasmparser v0.222.0 Compiling adler2 v2.0.0 Compiling num_cpus v1.16.0 Compiling perf-event-open-sys v3.0.0 Compiling memmap2 v0.2.3 Compiling getrandom v0.2.15 Compiling crypto-common v0.1.6 Compiling rustc-rayon-core v0.5.0 Compiling block-buffer v0.10.4 Compiling parking_lot v0.12.3 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 digest v0.10.7 Compiling jobserver v0.1.32 Compiling rand_core v0.6.4 Compiling miniz_oxide v0.8.2 Compiling crc32fast v1.4.2 Compiling measureme v11.0.1 Compiling sha1 v0.10.6 Compiling sha2 v0.10.8 Compiling md-5 v0.10.6 Compiling litemap v0.7.4 Compiling object v0.36.7 Compiling rustc-rayon v0.5.0 Compiling serde_json v1.0.134 Compiling writeable v0.5.5 Compiling flate2 v1.0.35 Compiling unicode-xid v0.2.6 Compiling unicode-properties v0.1.3 Compiling tempfile v3.14.0 Compiling ryu v1.0.18 Compiling rustc_lexer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lexer) Compiling icu_locid_transform_data v1.5.0 Compiling rand_xoshiro v0.6.0 Compiling regex-automata v0.2.0 Compiling type-map v0.5.0 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) Compiling ident_case v1.0.1 Compiling self_cell v1.1.0 Compiling icu_list_data v1.5.0 Compiling strsim v0.11.1 Compiling fnv v1.0.7 Compiling self_cell v0.10.3 Compiling odht v0.3.1 Compiling itertools v0.12.1 Compiling anstyle v1.0.10 Compiling termize v0.1.1 Compiling rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) Compiling annotate-snippets v0.11.5 Compiling termcolor v1.4.1 Compiling unicode-width v0.1.14 Compiling semver v1.0.24 Compiling synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling getopts v0.2.21 Compiling memoffset v0.9.1 Compiling indexmap v2.7.0 Compiling rustc_version v0.4.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling datafrog v2.0.1 Compiling field-offset v0.3.6 Compiling tinyvec_macros v0.1.1 Compiling aho-corasick v1.1.3 Compiling tinyvec v1.8.1 Compiling polonius-engine v0.13.0 Compiling regex-syntax v0.8.5 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling ahash v0.8.11 Compiling unicode-script v0.5.7 Compiling libloading v0.8.6 Compiling allocator-api2 v0.2.21 Compiling regex-syntax v0.6.29 Compiling gimli v0.30.0 Compiling unicode-normalization v0.1.24 Compiling rustc_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_llvm) 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 rustc_index_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index_macros) Compiling unic-langid-impl v0.9.5 Compiling zerocopy-derive v0.7.35 Compiling unic-langid-macros-impl v0.9.5 Compiling tracing v0.1.37 Compiling zerofrom v0.1.5 Compiling derive-where v1.2.7 Compiling yoke v0.7.5 Compiling serde_derive v1.0.217 Compiling thiserror-impl v1.0.69 Compiling zerovec v0.10.4 Compiling icu_provider_macros v1.5.0 Compiling unic-langid-macros v0.9.5 Compiling unic-langid v0.9.5 Compiling zerocopy v0.7.35 Compiling fluent-langneg v0.13.0 Compiling intl-memoizer v0.5.2 Compiling intl_pluralrules v7.0.2 Compiling darling_macro v0.20.10 Compiling ppv-lite86 v0.2.20 Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling rand_chacha v0.3.1 Compiling fluent-syntax v0.11.1 Compiling icu_locid v1.5.0 Compiling rand v0.8.5 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling icu_provider v1.5.0 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling twox-hash v1.6.3 Compiling icu_locid_transform v1.5.0 Compiling ruzstd v0.7.3 Compiling fluent-bundle v0.15.3 Compiling icu_list v1.5.0 Compiling rustc_span v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_span) 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 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 rustc_parse_format v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse_format) Compiling regex-automata v0.4.9 Compiling unicode-security v0.1.2 Compiling hashbrown v0.14.5 Compiling regex-automata v0.1.10 Compiling lazy_static v1.5.0 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 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 leb128 v0.2.5 Compiling gsgdt v0.1.2 Compiling overload v0.1.1 Compiling pulldown-cmark v0.11.3 Compiling rustc-demangle v0.1.24 Compiling cfg_aliases v0.2.1 Compiling punycode v0.4.1 Compiling nix v0.29.0 Compiling nu-ansi-term v0.46.0 Compiling matchers v0.1.0 Compiling wasm-encoder v0.219.1 Compiling rustc_feature v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_feature) Compiling rustc_abi v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_abi) Compiling rustc_ast_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_pretty) Compiling rustc_next_trait_solver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_next_trait_solver) Compiling regex v1.11.1 Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling ar_archive_writer v0.4.2 Compiling thorin-dwp v0.8.0 Compiling sharded-slab v0.1.7 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 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 num-conv v0.1.0 Compiling time-core v0.1.2 Compiling powerfmt v0.2.0 Compiling nu-ansi-term v0.50.1 Compiling deranged v0.3.11 Compiling time-macros v0.2.19 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 tracing-tree v0.3.1 Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) 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_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling time v0.3.37 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 ctrlc v3.4.5 Compiling rustc_session v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_session) 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_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Compiling rustc_middle v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_builtin_macros) Compiling rustc_infer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_infer) Compiling rustc_mir_dataflow v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_dataflow) Compiling rustc_metadata v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_metadata) 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_monomorphize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_monomorphize) 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_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) 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_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_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) 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_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_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_passes) Compiling rustc_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) 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 2m 38s 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 memchr v2.7.4 Compiling adler v1.0.2 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 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 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 39.44s 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 shlex v1.3.0 Compiling version_check v0.9.5 Compiling autocfg v1.4.0 Compiling smallvec v1.13.2 Compiling once_cell v1.20.2 Compiling bitflags v2.6.0 Compiling either v1.13.0 Compiling memchr v2.7.4 Compiling foldhash v0.1.4 Compiling cc v1.2.6 Compiling hashbrown v0.15.2 Compiling equivalent v1.0.1 Compiling typenum v1.17.0 Compiling generic-array v0.14.7 Compiling parking_lot_core v0.9.10 Compiling tracing-core v0.1.30 Compiling log v0.4.22 Compiling scopeguard v1.2.0 Compiling rustc-hash v1.1.0 Compiling lock_api v0.4.12 Compiling pin-project-lite v0.2.15 Compiling proc-macro-hack v0.5.20+deprecated Compiling rustc_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_macros) 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 rustix v0.38.42 Compiling thin-vec v0.2.13 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.14 Compiling quote v1.0.38 Compiling crossbeam-deque v0.8.6 Compiling syn v2.0.93 Compiling byteorder v1.5.0 Compiling linux-raw-sys v0.4.14 Compiling cpufeatures v0.2.16 Compiling fastrand v2.3.0 Compiling itoa v1.0.14 Compiling arrayvec v0.7.6 Compiling ena v0.14.3 Compiling rustc_arena v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_arena) 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 Compiling elsa v1.7.1 Compiling arrayref v0.3.9 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 rustc-stable-hash v0.1.1 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling unicode-width v0.2.0 Compiling constant_time_eq v0.3.1 Compiling rustc-hash v2.1.1 Compiling scoped-tls v1.0.1 Compiling thiserror v1.0.69 Compiling serde v1.0.217 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 Compiling wasmparser v0.222.0 Compiling static_assertions v1.1.0 Compiling adler2 v2.0.0 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 crc32fast v1.4.2 Compiling miniz_oxide v0.8.2 Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling litemap v0.7.4 Compiling writeable v0.5.5 Compiling serde_json v1.0.134 Compiling object v0.36.7 Compiling unicode-xid v0.2.6 Compiling ryu v1.0.18 Compiling unicode-properties v0.1.3 Compiling icu_locid_transform_data v1.5.0 Compiling regex-automata v0.2.0 Compiling num_cpus v1.16.0 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling rustc-rayon-core v0.5.0 Compiling parking_lot v0.12.3 Compiling digest v0.10.7 Compiling perf-event-open-sys v3.0.0 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 memmap2 v0.2.3 Compiling getrandom v0.2.15 Compiling jobserver v0.1.32 Compiling measureme v11.0.1 Compiling rand_core v0.6.4 Compiling md-5 v0.10.6 Compiling sha1 v0.10.6 Compiling sha2 v0.10.8 Compiling rustc-rayon v0.5.0 Compiling flate2 v1.0.35 Compiling rustc_lexer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lexer) Compiling rand_xoshiro v0.6.0 Compiling type-map v0.5.0 Compiling tempfile v3.14.0 Compiling self_cell v1.1.0 Compiling icu_list_data v1.5.0 Compiling ident_case v1.0.1 Compiling fnv v1.0.7 Compiling strsim v0.11.1 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) Compiling self_cell v0.10.3 Compiling odht v0.3.1 Compiling itertools v0.12.1 Compiling anstyle v1.0.10 Compiling termize v0.1.1 Compiling termcolor v1.4.1 Compiling unicode-width v0.1.14 Compiling annotate-snippets v0.11.5 Compiling rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) Compiling semver v1.0.24 Compiling getopts v0.2.21 Compiling memoffset v0.9.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling rustc_version v0.4.1 Compiling datafrog v2.0.1 Compiling field-offset v0.3.6 Compiling tinyvec_macros v0.1.1 Compiling polonius-engine v0.13.0 Compiling tinyvec v1.8.1 Compiling aho-corasick v1.1.3 Compiling indexmap v2.7.0 Compiling regex-syntax v0.8.5 Compiling ahash v0.8.11 Compiling unicode-script v0.5.7 Compiling libloading v0.8.6 Compiling regex-syntax v0.6.29 Compiling allocator-api2 v0.2.21 Compiling rustc_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_llvm) Compiling unicode-normalization v0.1.24 Compiling overload v0.1.1 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling gimli v0.30.0 Compiling leb128 v0.2.5 Compiling cfg_aliases v0.2.1 Compiling punycode v0.4.1 Compiling rustc-demangle v0.1.24 Compiling unicode-security v0.1.2 Compiling pulldown-cmark v0.11.3 Compiling displaydoc v0.2.5 Compiling zerofrom-derive v0.1.5 Compiling tracing-attributes v0.1.28 Compiling yoke-derive v0.7.5 Compiling tinystr v0.7.6 Compiling zerovec-derive v0.10.3 Compiling unic-langid-impl v0.9.5 Compiling rustc_index_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index_macros) Compiling zerocopy-derive v0.7.35 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 thiserror-impl v1.0.69 Compiling tracing v0.1.37 Compiling yoke v0.7.5 Compiling icu_provider_macros v1.5.0 Compiling zerocopy v0.7.35 Compiling zerovec v0.10.4 Compiling unic-langid-macros v0.9.5 Compiling unic-langid v0.9.5 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.2 Compiling intl-memoizer v0.5.2 Compiling darling_macro v0.20.10 Compiling ppv-lite86 v0.2.20 Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling regex-automata v0.4.9 Compiling fluent-syntax v0.11.1 Compiling rand_chacha v0.3.1 Compiling fluent-bundle v0.15.3 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling rand v0.8.5 Compiling icu_locid v1.5.0 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling twox-hash v1.6.3 Compiling icu_provider v1.5.0 Compiling ruzstd v0.7.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 icu_list v1.5.0 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 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 rustc_parse_format v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse_format) Compiling regex v1.11.1 Compiling regex-automata v0.1.10 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 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 hashbrown v0.14.5 Compiling lazy_static v1.5.0 Compiling sharded-slab v0.1.7 Compiling gsgdt v0.1.2 Compiling matchers v0.1.0 Compiling nix v0.29.0 Compiling wasm-encoder v0.219.1 Compiling nu-ansi-term v0.46.0 Compiling rustc_feature v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_feature) Compiling rustc_abi v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_abi) Compiling rustc_ast_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_pretty) Compiling rustc_next_trait_solver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_next_trait_solver) Compiling ar_archive_writer v0.4.2 Compiling thorin-dwp v0.8.0 Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling thread_local v1.1.8 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 pulldown-cmark-escape v0.11.0 Compiling pathdiff v0.2.3 Compiling unicase v2.8.1 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling num-conv v0.1.0 Compiling powerfmt v0.2.0 Compiling time-core v0.1.2 Compiling nu-ansi-term v0.50.1 Compiling time-macros v0.2.19 Compiling deranged v0.3.11 Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling tracing-tree v0.3.1 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 rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling time v0.3.37 Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling ctrlc v3.4.5 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 rustc_session v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_session) warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) 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_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) 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 rustc_ast_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_builtin_macros) 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_pattern_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_pattern_analysis) 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_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_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) 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_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_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) 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_codegen_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) Compiling rustc_const_eval v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_const_eval) Compiling rustc_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) 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_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) 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 3m 52s 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:08:16 xbstrap: install-tool host-rust@compiler [89/94] [2025-05-18 06:14:20.427250 chopin] 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: ['system-gcc', 'host-libffi', 'host-python', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2793116 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.05s 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.25s 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.26s 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_guess v2.0.5 Downloaded threadpool v1.8.1 Downloaded mime v0.3.17 Downloaded rinja v0.3.5 Downloaded basic-toml v0.1.9 Downloaded rinja_parser v0.3.5 Downloaded minifier v0.3.2 Downloaded pulldown-cmark v0.9.6 Downloaded nom v7.1.3 Downloaded unicode-segmentation v1.12.0 Downloaded minimal-lexical v0.2.1 Downloaded rinja_derive v0.3.5 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling serde v1.0.217 Compiling typenum v1.17.0 Compiling version_check v0.9.5 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling memchr v2.7.4 Compiling once_cell v1.20.2 Compiling cfg-if v1.0.0 Compiling autocfg v1.4.0 Compiling unicase v2.8.1 Compiling parking_lot_core v0.9.10 Compiling minimal-lexical v0.2.1 Compiling scopeguard v1.2.0 Compiling mime_guess v2.0.5 Compiling tracing-core v0.1.30 Compiling regex-syntax v0.6.29 Compiling regex-syntax v0.8.5 Compiling smallvec v1.13.2 Compiling generic-array v0.14.7 Compiling lock_api v0.4.12 Compiling mime v0.3.17 Compiling rustix v0.38.42 Compiling aho-corasick v1.1.3 Compiling quote v1.0.38 Compiling nom v7.1.3 Compiling cpufeatures v0.2.16 Compiling bitflags v2.6.0 Compiling syn v2.0.93 Compiling pin-project-lite v0.2.15 Compiling overload v0.1.1 Compiling lazy_static v1.5.0 Compiling sharded-slab v0.1.7 Compiling nu-ansi-term v0.46.0 Compiling parking_lot v0.12.3 Compiling thread_local v1.1.8 Compiling linux-raw-sys v0.4.14 Compiling serde_json v1.0.134 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling itoa v1.0.14 Compiling rustc-hash v2.1.1 Compiling pulldown-cmark v0.9.6 Compiling digest v0.10.7 Compiling log v0.4.22 Compiling num_cpus v1.16.0 Compiling either v1.13.0 Compiling fastrand v2.3.0 Compiling sha2 v0.10.8 Compiling regex-automata v0.1.10 Compiling tracing-log v0.2.0 Compiling equivalent v1.0.1 Compiling hashbrown v0.15.2 Compiling rustdoc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/librustdoc) Compiling nu-ansi-term v0.50.1 Compiling ryu v1.0.18 Compiling regex-automata v0.4.9 Compiling itertools v0.12.1 Compiling threadpool v1.8.1 Compiling matchers v0.1.0 Compiling indexmap v2.7.0 Compiling arrayvec v0.7.6 Compiling minifier v0.3.2 Compiling base64 v0.21.7 Compiling tempfile v3.14.0 Compiling unicode-segmentation v1.12.0 Compiling regex v1.11.1 Compiling serde_derive v1.0.217 Compiling tracing-attributes v0.1.28 Compiling tracing v0.1.37 Compiling tracing-subscriber v0.3.18 Compiling tracing-tree v0.3.1 Compiling basic-toml v0.1.9 Compiling rinja_parser v0.3.5 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 1m 01s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded anstyle-parse v0.2.6 Downloaded anstyle-query v1.1.2 Downloaded anyhow v1.0.95 Downloaded colorchoice v1.0.3 Downloaded clap_lex v0.7.4 Downloaded clap v4.5.23 Downloaded utf8parse v0.2.2 Downloaded is_terminal_polyfill v1.70.1 Downloaded anstream v0.6.18 Downloaded rayon-core v1.12.1 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 unicode-ident v1.0.14 Compiling shlex v1.3.0 Compiling cfg-if v1.0.0 Compiling utf8parse v0.2.2 Compiling pkg-config v0.3.31 Compiling rustix v0.38.42 Compiling rayon-core v1.12.1 Compiling is_terminal_polyfill v1.70.1 Compiling anstyle-query v1.1.2 Compiling bitflags v2.6.0 Compiling anstyle-parse v0.2.6 Compiling anstyle v1.0.10 Compiling colorchoice v1.0.3 Compiling linux-raw-sys v0.4.14 Compiling cc v1.2.6 Compiling heck v0.5.0 Compiling strsim v0.11.1 Compiling anstream v0.6.18 Compiling clap_lex v0.7.4 Compiling anyhow v1.0.95 Compiling adler2 v2.0.0 Compiling crc32fast v1.4.2 Compiling miniz_oxide v0.8.2 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 clap_builder v4.5.23 Compiling same-file v1.0.6 Compiling either v1.13.0 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.38 Compiling walkdir v2.5.0 Compiling syn v2.0.93 Compiling crossbeam-deque v0.8.6 warning: `libc` (lib) generated 3 warnings Compiling filetime v0.2.25 Compiling flate2 v1.0.35 Compiling lzma-sys v0.1.20 Compiling rayon v1.10.0 Compiling xattr v1.3.1 Compiling tar v0.4.43 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 10.37s Dist rustc-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.224 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:01:17 xbstrap: compile-tool host-rust@clippy [90/94] [2025-05-18 06:15:38.345919 chopin] 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: ['system-gcc', 'host-libffi', 'host-python', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2796750 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.05s 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.25s 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.26s 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 camino v1.1.9 Downloaded form_urlencoded v1.2.1 Downloaded cargo-platform v0.1.9 Downloaded icu_collections v1.5.0 Downloaded write16 v1.0.0 Downloaded rustc_tools_util v0.4.0 Downloaded quine-mc_cluskey v0.2.4 Downloaded color-print-proc-macro v0.3.7 Downloaded percent-encoding v2.3.1 Downloaded utf16_iter v1.0.5 Downloaded utf8_iter v1.0.4 Downloaded toml_datetime v0.6.8 Downloaded cargo_metadata v0.18.1 Downloaded serde_spanned v0.6.8 Downloaded idna_adapter v1.2.0 Downloaded color-print v0.3.7 Downloaded icu_normalizer v1.5.0 Downloaded toml v0.7.8 Downloaded icu_normalizer_data v1.5.0 Downloaded url v2.5.4 Downloaded toml_edit v0.19.15 Downloaded idna v1.0.3 Downloaded icu_properties v1.5.1 Downloaded winnow v0.5.40 Downloaded icu_properties_data v1.5.0 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 write16 v1.0.0 Compiling hashbrown v0.15.2 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling icu_normalizer_data v1.5.0 Compiling equivalent v1.0.1 Compiling utf16_iter v1.0.5 Compiling serde_json v1.0.134 Compiling either v1.13.0 Compiling camino v1.1.9 Compiling thiserror v1.0.69 Compiling winnow v0.5.40 Compiling semver v1.0.24 Compiling bitflags v2.6.0 Compiling memchr v2.7.4 Compiling minimal-lexical v0.2.1 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling itertools v0.12.1 Compiling ryu v1.0.18 Compiling tinyvec_macros v0.1.1 Compiling percent-encoding v2.3.1 Compiling itoa v1.0.14 Compiling arrayvec v0.7.6 Compiling form_urlencoded v1.2.1 Compiling tinyvec v1.8.1 Compiling rustc_tools_util v0.4.0 Compiling utf8parse v0.2.2 Compiling quote v1.0.38 Compiling nom v7.1.3 Compiling indexmap v2.7.0 Compiling clippy v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy) Compiling anstyle-parse v0.2.6 Compiling syn v2.0.93 Compiling anstyle v1.0.10 Compiling is_terminal_polyfill v1.70.1 Compiling quine-mc_cluskey v0.2.4 Compiling colorchoice v1.0.3 Compiling regex-syntax v0.8.5 Compiling anstyle-query v1.1.2 Compiling unicode-script v0.5.7 Compiling anstream v0.6.18 Compiling unicode-normalization v0.1.24 Compiling termize v0.1.1 Compiling synstructure v0.13.1 Compiling zerofrom-derive v0.1.5 Compiling yoke-derive v0.7.5 Compiling serde_derive v1.0.217 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 cargo-platform v0.1.9 Compiling toml_edit v0.19.15 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 1m 23s 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:27 xbstrap: install-tool host-rust@clippy [91/94] [2025-05-18 06:17:06.435995 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 90, 'status': 'success', 'subject': 'host-rust@clippy'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'clippy', '-j', '@PARALLELISM@'] (tools: ['system-gcc', 'host-libffi', 'host-python', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2798378 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.05s 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.27s 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.02s 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.25s 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.16s Building tool cargo-clippy (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.16s 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.15s Dist clippy-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.022 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:05 xbstrap: compile-tool host-rust@std [92/94] [2025-05-18 06:17:11.879523 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 91, 'status': 'success', 'subject': 'host-rust@clippy'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'std', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['system-gcc', 'host-libffi', 'host-python', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2799073 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.04s 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.25s 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.25s 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) -> x86_64-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 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 addr2line v0.22.0 Finished `release` profile [optimized] target(s) in 34.54s 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:00:39 xbstrap: install-tool host-rust@std [93/94] [2025-05-18 06:17:51.315977 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 92, 'status': 'success', 'subject': 'host-rust@std'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'std', '-j', '@PARALLELISM@'] (tools: ['system-gcc', 'host-libffi', 'host-python', 'host-llvm-toolchain', 'cross-binutils']) via cbuildrt PID init is 2799980 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.04s 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.25s 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.25s 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) -> x86_64-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 3.88s 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.15s Dist rust-std-1.85.1-dev-x86_64-unknown-managarm-mlibc finished in 0.104 seconds Installing stage2 std (x86_64-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-x86_64-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.104 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:10 xbstrap: archive-tool host-rust [94/94] [2025-05-18 06:18:02.327558 chopin] 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 06:19:01.212261 chopin] 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 06:19:05.402672 chopin] DEBUG: xbbs.worker: successfully uploaded tool host-rust for JobMessage(project='managarm', 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': 'x86_64', 'version': '2.4.124_1'}, 'linux-headers': {'architecture': 'x86_64', 'version': '6.12.8_2'}, 'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4468_1'}, 'frigg': {'architecture': 'x86_64', 'version': '0.0pl360_7'}, 'mlibc': {'architecture': 'x86_64', 'version': '0.0pl4468_1'}}, needed_tools={'host-llvm-toolchain': {'architecture': {'x86_64'}, 'version': '19.1.7_1'}, 'cross-binutils': {'architecture': 'x86_64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'x86_64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'x86_64'}, 'version': '3.10.12_1'}, 'host-libffi': {'architecture': 'x86_64', 'version': '3.4.4_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'x86_64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/x86_64/') [2025-05-18 06:19:05.403009 chopin] INFO: xbbs.worker: job done. return code: 0