[2025-04-04 00:38:59.423358 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm', job='tool:host-rust', repository='https://github.com/managarm/bootstrap-managarm.git', revision='0ddfbfd720a1b5361c281226ec4f275b206e782c', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'linux-headers': {'architecture': 'x86_64', 'version': '6.12.8_2'}, 'libdrm-headers': {'architecture': 'x86_64', 'version': '2.4.124_1'}, 'frigg': {'architecture': 'x86_64', 'version': '0.0pl358_7'}, 'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4438_1'}, 'mlibc': {'architecture': 'x86_64', 'version': '0.0pl4438_1'}}, needed_tools={'host-llvm-toolchain': {'architecture': {'x86_64'}, 'version': '19.1.7_1'}, 'host-libffi': {'architecture': 'x86_64', 'version': '3.4.4_1'}, 'system-gcc': {'architecture': 'x86_64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'x86_64'}, 'version': '3.10.12_1'}, 'cross-binutils': {'architecture': 'x86_64', 'version': '2.43.1_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-04-04 00:38:59.423815 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-04-04 00:38:59.432955 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-04-04 00:38:59.440272 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-04-04 00:39:00.418692 chopin] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '0ddfbfd720a1b5361c281226ec4f275b206e782c'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 0ddfbfd Merge pull request #498 from 48cf/fix-rust [2025-04-04 00:39:00.459309 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-04-04 00:39:04.602036 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', '--', 'linux-headers', 'libdrm-headers', 'frigg', 'mlibc-headers', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm/package_repo/x86_64-repodata' ... x86_64-repodata: [49KB 8%] 163MB/s ETA: 00m00s x86_64-repodata: 49KB [avg rate: 2012MB/s] 5 packages will be downloaded: 5 packages will be installed: linux-headers-6.12.8_2 libdrm-headers-2.4.124_1 frigg-0.0pl358_7 mlibc-headers-0.0pl4438_1 mlibc-0.0pl4438_1 Size to download: 8115KB Size required on disk: 31MB Space available on disk: 656GB [*] Downloading packages 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%] 178MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps: 3121KB [avg rate: 135GB/s] linux-headers-6.12.8_2: verifying RSA signature... 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%] 230MB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps: 120KB [avg rate: 6911MB/s] libdrm-headers-2.4.124_1: verifying RSA signature... frigg-0.0pl358_7.x86_64.xbps.sig2: [512B 100%] 15MB/s ETA: 00m00s frigg-0.0pl358_7.x86_64.xbps.sig2: 512B [avg rate: 15MB/s] frigg-0.0pl358_7.x86_64.xbps: [42KB 9%] 279MB/s ETA: 00m00s frigg-0.0pl358_7.x86_64.xbps: 42KB [avg rate: 2924MB/s] frigg-0.0pl358_7: verifying RSA signature... mlibc-headers-0.0pl4438_1.x86_64.xbps.sig2: [512B 100%] 41MB/s ETA: 00m00s mlibc-headers-0.0pl4438_1.x86_64.xbps.sig2: 512B [avg rate: 41MB/s] mlibc-headers-0.0pl4438_1.x86_64.xbps: [99KB 4%] 279MB/s ETA: 00m00s mlibc-headers-0.0pl4438_1.x86_64.xbps: 99KB [avg rate: 6923MB/s] mlibc-headers-0.0pl4438_1: verifying RSA signature... mlibc-0.0pl4438_1.x86_64.xbps.sig2: [512B 100%] 41MB/s ETA: 00m00s mlibc-0.0pl4438_1.x86_64.xbps.sig2: 512B [avg rate: 41MB/s] mlibc-0.0pl4438_1.x86_64.xbps: [4730KB 0%] 279MB/s ETA: 00m00s mlibc-0.0pl4438_1.x86_64.xbps: 4730KB [avg rate: 322GB/s] mlibc-0.0pl4438_1: verifying RSA signature... [*] Collecting package files linux-headers-6.12.8_2: collecting files... libdrm-headers-2.4.124_1: collecting files... frigg-0.0pl358_7: collecting files... mlibc-headers-0.0pl4438_1: collecting files... mlibc-0.0pl4438_1: collecting files... [*] Unpacking packages linux-headers-6.12.8_2: unpacking ... libdrm-headers-2.4.124_1: unpacking ... frigg-0.0pl358_7: unpacking ... mlibc-headers-0.0pl4438_1: unpacking ... mlibc-0.0pl4438_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-04-04 00:39:05.217225 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2025-04-04 00:39:05.217700 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.x86_64.xbps [2025-04-04 00:39:05.218195 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-04-04 00:39:05.233882 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl358_7.x86_64.xbps [2025-04-04 00:39:05.234328 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl358_7.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl358_7' (x86_64). index: 2 packages registered. [2025-04-04 00:39:05.249323 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4438_1.x86_64.xbps [2025-04-04 00:39:05.249865 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4438_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4438_1' (x86_64). index: 3 packages registered. [2025-04-04 00:39:05.264536 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.x86_64.xbps [2025-04-04 00:39:05.268285 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-04-04 00:39:05.285959 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4438_1.x86_64.xbps [2025-04-04 00:39:05.290446 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4438_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4438_1' (x86_64). index: 5 packages registered. [2025-04-04 00:39:19.819752 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 fetch rust-calloop checkout rust-calloop patch rust-calloop fetch rust-cc checkout rust-cc patch rust-cc fetch rust-errno checkout rust-errno patch rust-errno fetch rust-getrandom-0.2 checkout rust-getrandom-0.2 patch rust-getrandom-0.2 fetch rust-getrandom-0.3 checkout rust-getrandom-0.3 patch rust-getrandom-0.3 fetch rust-glutin checkout rust-glutin patch rust-glutin fetch rust-libc checkout rust-libc patch rust-libc fetch rust-libloading checkout rust-libloading patch rust-libloading fetch rust-mio-0.6 checkout rust-mio-0.6 patch rust-mio-0.6 fetch rust-mio-0.8 checkout rust-mio-0.8 patch rust-mio-0.8 fetch rust-mio-1.0 checkout rust-mio-1.0 patch rust-mio-1.0 fetch rust-nix checkout rust-nix patch rust-nix fetch rust-num-cpus checkout rust-num-cpus patch rust-num-cpus fetch rust-patched-libs checkout rust-patched-libs patch rust-patched-libs fetch rust-rustix checkout rust-rustix patch rust-rustix fetch rust-shared-library checkout rust-shared-library patch rust-shared-library fetch rust-users checkout rust-users patch rust-users fetch rust-uzers checkout rust-uzers patch rust-uzers fetch rust-winit checkout rust-winit patch rust-winit 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/74] 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/74] [2025-04-04 00:39:30.170692 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, '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/74] [2025-04-04 00:39:32.837122 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, '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/74] xbstrap: fetch rust-backtrace [5/74] [2025-04-04 00:39:33.722609 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 3, 'status': 'success', 'subject': 'rust'} [2025-04-04 00:39:33.723290 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 74, '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/74] [2025-04-04 00:39:34.128026 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, '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/74] [2025-04-04 00:39:34.141979 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 6, 'status': 'success', 'subject': 'rust-backtrace'} Applying: managarm: use dl_iterate_phdr xbstrap: fetch rust-calloop [8/74] [2025-04-04 00:39:34.154919 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 7, '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 [9/74] [2025-04-04 00:39:34.479340 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 8, 'status': 'success', 'subject': 'rust-calloop'} HEAD is now at 0d3b13a v0.10.0 xbstrap: patch rust-calloop [10/74] [2025-04-04 00:39:34.493508 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 9, 'status': 'success', 'subject': 'rust-calloop'} Applying: managarm: initial port xbstrap: fetch rust-cc [11/74] [2025-04-04 00:39:34.505570 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 10, '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 [12/74] [2025-04-04 00:39:34.984495 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 11, 'status': 'success', 'subject': 'rust-cc'} HEAD is now at d9dd20e chore: release v1.2.17 (#1435) xbstrap: patch rust-cc [13/74] [2025-04-04 00:39:34.997654 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 12, 'status': 'success', 'subject': 'rust-cc'} Applying: Add Managarm riscv support xbstrap: fetch rust-errno [14/74] [2025-04-04 00:39:35.013807 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 13, '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 [15/74] [2025-04-04 00:39:35.269940 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 14, 'status': 'success', 'subject': 'rust-errno'} HEAD is now at 7450e3d Release 0.3.10 (#103) xbstrap: patch rust-errno [16/74] [2025-04-04 00:39:35.278713 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 15, 'status': 'success', 'subject': 'rust-errno'} Applying: Add managarm support xbstrap: fetch rust-getrandom-0.2 [17/74] [2025-04-04 00:39:35.288700 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 16, '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 [18/74] [2025-04-04 00:39:35.572832 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 17, 'status': 'success', 'subject': 'rust-getrandom-0.2'} HEAD is now at cf65e83 Release v0.2.15 (#419) xbstrap: patch rust-getrandom-0.2 [19/74] [2025-04-04 00:39:35.585461 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 18, 'status': 'success', 'subject': 'rust-getrandom-0.2'} Applying: Add managarm support xbstrap: fetch rust-getrandom-0.3 [20/74] [2025-04-04 00:39:35.596365 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 19, '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 [21/74] [2025-04-04 00:39:35.902593 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 20, 'status': 'success', 'subject': 'rust-getrandom-0.3'} HEAD is now at 3a91722 Release v0.3.2 (#617) xbstrap: patch rust-getrandom-0.3 [22/74] [2025-04-04 00:39:35.914589 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 21, 'status': 'success', 'subject': 'rust-getrandom-0.3'} Applying: Add managarm support xbstrap: fetch rust-glutin [23/74] [2025-04-04 00:39:35.926495 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 22, '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 [24/74] [2025-04-04 00:39:36.276872 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 23, 'status': 'success', 'subject': 'rust-glutin'} HEAD is now at 2f8bdfc Glutin version v0.29.1 xbstrap: patch rust-glutin [25/74] [2025-04-04 00:39:36.290129 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 24, 'status': 'success', 'subject': 'rust-glutin'} Applying: managarm: initial port xbstrap: fetch rust-libc [26/74] [2025-04-04 00:39:36.313660 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 25, '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 [27/74] [2025-04-04 00:39:37.104543 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 26, 'status': 'success', 'subject': 'rust-libc'} HEAD is now at 78b0f8a chore: release v0.2.171 xbstrap: patch rust-libc [28/74] [2025-04-04 00:39:37.148383 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 27, 'status': 'success', 'subject': 'rust-libc'} Applying: Add managarm support Applying: Add generated managarm bindings xbstrap: fetch rust-libloading [29/74] [2025-04-04 00:39:37.211944 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 28, '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 [30/74] [2025-04-04 00:39:37.499463 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 29, 'status': 'success', 'subject': 'rust-libloading'} HEAD is now at 6e28498 Fix CI xbstrap: patch rust-libloading [31/74] [2025-04-04 00:39:37.508874 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 30, 'status': 'success', 'subject': 'rust-libloading'} Applying: managarm: initial port xbstrap: fetch rust-mio-0.6 [32/74] [2025-04-04 00:39:37.519926 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 31, '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 [33/74] [2025-04-04 00:39:37.845926 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 32, 'status': 'success', 'subject': 'rust-mio-0.6'} HEAD is now at 26d1033 Release v0.6.23 xbstrap: patch rust-mio-0.6 [34/74] [2025-04-04 00:39:37.862248 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 33, 'status': 'success', 'subject': 'rust-mio-0.6'} Applying: managarm: initial port xbstrap: fetch rust-mio-0.8 [35/74] [2025-04-04 00:39:37.877048 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 34, '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 [36/74] [2025-04-04 00:39:38.202266 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 35, 'status': 'success', 'subject': 'rust-mio-0.8'} HEAD is now at c6f39d6 Release v0.8.3 xbstrap: patch rust-mio-0.8 [37/74] [2025-04-04 00:39:38.215238 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 36, 'status': 'success', 'subject': 'rust-mio-0.8'} Applying: managarm: initial port xbstrap: fetch rust-mio-1.0 [38/74] [2025-04-04 00:39:38.229951 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 37, '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 [39/74] [2025-04-04 00:39:38.570026 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 38, 'status': 'success', 'subject': 'rust-mio-1.0'} HEAD is now at f45f492 Release v1.0.3 (#1843) xbstrap: patch rust-mio-1.0 [40/74] [2025-04-04 00:39:38.583530 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 39, 'status': 'success', 'subject': 'rust-mio-1.0'} Applying: Add Managarm support xbstrap: fetch rust-nix [41/74] [2025-04-04 00:39:38.597343 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 40, '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 [42/74] [2025-04-04 00:39:38.936094 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 41, 'status': 'success', 'subject': 'rust-nix'} HEAD is now at ba29e5e chore: Release nix version 0.24.3 xbstrap: patch rust-nix [43/74] [2025-04-04 00:39:38.952273 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 42, 'status': 'success', 'subject': 'rust-nix'} Applying: managarm: initial port xbstrap: fetch rust-num-cpus [44/74] [2025-04-04 00:39:38.981866 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 43, '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 [45/74] [2025-04-04 00:39:39.203615 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 44, 'status': 'success', 'subject': 'rust-num-cpus'} HEAD is now at 5bea3c7 v1.15.0 xbstrap: patch rust-num-cpus [46/74] [2025-04-04 00:39:39.214713 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 45, 'status': 'success', 'subject': 'rust-num-cpus'} Applying: managarm: Initial port xbstrap: fetch rust-patched-libs [47/74] xbstrap: checkout rust-patched-libs [48/74] [2025-04-04 00:39:39.225498 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 46, 'status': 'success', 'subject': 'rust-num-cpus'} xbstrap: patch rust-patched-libs [49/74] xbstrap: fetch rust-rustix [50/74] [2025-04-04 00:39:39.226196 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 47, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-04-04 00:39:39.226711 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 48, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-04-04 00:39:39.227236 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 49, '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 [51/74] [2025-04-04 00:39:39.580204 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 50, 'status': 'success', 'subject': 'rust-rustix'} HEAD is now at cb01fbe chore: Release rustix version 1.0.5 xbstrap: patch rust-rustix [52/74] [2025-04-04 00:39:39.618118 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 51, 'status': 'success', 'subject': 'rust-rustix'} Applying: Add mlibc support xbstrap: fetch rust-shared-library [53/74] [2025-04-04 00:39:39.643020 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 52, '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 [54/74] [2025-04-04 00:39:39.830906 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 53, 'status': 'success', 'subject': 'rust-shared-library'} Reset branch 'master' branch 'master' set up to track 'origin/master'. xbstrap: patch rust-shared-library [55/74] [2025-04-04 00:39:39.840782 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 54, 'status': 'success', 'subject': 'rust-shared-library'} Applying: managarm: initial port xbstrap: fetch rust-users [56/74] [2025-04-04 00:39:39.850171 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 55, '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 [57/74] [2025-04-04 00:39:40.068668 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 56, 'status': 'success', 'subject': 'rust-users'} HEAD is now at d6883b4 v0.11.0 xbstrap: patch rust-users [58/74] [2025-04-04 00:39:40.077182 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 57, 'status': 'success', 'subject': 'rust-users'} Applying: managarm: Initial port xbstrap: fetch rust-uzers [59/74] [2025-04-04 00:39:40.087679 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 58, '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 [60/74] [2025-04-04 00:39:40.305056 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 59, 'status': 'success', 'subject': 'rust-uzers'} HEAD is now at a0db683 chore(cargo): update version to 0.12.1 xbstrap: patch rust-uzers [61/74] [2025-04-04 00:39:40.315256 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 60, 'status': 'success', 'subject': 'rust-uzers'} Applying: Add Managarm support xbstrap: fetch rust-winit [62/74] [2025-04-04 00:39:40.326283 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 61, '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 [63/74] [2025-04-04 00:39:40.662980 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 74, 'n_this': 62, 'status': 'success', 'subject': 'rust-winit'} HEAD is now at bbdcb79 Release 0.27.5 version xbstrap: patch rust-winit [64/74] [2025-04-04 00:39:40.683388 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 74, 'n_this': 63, 'status': 'success', 'subject': 'rust-winit'} Applying: managarm: initial port xbstrap: configure-tool host-rust [65/74] xbstrap: compile-tool host-rust@config [66/74] [2025-04-04 00:39:40.711923 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 74, 'n_this': 64, 'status': 'success', 'subject': 'rust-winit'} [2025-04-04 00:39:40.712515 chopin] DEBUG: xbbs.worker: got notify {'action': 'configure-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 65, 'status': 'success', 'subject': 'host-rust'} xbstrap: Running cat << EOF > config.toml change-id = 102579 [llvm] targets = "X86;AArch64;RISCV" download-ci-llvm = false [build] target = ["@OPTION:rust-arch@-unknown-managarm-mlibc", "x86_64-unknown-linux-gnu"] build-dir = "@THIS_BUILD_DIR@" docs = false [install] prefix = "@PREFIX@" sysconfdir = "etc" [rust] codegen-tests = false deny-warnings = false [target.x86_64-unknown-linux-gnu] llvm-config = "@BUILD_ROOT@/tools/host-llvm-toolchain/bin/llvm-config" [target.@OPTION:rust-arch@-unknown-managarm-mlibc] llvm-config = "@BUILD_ROOT@/tools/host-llvm-toolchain/bin/llvm-config" cc = "@OPTION:arch-triple@-gcc" cxx = "@OPTION:arch-triple@-g++" ar = "@OPTION:arch-triple@-ar" ranlib = "@OPTION:arch-triple@-ranlib" linker = "@OPTION:arch-triple@-gcc" EOF (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1639289 (outside the namespace) xbstrap: install-tool host-rust@config [67/74] xbstrap: compile-tool host-rust@compiler [68/74] [2025-04-04 00:39:40.914133 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 66, 'status': 'success', 'subject': 'host-rust@config'} [2025-04-04 00:39:40.914895 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 67, 'status': 'success', 'subject': 'host-rust@config'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'rustc', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1639295 (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.1% ###################################### 54.1% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz # 1.7% ################### 27.3% ###################################### 53.5% ######################################################### 80.0% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz ########## 15.0% ######################################################################## 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 pkg-config v0.3.31 Downloaded xattr v1.3.1 Downloaded walkdir v2.5.0 Downloaded errno v0.3.9 Downloaded xz2 v0.1.7 Downloaded typenum v1.17.0 Downloaded unicode-ident v1.0.13 Downloaded serde v1.0.215 Downloaded memchr v2.7.4 Downloaded ryu v1.0.18 Downloaded serde_json v1.0.132 Downloaded proc-macro2 v1.0.89 Downloaded cc v1.1.22 Downloaded aho-corasick v1.1.3 Downloaded tar v0.4.43 Downloaded log v0.4.22 Downloaded syn v2.0.87 Downloaded bstr v1.10.0 Downloaded ignore v0.4.23 Downloaded regex-syntax v0.8.5 Downloaded object v0.36.5 Downloaded globset v0.4.15 Downloaded rustix v0.38.40 Downloaded crossbeam-utils v0.8.20 Downloaded crossbeam-epoch v0.9.18 Downloaded clap_complete v4.5.37 Downloaded clap v4.5.20 Downloaded bitflags v2.6.0 Downloaded toml v0.5.11 Downloaded serde_derive v1.0.215 Downloaded semver v1.0.23 Downloaded quote v1.0.37 Downloaded crossbeam-deque v0.8.5 Downloaded regex-automata v0.4.9 Downloaded version_check v0.9.5 Downloaded sha2 v0.10.8 Downloaded opener v0.5.2 Downloaded digest v0.10.7 Downloaded crypto-common v0.1.6 Downloaded lzma-sys v0.1.20 Downloaded libc v0.2.167 Downloaded cpufeatures v0.2.15 Downloaded cmake v0.1.48 Downloaded clap_lex v0.7.2 Downloaded clap_derive v4.5.18 Downloaded shlex v1.3.0 Downloaded same-file v1.0.6 Downloaded itoa v1.0.11 Downloaded home v0.5.9 Downloaded heck v0.5.0 Downloaded filetime v0.2.25 Downloaded termcolor v1.4.1 Downloaded generic-array v0.14.7 Downloaded fd-lock v4.0.2 Downloaded linux-raw-sys v0.4.14 Downloaded clap_builder v4.5.20 Compiling proc-macro2 v1.0.89 Compiling memchr v2.7.4 Compiling unicode-ident v1.0.13 Compiling version_check v0.9.5 Compiling typenum v1.17.0 Compiling shlex v1.3.0 Compiling libc v0.2.167 Compiling regex-syntax v0.8.5 Compiling rustix v0.38.40 Compiling crossbeam-utils v0.8.20 Compiling serde v1.0.215 Compiling linux-raw-sys v0.4.14 Compiling pkg-config v0.3.31 Compiling cc v1.1.22 Compiling bitflags v2.6.0 Compiling cfg-if v1.0.0 Compiling generic-array v0.14.7 Compiling clap_lex v0.7.2 Compiling aho-corasick v1.1.3 Compiling anstyle v1.0.10 Compiling heck v0.5.0 Compiling quote v1.0.37 Compiling crossbeam-epoch v0.9.18 Compiling clap_builder v4.5.20 Compiling log v0.4.22 Compiling syn v2.0.87 Compiling serde_json v1.0.132 Compiling semver v1.0.23 Compiling same-file v1.0.6 Compiling filetime v0.2.25 Compiling walkdir v2.5.0 Compiling crossbeam-deque v0.8.5 Compiling ryu v1.0.18 Compiling itoa v1.0.11 Compiling cpufeatures v0.2.15 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 crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling regex-automata v0.4.9 Compiling lzma-sys v0.1.20 Compiling termcolor v1.4.1 Compiling digest v0.10.7 Compiling home v0.5.9 Compiling sha2 v0.10.8 Compiling xz2 v0.1.7 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 17.57s 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: 152, done. remote: Counting objects: 0% (1/152) remote: Counting objects: 1% (2/152) remote: Counting objects: 2% (4/152) remote: Counting objects: 3% (5/152) remote: Counting objects: 4% (7/152) remote: Counting objects: 5% (8/152) remote: Counting objects: 6% (10/152) remote: Counting objects: 7% (11/152) remote: Counting objects: 8% (13/152) remote: Counting objects: 9% (14/152) remote: Counting objects: 10% (16/152) remote: Counting objects: 11% (17/152) remote: Counting objects: 12% (19/152) remote: Counting objects: 13% (20/152) remote: Counting objects: 14% (22/152) remote: Counting objects: 15% (23/152) remote: Counting objects: 16% (25/152) remote: Counting objects: 17% (26/152) remote: Counting objects: 18% (28/152) remote: Counting objects: 19% (29/152) remote: Counting objects: 20% (31/152) remote: Counting objects: 21% (32/152) remote: Counting objects: 22% (34/152) remote: Counting objects: 23% (35/152) remote: Counting objects: 24% (37/152) remote: Counting objects: 25% (38/152) remote: Counting objects: 26% (40/152) remote: Counting objects: 27% (42/152) remote: Counting objects: 28% (43/152) remote: Counting objects: 29% (45/152) remote: Counting objects: 30% (46/152) remote: Counting objects: 31% (48/152) remote: Counting objects: 32% (49/152) remote: Counting objects: 33% (51/152) remote: Counting objects: 34% (52/152) remote: Counting objects: 35% (54/152) remote: Counting objects: 36% (55/152) remote: Counting objects: 37% (57/152) remote: Counting objects: 38% (58/152) remote: Counting objects: 39% (60/152) remote: Counting objects: 40% (61/152) remote: Counting objects: 41% (63/152) remote: Counting objects: 42% (64/152) remote: Counting objects: 43% (66/152) remote: Counting objects: 44% (67/152) remote: Counting objects: 45% (69/152) remote: Counting objects: 46% (70/152) remote: Counting objects: 47% (72/152) remote: Counting objects: 48% (73/152) remote: Counting objects: 49% (75/152) remote: Counting objects: 50% (76/152) remote: Counting objects: 51% (78/152) remote: Counting objects: 52% (80/152) remote: Counting objects: 53% (81/152) remote: Counting objects: 54% (83/152) remote: Counting objects: 55% (84/152) remote: Counting objects: 56% (86/152) remote: Counting objects: 57% (87/152) remote: Counting objects: 58% (89/152) remote: Counting objects: 59% (90/152) remote: Counting objects: 60% (92/152) remote: Counting objects: 61% (93/152) remote: Counting objects: 62% (95/152) remote: Counting objects: 63% (96/152) remote: Counting objects: 64% (98/152) remote: Counting objects: 65% (99/152) remote: Counting objects: 66% (101/152) remote: Counting objects: 67% (102/152) remote: Counting objects: 68% (104/152) remote: Counting objects: 69% (105/152) remote: Counting objects: 70% (107/152) remote: Counting objects: 71% (108/152) remote: Counting objects: 72% (110/152) remote: Counting objects: 73% (111/152) remote: Counting objects: 74% (113/152) remote: Counting objects: 75% (114/152) remote: Counting objects: 76% (116/152) remote: Counting objects: 77% (118/152) remote: Counting objects: 78% (119/152) remote: Counting objects: 79% (121/152) remote: Counting objects: 80% (122/152) remote: Counting objects: 81% (124/152) remote: Counting objects: 82% (125/152) remote: Counting objects: 83% (127/152) remote: Counting objects: 84% (128/152) remote: Counting objects: 85% (130/152) remote: Counting objects: 86% (131/152) remote: Counting objects: 87% (133/152) remote: Counting objects: 88% (134/152) remote: Counting objects: 89% (136/152) remote: Counting objects: 90% (137/152) remote: Counting objects: 91% (139/152) remote: Counting objects: 92% (140/152) remote: Counting objects: 93% (142/152) remote: Counting objects: 94% (143/152) remote: Counting objects: 95% (145/152) remote: Counting objects: 96% (146/152) remote: Counting objects: 97% (148/152) remote: Counting objects: 98% (149/152) remote: Counting objects: 99% (151/152) remote: Counting objects: 100% (152/152) remote: Counting objects: 100% (152/152), done. remote: Compressing objects: 0% (1/117) remote: Compressing objects: 1% (2/117) remote: Compressing objects: 2% (3/117) remote: Compressing objects: 3% (4/117) remote: Compressing objects: 4% (5/117) remote: Compressing objects: 5% (6/117) remote: Compressing objects: 6% (8/117) remote: Compressing objects: 7% (9/117) remote: Compressing objects: 8% (10/117) remote: Compressing objects: 9% (11/117) remote: Compressing objects: 10% (12/117) remote: Compressing objects: 11% (13/117) remote: Compressing objects: 12% (15/117) remote: Compressing objects: 13% (16/117) remote: Compressing objects: 14% (17/117) remote: Compressing objects: 15% (18/117) remote: Compressing objects: 16% (19/117) remote: Compressing objects: 17% (20/117) remote: Compressing objects: 18% (22/117) remote: Compressing objects: 19% (23/117) remote: Compressing objects: 20% (24/117) remote: Compressing objects: 21% (25/117) remote: Compressing objects: 22% (26/117) remote: Compressing objects: 23% (27/117) remote: Compressing objects: 24% (29/117) remote: Compressing objects: 25% (30/117) remote: Compressing objects: 26% (31/117) remote: Compressing objects: 27% (32/117) remote: Compressing objects: 28% (33/117) remote: Compressing objects: 29% (34/117) remote: Compressing objects: 30% (36/117) remote: Compressing objects: 31% (37/117) remote: Compressing objects: 32% (38/117) remote: Compressing objects: 33% (39/117) remote: Compressing objects: 34% (40/117) remote: Compressing objects: 35% (41/117) remote: Compressing objects: 36% (43/117) remote: Compressing objects: 37% (44/117) remote: Compressing objects: 38% (45/117) remote: Compressing objects: 39% (46/117) remote: Compressing objects: 40% (47/117) remote: Compressing objects: 41% (48/117) remote: Compressing objects: 42% (50/117) remote: Compressing objects: 43% (51/117) remote: Compressing objects: 44% (52/117) remote: Compressing objects: 45% (53/117) remote: Compressing objects: 46% (54/117) remote: Compressing objects: 47% (55/117) remote: Compressing objects: 48% (57/117) remote: Compressing objects: 49% (58/117) remote: Compressing objects: 50% (59/117) remote: Compressing objects: 51% (60/117) remote: Compressing objects: 52% (61/117) remote: Compressing objects: 53% (63/117) remote: Compressing objects: 54% (64/117) remote: Compressing objects: 55% (65/117) remote: Compressing objects: 56% (66/117) remote: Compressing objects: 57% (67/117) remote: Compressing objects: 58% (68/117) remote: Compressing objects: 59% (70/117) remote: Compressing objects: 60% (71/117) remote: Compressing objects: 61% (72/117) remote: Compressing objects: 62% (73/117) remote: Compressing objects: 63% (74/117) remote: Compressing objects: 64% (75/117) remote: Compressing objects: 65% (77/117) remote: Compressing objects: 66% (78/117) remote: Compressing objects: 67% (79/117) remote: Compressing objects: 68% (80/117) remote: Compressing objects: 69% (81/117) remote: Compressing objects: 70% (82/117) remote: Compressing objects: 71% (84/117) remote: Compressing objects: 72% (85/117) remote: Compressing objects: 73% (86/117) remote: Compressing objects: 74% (87/117) remote: Compressing objects: 75% (88/117) remote: Compressing objects: 76% (89/117) remote: Compressing objects: 77% (91/117) remote: Compressing objects: 78% (92/117) remote: Compressing objects: 79% (93/117) remote: Compressing objects: 80% (94/117) remote: Compressing objects: 81% (95/117) remote: Compressing objects: 82% (96/117) remote: Compressing objects: 83% (98/117) remote: Compressing objects: 84% (99/117) remote: Compressing objects: 85% (100/117) remote: Compressing objects: 86% (101/117) remote: Compressing objects: 87% (102/117) remote: Compressing objects: 88% (103/117) remote: Compressing objects: 89% (105/117) remote: Compressing objects: 90% (106/117) remote: Compressing objects: 91% (107/117) remote: Compressing objects: 92% (108/117) remote: Compressing objects: 93% (109/117) remote: Compressing objects: 94% (110/117) remote: Compressing objects: 95% (112/117) remote: Compressing objects: 96% (113/117) remote: Compressing objects: 97% (114/117) remote: Compressing objects: 98% (115/117) remote: Compressing objects: 99% (116/117) remote: Compressing objects: 100% (117/117) remote: Compressing objects: 100% (117/117), done. Receiving objects: 0% (1/152) Receiving objects: 1% (2/152) Receiving objects: 2% (4/152) Receiving objects: 3% (5/152) Receiving objects: 4% (7/152) Receiving objects: 5% (8/152) Receiving objects: 6% (10/152) Receiving objects: 7% (11/152) Receiving objects: 8% (13/152) Receiving objects: 9% (14/152) Receiving objects: 10% (16/152) Receiving objects: 11% (17/152) Receiving objects: 12% (19/152) Receiving objects: 13% (20/152) Receiving objects: 14% (22/152) Receiving objects: 15% (23/152) Receiving objects: 16% (25/152) Receiving objects: 17% (26/152) Receiving objects: 18% (28/152) Receiving objects: 19% (29/152) Receiving objects: 20% (31/152) Receiving objects: 21% (32/152) Receiving objects: 22% (34/152) Receiving objects: 23% (35/152) Receiving objects: 24% (37/152) Receiving objects: 25% (38/152) Receiving objects: 26% (40/152) Receiving objects: 27% (42/152) Receiving objects: 28% (43/152) Receiving objects: 29% (45/152) Receiving objects: 30% (46/152) Receiving objects: 31% (48/152) Receiving objects: 32% (49/152) Receiving objects: 33% (51/152) Receiving objects: 34% (52/152) Receiving objects: 35% (54/152) Receiving objects: 36% (55/152) Receiving objects: 37% (57/152) Receiving objects: 38% (58/152) Receiving objects: 39% (60/152) Receiving objects: 40% (61/152) Receiving objects: 41% (63/152) Receiving objects: 42% (64/152) Receiving objects: 43% (66/152) Receiving objects: 44% (67/152) Receiving objects: 45% (69/152) Receiving objects: 46% (70/152) Receiving objects: 47% (72/152) Receiving objects: 48% (73/152) Receiving objects: 49% (75/152) Receiving objects: 50% (76/152) Receiving objects: 51% (78/152) Receiving objects: 52% (80/152) Receiving objects: 53% (81/152) Receiving objects: 54% (83/152) Receiving objects: 55% (84/152) Receiving objects: 56% (86/152) Receiving objects: 57% (87/152) Receiving objects: 58% (89/152) Receiving objects: 59% (90/152) Receiving objects: 60% (92/152) Receiving objects: 61% (93/152) Receiving objects: 62% (95/152) Receiving objects: 63% (96/152) Receiving objects: 64% (98/152) Receiving objects: 65% (99/152) Receiving objects: 66% (101/152) Receiving objects: 67% (102/152) Receiving objects: 68% (104/152) Receiving objects: 69% (105/152) Receiving objects: 70% (107/152) Receiving objects: 71% (108/152) Receiving objects: 72% (110/152) Receiving objects: 73% (111/152) Receiving objects: 74% (113/152) Receiving objects: 75% (114/152) Receiving objects: 76% (116/152) Receiving objects: 77% (118/152) Receiving objects: 78% (119/152) Receiving objects: 79% (121/152) Receiving objects: 80% (122/152) Receiving objects: 81% (124/152) remote: Total 152 (delta 6), reused 93 (delta 4), pack-reused 0 (from 0) Receiving objects: 82% (125/152) Receiving objects: 83% (127/152) Receiving objects: 84% (128/152) Receiving objects: 85% (130/152) Receiving objects: 86% (131/152) Receiving objects: 87% (133/152) Receiving objects: 88% (134/152) Receiving objects: 89% (136/152) Receiving objects: 90% (137/152) Receiving objects: 91% (139/152) Receiving objects: 92% (140/152) Receiving objects: 93% (142/152) Receiving objects: 94% (143/152) Receiving objects: 95% (145/152) Receiving objects: 96% (146/152) Receiving objects: 97% (148/152) Receiving objects: 98% (149/152) Receiving objects: 99% (151/152) Receiving objects: 100% (152/152) Receiving objects: 100% (152/152), 122.85 KiB | 5.58 MiB/s, done. Resolving deltas: 0% (0/6) Resolving deltas: 16% (1/6) Resolving deltas: 33% (2/6) Resolving deltas: 50% (3/6) Resolving deltas: 66% (4/6) Resolving deltas: 83% (5/6) Resolving deltas: 100% (6/6) Resolving deltas: 100% (6/6), done. From https://github.com/rust-lang/backtrace-rs * branch 4d7906bb24ae91ee6587127020d360f5298f9e7e -> FETCH_HEAD Submodule path 'library/backtrace': checked out '4d7906bb24ae91ee6587127020d360f5298f9e7e' Updating submodule library/stdarch fatal: ref HEAD is not a symbolic ref Submodule 'library/stdarch' (https://github.com/rust-lang/stdarch.git) registered for path 'library/stdarch' Cloning into '/var/lib/managarm-buildenv/src/ports/rust/library/stdarch'... remote: Enumerating objects: 364, done. remote: Counting objects: 0% (1/364) remote: Counting objects: 1% (4/364) remote: Counting objects: 2% (8/364) remote: Counting objects: 3% (11/364) remote: Counting objects: 4% (15/364) remote: Counting objects: 5% (19/364) remote: Counting objects: 6% (22/364) remote: Counting objects: 7% (26/364) remote: Counting objects: 8% (30/364) remote: Counting objects: 9% (33/364) remote: Counting objects: 10% (37/364) remote: Counting objects: 11% (41/364) remote: Counting objects: 12% (44/364) remote: Counting objects: 13% (48/364) remote: Counting objects: 14% (51/364) remote: Counting objects: 15% (55/364) remote: Counting objects: 16% (59/364) remote: Counting objects: 17% (62/364) remote: Counting objects: 18% (66/364) remote: Counting objects: 19% (70/364) remote: Counting objects: 20% (73/364) remote: Counting objects: 21% (77/364) remote: Counting objects: 22% (81/364) remote: Counting objects: 23% (84/364) remote: Counting objects: 24% (88/364) remote: Counting objects: 25% (91/364) remote: Counting objects: 26% (95/364) remote: Counting objects: 27% (99/364) remote: Counting objects: 28% (102/364) remote: Counting objects: 29% (106/364) remote: Counting objects: 30% (110/364) remote: Counting objects: 31% (113/364) remote: Counting objects: 32% (117/364) remote: Counting objects: 33% (121/364) remote: Counting objects: 34% (124/364) remote: Counting objects: 35% (128/364) remote: Counting objects: 36% (132/364) remote: Counting objects: 37% (135/364) remote: Counting objects: 38% (139/364) remote: Counting objects: 39% (142/364) remote: Counting objects: 40% (146/364) remote: Counting objects: 41% (150/364) remote: Counting objects: 42% (153/364) remote: Counting objects: 43% (157/364) remote: Counting objects: 44% (161/364) remote: Counting objects: 45% (164/364) remote: Counting objects: 46% (168/364) remote: Counting objects: 47% (172/364) remote: Counting objects: 48% (175/364) remote: Counting objects: 49% (179/364) remote: Counting objects: 50% (182/364) remote: Counting objects: 51% (186/364) remote: Counting objects: 52% (190/364) remote: Counting objects: 53% (193/364) remote: Counting objects: 54% (197/364) remote: Counting objects: 55% (201/364) remote: Counting objects: 56% (204/364) remote: Counting objects: 57% (208/364) remote: Counting objects: 58% (212/364) remote: Counting objects: 59% (215/364) remote: Counting objects: 60% (219/364) remote: Counting objects: 61% (223/364) remote: Counting objects: 62% (226/364) remote: Counting objects: 63% (230/364) remote: Counting objects: 64% (233/364) remote: Counting objects: 65% (237/364) remote: Counting objects: 66% (241/364) remote: Counting objects: 67% (244/364) remote: Counting objects: 68% (248/364) remote: Counting objects: 69% (252/364) remote: Counting objects: 70% (255/364) remote: Counting objects: 71% (259/364) remote: Counting objects: 72% (263/364) remote: Counting objects: 73% (266/364) remote: Counting objects: 74% (270/364) remote: Counting objects: 75% (273/364) remote: Counting objects: 76% (277/364) remote: Counting objects: 77% (281/364) remote: Counting objects: 78% (284/364) remote: Counting objects: 79% (288/364) remote: Counting objects: 80% (292/364) remote: Counting objects: 81% (295/364) remote: Counting objects: 82% (299/364) remote: Counting objects: 83% (303/364) remote: Counting objects: 84% (306/364) remote: Counting objects: 85% (310/364) remote: Counting objects: 86% (314/364) remote: Counting objects: 87% (317/364) remote: Counting objects: 88% (321/364) remote: Counting objects: 89% (324/364) remote: Counting objects: 90% (328/364) remote: Counting objects: 91% (332/364) remote: Counting objects: 92% (335/364) remote: Counting objects: 93% (339/364) remote: Counting objects: 94% (343/364) remote: Counting objects: 95% (346/364) remote: Counting objects: 96% (350/364) remote: Counting objects: 97% (354/364) remote: Counting objects: 98% (357/364) remote: Counting objects: 99% (361/364) remote: Counting objects: 100% (364/364) remote: Counting objects: 100% (364/364), done. remote: Compressing objects: 0% (1/308) remote: Compressing objects: 1% (4/308) remote: Compressing objects: 2% (7/308) remote: Compressing objects: 3% (10/308) remote: Compressing objects: 4% (13/308) remote: Compressing objects: 5% (16/308) remote: Compressing objects: 6% (19/308) remote: Compressing objects: 7% (22/308) remote: Compressing objects: 8% (25/308) remote: Compressing objects: 9% (28/308) remote: Compressing objects: 10% (31/308) remote: Compressing objects: 11% (34/308) remote: Compressing objects: 12% (37/308) remote: Compressing objects: 13% (41/308) remote: Compressing objects: 14% (44/308) remote: Compressing objects: 15% (47/308) remote: Compressing objects: 16% (50/308) remote: Compressing objects: 17% (53/308) remote: Compressing objects: 18% (56/308) remote: Compressing objects: 19% (59/308) remote: Compressing objects: 20% (62/308) remote: Compressing objects: 21% (65/308) remote: Compressing objects: 22% (68/308) remote: Compressing objects: 23% (71/308) remote: Compressing objects: 24% (74/308) remote: Compressing objects: 25% (77/308) remote: Compressing objects: 26% (81/308) remote: Compressing objects: 27% (84/308) remote: Compressing objects: 28% (87/308) remote: Compressing objects: 29% (90/308) remote: Compressing objects: 30% (93/308) remote: Compressing objects: 31% (96/308) remote: Compressing objects: 32% (99/308) remote: Compressing objects: 33% (102/308) remote: Compressing objects: 34% (105/308) remote: Compressing objects: 35% (108/308) remote: Compressing objects: 36% (111/308) remote: Compressing objects: 37% (114/308) remote: Compressing objects: 38% (118/308) remote: Compressing objects: 39% (121/308) remote: Compressing objects: 40% (124/308) remote: Compressing objects: 41% (127/308) remote: Compressing objects: 42% (130/308) remote: Compressing objects: 43% (133/308) remote: Compressing objects: 44% (136/308) remote: Compressing objects: 45% (139/308) remote: Compressing objects: 46% (142/308) remote: Compressing objects: 47% (145/308) remote: Compressing objects: 48% (148/308) remote: Compressing objects: 49% (151/308) remote: Compressing objects: 50% (154/308) remote: Compressing objects: 51% (158/308) remote: Compressing objects: 52% (161/308) remote: Compressing objects: 53% (164/308) remote: Compressing objects: 54% (167/308) remote: Compressing objects: 55% (170/308) remote: Compressing objects: 56% (173/308) remote: Compressing objects: 57% (176/308) remote: Compressing objects: 58% (179/308) remote: Compressing objects: 59% (182/308) remote: Compressing objects: 60% (185/308) remote: Compressing objects: 61% (188/308) remote: Compressing objects: 62% (191/308) remote: Compressing objects: 63% (195/308) remote: Compressing objects: 64% (198/308) remote: Compressing objects: 65% (201/308) remote: Compressing objects: 66% (204/308) remote: Compressing objects: 67% (207/308) remote: Compressing objects: 68% (210/308) remote: Compressing objects: 69% (213/308) remote: Compressing objects: 70% (216/308) remote: Compressing objects: 71% (219/308) remote: Compressing objects: 72% (222/308) remote: Compressing objects: 73% (225/308) remote: Compressing objects: 74% (228/308) remote: Compressing objects: 75% (231/308) remote: Compressing objects: 76% (235/308) remote: Compressing objects: 77% (238/308) remote: Compressing objects: 78% (241/308) remote: Compressing objects: 79% (244/308) remote: Compressing objects: 80% (247/308) remote: Compressing objects: 81% (250/308) remote: Compressing objects: 82% (253/308) remote: Compressing objects: 83% (256/308) remote: Compressing objects: 84% (259/308) remote: Compressing objects: 85% (262/308) remote: Compressing objects: 86% (265/308) remote: Compressing objects: 87% (268/308) remote: Compressing objects: 88% (272/308) remote: Compressing objects: 89% (275/308) remote: Compressing objects: 90% (278/308) remote: Compressing objects: 91% (281/308) remote: Compressing objects: 92% (284/308) remote: Compressing objects: 93% (287/308) remote: Compressing objects: 94% (290/308) remote: Compressing objects: 95% (293/308) remote: Compressing objects: 96% (296/308) remote: Compressing objects: 97% (299/308) remote: Compressing objects: 98% (302/308) remote: Compressing objects: 99% (305/308) remote: Compressing objects: 100% (308/308) remote: Compressing objects: 100% (308/308), 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 55), reused 171 (delta 24), 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.62 MiB | 4.63 MiB/s, done. Resolving deltas: 0% (0/55) Resolving deltas: 1% (1/55) Resolving deltas: 3% (2/55) Resolving deltas: 5% (3/55) Resolving deltas: 9% (5/55) Resolving deltas: 10% (6/55) Resolving deltas: 12% (7/55) Resolving deltas: 14% (8/55) Resolving deltas: 16% (9/55) Resolving deltas: 18% (10/55) Resolving deltas: 20% (11/55) Resolving deltas: 21% (12/55) Resolving deltas: 23% (13/55) Resolving deltas: 25% (14/55) Resolving deltas: 27% (15/55) Resolving deltas: 29% (16/55) Resolving deltas: 32% (18/55) Resolving deltas: 34% (19/55) Resolving deltas: 36% (20/55) Resolving deltas: 38% (21/55) Resolving deltas: 40% (22/55) Resolving deltas: 41% (23/55) Resolving deltas: 43% (24/55) Resolving deltas: 45% (25/55) Resolving deltas: 47% (26/55) Resolving deltas: 49% (27/55) Resolving deltas: 50% (28/55) Resolving deltas: 54% (30/55) Resolving deltas: 56% (31/55) Resolving deltas: 58% (32/55) Resolving deltas: 60% (33/55) Resolving deltas: 61% (34/55) Resolving deltas: 63% (35/55) Resolving deltas: 65% (36/55) Resolving deltas: 67% (37/55) Resolving deltas: 69% (38/55) Resolving deltas: 72% (40/55) Resolving deltas: 74% (41/55) Resolving deltas: 76% (42/55) Resolving deltas: 78% (43/55) Resolving deltas: 80% (44/55) Resolving deltas: 81% (45/55) Resolving deltas: 83% (46/55) Resolving deltas: 85% (47/55) Resolving deltas: 87% (48/55) Resolving deltas: 89% (49/55) Resolving deltas: 90% (50/55) Resolving deltas: 92% (51/55) Resolving deltas: 94% (52/55) Resolving deltas: 96% (53/55) Resolving deltas: 98% (54/55) Resolving deltas: 100% (55/55) Resolving deltas: 100% (55/55), 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 miniz_oxide v0.7.4 Downloaded adler v1.0.2 Downloaded rustc-demangle v0.1.24 Downloaded getopts v0.2.21 Downloaded addr2line v0.22.0 Downloaded allocator-api2 v0.2.21 Downloaded hashbrown v0.15.2 Downloaded compiler_builtins v0.1.140 Downloaded gimli v0.29.0 Downloaded unicode-width v0.1.14 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 warning: `libc` (lib) generated 3 warnings Compiling unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/unwind) warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling gimli v0.29.0 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling hashbrown v0.15.2 Compiling miniz_oxide v0.7.4 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 24.23s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Updating crates.io index Downloading crates ... Downloaded ahash v0.8.11 Downloaded ar_archive_writer v0.4.2 Downloaded byteorder v1.5.0 Downloaded adler2 v2.0.0 Downloaded arrayvec v0.7.6 Downloaded rustc_version v0.4.1 Downloaded blake3 v1.5.5 Downloaded scopeguard v1.2.0 Downloaded memmap2 v0.2.3 Downloaded tinyvec_macros v0.1.1 Downloaded time-core v0.1.2 Downloaded num_cpus v1.16.0 Downloaded intl-memoizer v0.5.2 Downloaded ruzstd v0.7.3 Downloaded yoke-derive v0.7.5 Downloaded proc-macro-hack v0.5.20+deprecated Downloaded derive-where v1.2.7 Downloaded zerofrom-derive v0.1.5 Downloaded twox-hash v1.6.3 Downloaded termize v0.1.1 Downloaded regex-automata v0.1.10 Downloaded rustc-hash v2.1.1 Downloaded zerocopy-derive v0.7.35 Downloaded rustc-rayon-core v0.5.0 Downloaded unicode-security v0.1.2 Downloaded rustc-hash v1.1.0 Downloaded zerovec v0.10.4 Downloaded zerocopy v0.7.35 Downloaded serde_json v1.0.134 Downloaded tracing-subscriber v0.3.18 Downloaded time v0.3.37 Downloaded rustc-rayon v0.5.0 Downloaded wasmparser v0.219.1 Downloaded wasmparser v0.222.0 Downloaded syn v2.0.93 Downloaded unicode-width v0.2.0 Downloaded rustix v0.38.42 Downloaded tracing-tree v0.3.1 Downloaded regex-syntax v0.6.29 Downloaded unicode-normalization v0.1.24 Downloaded ppv-lite86 v0.2.20 Downloaded itertools v0.12.1 Downloaded unic-langid-impl v0.9.5 Downloaded tracing v0.1.37 Downloaded serde v1.0.217 Downloaded rustc_apfloat v0.2.2+llvm-462a31f5a5ab Downloaded nix v0.29.0 Downloaded unicode-script v0.5.7 Downloaded tracing-core v0.1.30 Downloaded tinyvec v1.8.1 Downloaded sharded-slab v0.1.7 Downloaded serde_derive v1.0.217 Downloaded pin-project-lite v0.2.15 Downloaded wasm-encoder v0.219.1 Downloaded unicode-properties v0.1.3 Downloaded unicode-ident v1.0.14 Downloaded tracing-attributes v0.1.28 Downloaded thorin-dwp v0.8.0 Downloaded thin-vec v0.2.13 Downloaded tempfile v3.14.0 Downloaded smallvec v1.13.2 Downloaded sha1 v0.10.6 Downloaded semver v1.0.24 Downloaded rand_xoshiro v0.6.0 Downloaded odht v0.3.1 Downloaded zerovec-derive v0.10.3 Downloaded yoke v0.7.5 Downloaded writeable v0.5.5 Downloaded unicode-xid v0.2.6 Downloaded unicase v2.8.1 Downloaded unic-langid v0.9.5 Downloaded tracing-log v0.2.0 Downloaded time-macros v0.2.19 Downloaded thiserror v1.0.69 Downloaded static_assertions v1.1.0 Downloaded rand_core v0.6.4 Downloaded pulldown-cmark-escape v0.11.0 Downloaded proc-macro2 v1.0.92 Downloaded measureme v11.0.1 Downloaded cfg_aliases v0.2.1 Downloaded regex v1.11.1 Downloaded pathdiff v0.2.3 Downloaded parking_lot_core v0.9.10 Downloaded once_cell v1.20.2 Downloaded md-5 v0.10.6 Downloaded matchers v0.1.0 Downloaded cpufeatures v0.2.16 Downloaded tinystr v0.7.6 Downloaded synstructure v0.13.1 Downloaded strsim v0.11.1 Downloaded stacker v0.1.17 Downloaded stable_deref_trait v1.2.0 Downloaded self_cell v1.1.0 Downloaded self_cell v0.10.3 Downloaded rustc-stable-hash v0.1.1 Downloaded rand_chacha v0.3.1 Downloaded quote v1.0.38 Downloaded punycode v0.4.1 Downloaded psm v0.1.24 Downloaded powerfmt v0.2.0 Downloaded polonius-engine v0.13.0 Downloaded nu-ansi-term v0.46.0 Downloaded memoffset v0.9.1 Downloaded litemap v0.7.4 Downloaded leb128 v0.2.5 Downloaded lazy_static v1.5.0 Downloaded gimli v0.30.0 Downloaded field-offset v0.3.6 Downloaded fallible-iterator v0.3.0 Downloaded equivalent v1.0.1 Downloaded displaydoc v0.2.5 Downloaded derive_setters v0.1.6 Downloaded datafrog v2.0.1 Downloaded crossbeam-utils v0.8.21 Downloaded crossbeam-channel v0.5.14 Downloaded zerofrom v0.1.5 Downloaded unic-langid-macros v0.9.5 Downloaded type-map v0.5.0 Downloaded thread_local v1.1.8 Downloaded thiserror-impl v1.0.69 Downloaded icu_list_data v1.5.0 Downloaded elsa v1.7.1 Downloaded darling_core v0.20.10 Downloaded constant_time_eq v0.3.1 Downloaded parking_lot v0.12.3 Downloaded num-conv v0.1.0 Downloaded nu-ansi-term v0.50.1 Downloaded libloading v0.8.6 Downloaded jobserver v0.1.32 Downloaded itoa v1.0.14 Downloaded intl_pluralrules v7.0.2 Downloaded fnv v1.0.7 Downloaded fluent-bundle v0.15.3 Downloaded flate2 v1.0.35 Downloaded deranged v0.3.11 Downloaded crc32fast v1.4.2 Downloaded unic-langid-macros-impl v0.9.5 Downloaded regex-automata v0.2.0 Downloaded rand v0.8.5 Downloaded pulldown-cmark v0.11.3 Downloaded perf-event-open-sys v3.0.0 Downloaded overload v0.1.1 Downloaded indexmap v2.7.0 Downloaded icu_list v1.5.0 Downloaded gsgdt v0.1.2 Downloaded fastrand v2.3.0 Downloaded lock_api v0.4.12 Downloaded ident_case v1.0.1 Downloaded foldhash v0.1.4 Downloaded darling v0.20.10 Downloaded ctrlc v3.4.5 Downloaded crossbeam-deque v0.8.6 Downloaded icu_provider_macros v1.5.0 Downloaded icu_locid_transform_data v1.5.0 Downloaded getrandom v0.2.15 Downloaded fluent-syntax v0.11.1 Downloaded errno v0.3.10 Downloaded ena v0.14.3 Downloaded darling_macro v0.20.10 Downloaded cc v1.2.6 Downloaded miniz_oxide v0.8.2 Downloaded icu_provider v1.5.0 Downloaded either v1.13.0 Downloaded scoped-tls v1.0.1 Downloaded icu_provider_adapters v1.5.0 Downloaded icu_locid_transform v1.5.0 Downloaded icu_locid v1.5.0 Downloaded hashbrown v0.14.5 Downloaded fluent-langneg v0.13.0 Downloaded annotate-snippets v0.11.5 Downloaded autocfg v1.4.0 Downloaded arrayref v0.3.9 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 either v1.13.0 Compiling bitflags v2.6.0 Compiling foldhash v0.1.4 Compiling memchr v2.7.4 Compiling cc v1.2.6 Compiling hashbrown v0.15.2 Compiling equivalent v1.0.1 Compiling typenum v1.17.0 Compiling parking_lot_core v0.9.10 Compiling tracing-core v0.1.30 Compiling generic-array v0.14.7 Compiling scopeguard v1.2.0 Compiling lock_api v0.4.12 Compiling log v0.4.22 Compiling rustc-hash v1.1.0 Compiling pin-project-lite v0.2.15 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 Compiling proc-macro-hack v0.5.20+deprecated 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 quote v1.0.38 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.14 Compiling syn v2.0.93 Compiling crossbeam-deque v0.8.6 Compiling rustix v0.38.42 Compiling thin-vec v0.2.13 Compiling linux-raw-sys v0.4.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:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation Compiling byteorder v1.5.0 Compiling fastrand v2.3.0 Compiling arrayvec v0.7.6 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/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior Compiling cpufeatures v0.2.16 Compiling ena v0.14.3 Compiling rustc_arena v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_arena) Compiling elsa v1.7.1 Compiling unicode-width v0.2.0 Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling rustc-hash v2.1.1 Compiling constant_time_eq v0.3.1 Compiling arrayref v0.3.9 Compiling scoped-tls v1.0.1 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling rustc-stable-hash v0.1.1 Compiling serde v1.0.217 Compiling num_cpus v1.16.0 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling memmap2 v0.2.3 Compiling perf-event-open-sys v3.0.0 Compiling rustc-rayon-core v0.5.0 Compiling parking_lot v0.12.3 Compiling digest v0.10.7 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 jobserver v0.1.32 Compiling getrandom v0.2.15 Compiling thiserror v1.0.69 Compiling sha1 v0.10.6 Compiling sha2 v0.10.8 Compiling measureme v11.0.1 Compiling rand_core v0.6.4 Compiling md-5 v0.10.6 Compiling static_assertions v1.1.0 Compiling adler2 v2.0.0 Compiling wasmparser v0.222.0 Compiling rustc-rayon v0.5.0 Compiling miniz_oxide v0.8.2 Compiling crc32fast v1.4.2 Compiling object v0.36.7 Compiling serde_json v1.0.134 Compiling litemap v0.7.4 Compiling writeable v0.5.5 Compiling flate2 v1.0.35 Compiling unicode-xid v0.2.6 Compiling unicode-properties v0.1.3 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 tempfile v3.14.0 Compiling rand_xoshiro v0.6.0 Compiling regex-automata v0.2.0 Compiling type-map v0.5.0 Compiling ident_case v1.0.1 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) 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 termcolor v1.4.1 Compiling unicode-width v0.1.14 Compiling synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling annotate-snippets v0.11.5 Compiling indexmap v2.7.0 Compiling getopts v0.2.21 Compiling semver v1.0.24 Compiling memoffset v0.9.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling datafrog v2.0.1 Compiling tinyvec_macros v0.1.1 Compiling tinyvec v1.8.1 Compiling aho-corasick v1.1.3 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling rustc_version v0.4.1 Compiling polonius-engine v0.13.0 Compiling field-offset v0.3.6 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 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 zerocopy-derive v0.7.35 Compiling tinystr v0.7.6 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 unic-langid-macros-impl v0.9.5 Compiling tracing v0.1.37 Compiling zerocopy v0.7.35 Compiling derive-where v1.2.7 Compiling zerofrom v0.1.5 Compiling serde_derive v1.0.217 Compiling thiserror-impl v1.0.69 Compiling yoke v0.7.5 Compiling icu_provider_macros v1.5.0 Compiling zerovec v0.10.4 Compiling unic-langid-macros v0.9.5 Compiling unic-langid v0.9.5 Compiling intl-memoizer v0.5.2 Compiling ppv-lite86 v0.2.20 Compiling intl_pluralrules v7.0.2 Compiling fluent-langneg v0.13.0 Compiling darling_macro v0.20.10 Compiling rand_chacha v0.3.1 Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling rand v0.8.5 Compiling icu_locid v1.5.0 Compiling fluent-syntax v0.11.1 Compiling darling v0.20.10 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling twox-hash v1.6.3 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling icu_provider v1.5.0 Compiling ruzstd v0.7.3 Compiling icu_locid_transform v1.5.0 Compiling fluent-bundle v0.15.3 Compiling icu_list v1.5.0 Compiling icu_provider_adapters v1.5.0 Compiling rustc_fluent_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fluent_macro) 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 derive_setters v0.1.6 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 leb128 v0.2.5 Compiling overload v0.1.1 Compiling cfg_aliases v0.2.1 Compiling rustc-demangle v0.1.24 Compiling punycode v0.4.1 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_error_messages v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_messages) Compiling pulldown-cmark v0.11.3 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 gsgdt v0.1.2 Compiling matchers v0.1.0 Compiling sharded-slab v0.1.7 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 rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling regex v1.11.1 Compiling thorin-dwp v0.8.0 Compiling ar_archive_writer v0.4.2 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 nix v0.29.0 Compiling nu-ansi-term v0.46.0 Compiling thread_local v1.1.8 Compiling pathdiff v0.2.3 Compiling unicase v2.8.1 Compiling pulldown-cmark-escape v0.11.0 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling nu-ansi-term v0.50.1 Compiling powerfmt v0.2.0 Compiling time-core v0.1.2 Compiling num-conv v0.1.0 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 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 rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling tracing-tree v0.3.1 Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling ctrlc v3.4.5 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_errors v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_errors) Compiling rustc_hir_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_pretty) 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_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_incremental v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_incremental) Compiling rustc_symbol_mangling v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_symbol_mangling) Compiling rustc_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_query_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_impl) Compiling rustc_monomorphize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_monomorphize) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) Compiling rustc_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_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) 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_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_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) Compiling rustc_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_mir_transform v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_transform) Compiling rustc_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_hir_typeck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_typeck) 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 33s 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_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 std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling miniz_oxide v0.7.4 Compiling hashbrown v0.15.2 Compiling addr2line v0.22.0 Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 39.31s 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 foldhash v0.1.4 Compiling memchr v2.7.4 Compiling cc v1.2.6 Compiling hashbrown v0.15.2 Compiling equivalent v1.0.1 Compiling typenum v1.17.0 Compiling parking_lot_core v0.9.10 Compiling tracing-core v0.1.30 Compiling generic-array v0.14.7 Compiling log v0.4.22 Compiling lock_api v0.4.12 Compiling scopeguard v1.2.0 Compiling pin-project-lite v0.2.15 Compiling rustc-hash v1.1.0 Compiling rustc_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_macros) 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 proc-macro-hack v0.5.20+deprecated Compiling rustix v0.38.42 Compiling thin-vec v0.2.13 Compiling quote v1.0.38 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.14 Compiling syn v2.0.93 Compiling crossbeam-deque v0.8.6 Compiling linux-raw-sys v0.4.14 Compiling byteorder v1.5.0 Compiling cpufeatures v0.2.16 Compiling itoa v1.0.14 Compiling arrayvec v0.7.6 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/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation Compiling elsa v1.7.1 Compiling arrayref v0.3.9 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling rustc-hash v2.1.1 Compiling unicode-width v0.2.0 Compiling scoped-tls v1.0.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/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 Compiling constant_time_eq v0.3.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/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior Compiling rustc-stable-hash v0.1.1 Compiling serde v1.0.217 Compiling thiserror v1.0.69 Compiling static_assertions v1.1.0 Compiling adler2 v2.0.0 Compiling wasmparser v0.222.0 Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling miniz_oxide v0.8.2 Compiling crc32fast v1.4.2 Compiling litemap v0.7.4 Compiling object v0.36.7 Compiling serde_json v1.0.134 Compiling writeable v0.5.5 Compiling num_cpus v1.16.0 Compiling perf-event-open-sys v3.0.0 Compiling memmap2 v0.2.3 Compiling rustc-rayon-core v0.5.0 Compiling parking_lot v0.12.3 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling jobserver v0.1.32 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 getrandom v0.2.15 Compiling digest v0.10.7 Compiling flate2 v1.0.35 Compiling measureme v11.0.1 Compiling sha2 v0.10.8 Compiling md-5 v0.10.6 Compiling sha1 v0.10.6 Compiling rand_core v0.6.4 Compiling rustc-rayon v0.5.0 Compiling ryu v1.0.18 Compiling unicode-properties v0.1.3 Compiling unicode-xid v0.2.6 Compiling icu_locid_transform_data v1.5.0 Compiling rustc_lexer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lexer) Compiling rand_xoshiro v0.6.0 Compiling regex-automata v0.2.0 Compiling type-map v0.5.0 Compiling tempfile v3.14.0 Compiling ident_case v1.0.1 Compiling icu_list_data v1.5.0 Compiling self_cell v1.1.0 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 rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) Compiling unicode-width v0.1.14 Compiling annotate-snippets v0.11.5 Compiling termcolor v1.4.1 Compiling getopts v0.2.21 Compiling semver v1.0.24 Compiling memoffset v0.9.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling datafrog v2.0.1 Compiling rustc_version v0.4.1 Compiling tinyvec_macros v0.1.1 Compiling synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling polonius-engine v0.13.0 Compiling field-offset v0.3.6 Compiling tinyvec v1.8.1 Compiling indexmap v2.7.0 Compiling aho-corasick v1.1.3 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-demangle v0.1.24 Compiling leb128 v0.2.5 Compiling punycode v0.4.1 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling gimli v0.30.0 Compiling unicode-security v0.1.2 Compiling pulldown-cmark v0.11.3 Compiling lazy_static v1.5.0 Compiling cfg_aliases v0.2.1 Compiling sharded-slab v0.1.7 Compiling nix v0.29.0 Compiling displaydoc v0.2.5 Compiling zerofrom-derive v0.1.5 Compiling tracing-attributes v0.1.28 Compiling yoke-derive v0.7.5 Compiling zerovec-derive v0.10.3 Compiling tinystr v0.7.6 Compiling unic-langid-impl v0.9.5 Compiling 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 serde_derive v1.0.217 Compiling zerofrom v0.1.5 Compiling thiserror-impl v1.0.69 Compiling yoke v0.7.5 Compiling tracing v0.1.37 Compiling zerovec v0.10.4 Compiling zerocopy v0.7.35 Compiling icu_provider_macros v1.5.0 Compiling unic-langid-macros v0.9.5 Compiling unic-langid v0.9.5 Compiling intl_pluralrules v7.0.2 Compiling intl-memoizer v0.5.2 Compiling fluent-langneg v0.13.0 Compiling ppv-lite86 v0.2.20 Compiling darling_macro v0.20.10 Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling regex-automata v0.4.9 Compiling rand_chacha v0.3.1 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling fluent-syntax v0.11.1 Compiling rand v0.8.5 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling icu_locid v1.5.0 Compiling twox-hash v1.6.3 Compiling darling v0.20.10 Compiling ruzstd v0.7.3 Compiling icu_provider v1.5.0 Compiling fluent-bundle v0.15.3 Compiling rustc_span v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_span) Compiling icu_locid_transform v1.5.0 Compiling icu_list v1.5.0 Compiling icu_provider_adapters v1.5.0 Compiling rustc_fluent_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fluent_macro) Compiling derive_setters v0.1.6 Compiling rustc_parse_format v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse_format) Compiling regex v1.11.1 Compiling rustc_baked_icu_data v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_baked_icu_data) 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 hashbrown v0.14.5 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 gsgdt v0.1.2 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 thorin-dwp v0.8.0 Compiling ar_archive_writer v0.4.2 Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling nu-ansi-term v0.46.0 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 unicase v2.8.1 Compiling pulldown-cmark-escape v0.11.0 Compiling pathdiff v0.2.3 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling time-core v0.1.2 Compiling nu-ansi-term v0.50.1 Compiling num-conv v0.1.0 Compiling powerfmt v0.2.0 Compiling deranged v0.3.11 Compiling time-macros v0.2.19 Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling tracing-tree v0.3.1 Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) 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 time v0.3.37 Compiling ctrlc v3.4.5 Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) 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_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_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_symbol_mangling v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_symbol_mangling) Compiling rustc_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_monomorphize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_monomorphize) Compiling rustc_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_privacy v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_privacy) Compiling rustc_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_codegen_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) Compiling rustc_mir_build v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_build) Compiling rustc_const_eval v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_const_eval) Compiling rustc_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) Compiling rustc_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) Compiling rustc_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_hir_typeck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_typeck) Compiling rustc_mir_transform v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_transform) Compiling rustc_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) Compiling rustc_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_passes) Compiling rustc_interface v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver_impl) Compiling rustc_driver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver) Finished `release` profile [optimized] target(s) in 3m 50s 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:04 xbstrap: install-tool host-rust@compiler [69/74] [2025-04-04 00:47:45.892549 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 68, 'status': 'success', 'subject': 'host-rust@compiler'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'rustc', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1654428 (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.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`) Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded nom v7.1.3 Downloaded mime v0.3.17 Downloaded threadpool v1.8.1 Downloaded rinja v0.3.5 Downloaded mime_guess v2.0.5 Downloaded basic-toml v0.1.9 Downloaded rinja_parser v0.3.5 Downloaded unicode-segmentation v1.12.0 Downloaded minimal-lexical v0.2.1 Downloaded pulldown-cmark v0.9.6 Downloaded base64 v0.21.7 Downloaded rinja_derive v0.3.5 Downloaded minifier v0.3.2 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling serde v1.0.217 Compiling version_check v0.9.5 Compiling typenum v1.17.0 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling memchr v2.7.4 Compiling cfg-if v1.0.0 Compiling once_cell v1.20.2 Compiling autocfg v1.4.0 Compiling unicase v2.8.1 Compiling parking_lot_core v0.9.10 Compiling regex-syntax v0.8.5 Compiling regex-syntax v0.6.29 Compiling mime_guess v2.0.5 Compiling tracing-core v0.1.30 Compiling scopeguard v1.2.0 Compiling generic-array v0.14.7 Compiling minimal-lexical v0.2.1 Compiling smallvec v1.13.2 Compiling lock_api v0.4.12 Compiling bitflags v2.6.0 Compiling nom v7.1.3 Compiling overload v0.1.1 Compiling cpufeatures v0.2.16 Compiling aho-corasick v1.1.3 Compiling rustix v0.38.42 Compiling quote v1.0.38 Compiling mime v0.3.17 Compiling lazy_static v1.5.0 Compiling syn v2.0.93 Compiling pin-project-lite v0.2.15 Compiling sharded-slab v0.1.7 Compiling nu-ansi-term v0.46.0 Compiling thread_local v1.1.8 Compiling parking_lot v0.12.3 Compiling pulldown-cmark v0.9.6 Compiling itoa v1.0.14 Compiling rustc-hash v2.1.1 Compiling serde_json v1.0.134 Compiling linux-raw-sys v0.4.14 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling log v0.4.22 Compiling num_cpus v1.16.0 Compiling digest v0.10.7 Compiling hashbrown v0.15.2 Compiling fastrand v2.3.0 Compiling sha2 v0.10.8 Compiling tracing-log v0.2.0 Compiling equivalent v1.0.1 Compiling either v1.13.0 Compiling regex-automata v0.4.9 Compiling regex-automata v0.1.10 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 indexmap v2.7.0 Compiling itertools v0.12.1 Compiling threadpool v1.8.1 Compiling base64 v0.21.7 Compiling matchers v0.1.0 Compiling arrayvec v0.7.6 Compiling minifier v0.3.2 Compiling unicode-segmentation v1.12.0 Compiling tempfile v3.14.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 rinja_parser v0.3.5 Compiling basic-toml v0.1.9 Compiling rustdoc-json-types v0.1.0 (/var/lib/managarm-buildenv/src/ports/rust/src/rustdoc-json-types) Compiling rinja_derive v0.3.5 Compiling rinja v0.3.5 Compiling rustdoc-tool v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/rustdoc) Finished `release` profile [optimized] target(s) in 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 colorchoice v1.0.3 Downloaded anstream v0.6.18 Downloaded anyhow v1.0.95 Downloaded is_terminal_polyfill v1.70.1 Downloaded anstyle-query v1.1.2 Downloaded clap_lex v0.7.4 Downloaded clap v4.5.23 Downloaded utf8parse v0.2.2 Downloaded rayon-core v1.12.1 Downloaded rayon v1.10.0 Downloaded clap_builder v4.5.23 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling proc-macro2 v1.0.92 Compiling crossbeam-utils v0.8.21 Compiling shlex v1.3.0 Compiling unicode-ident v1.0.14 Compiling cfg-if v1.0.0 Compiling utf8parse v0.2.2 Compiling pkg-config v0.3.31 Compiling rustix v0.38.42 Compiling anstyle-query v1.1.2 Compiling bitflags v2.6.0 Compiling linux-raw-sys v0.4.14 Compiling anstyle-parse v0.2.6 Compiling is_terminal_polyfill v1.70.1 Compiling anstyle v1.0.10 Compiling rayon-core v1.12.1 Compiling cc v1.2.6 Compiling colorchoice v1.0.3 Compiling clap_lex v0.7.4 Compiling anstream v0.6.18 Compiling strsim v0.11.1 Compiling heck v0.5.0 Compiling anyhow v1.0.95 Compiling adler2 v2.0.0 Compiling clap_builder v4.5.23 Compiling miniz_oxide v0.8.2 Compiling crc32fast v1.4.2 Compiling either v1.13.0 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 same-file v1.0.6 Compiling walkdir v2.5.0 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.38 Compiling syn v2.0.93 warning: `libc` (lib) generated 3 warnings Compiling crossbeam-deque v0.8.6 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.36s Dist rustc-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.204 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 [70/74] [2025-04-04 00:49:03.298691 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 69, 'status': 'success', 'subject': 'host-rust@compiler'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'clippy', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1658057 (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)) Downloading crates ... Downloaded cargo-platform v0.1.9 Downloaded form_urlencoded v1.2.1 Downloaded color-print v0.3.7 Downloaded icu_collections v1.5.0 Downloaded write16 v1.0.0 Downloaded utf16_iter v1.0.5 Downloaded rustc_tools_util v0.4.0 Downloaded quine-mc_cluskey v0.2.4 Downloaded cargo_metadata v0.18.1 Downloaded serde_spanned v0.6.8 Downloaded utf8_iter v1.0.4 Downloaded idna_adapter v1.2.0 Downloaded color-print-proc-macro v0.3.7 Downloaded toml_datetime v0.6.8 Downloaded percent-encoding v2.3.1 Downloaded camino v1.1.9 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 icu_properties v1.5.1 Downloaded idna v1.0.3 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 icu_normalizer_data v1.5.0 Compiling hashbrown v0.15.2 Compiling utf8_iter v1.0.4 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling write16 v1.0.0 Compiling utf16_iter v1.0.5 Compiling equivalent v1.0.1 Compiling bitflags v2.6.0 Compiling serde_json v1.0.134 Compiling camino v1.1.9 Compiling thiserror v1.0.69 Compiling either v1.13.0 Compiling semver v1.0.24 Compiling winnow v0.5.40 Compiling percent-encoding v2.3.1 Compiling arrayvec v0.7.6 Compiling itertools v0.12.1 Compiling minimal-lexical v0.2.1 Compiling tinyvec_macros v0.1.1 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling itoa v1.0.14 Compiling memchr v2.7.4 Compiling ryu v1.0.18 Compiling tinyvec v1.8.1 Compiling form_urlencoded v1.2.1 Compiling utf8parse v0.2.2 Compiling rustc_tools_util v0.4.0 Compiling quote v1.0.38 Compiling indexmap v2.7.0 Compiling anstyle-parse v0.2.6 Compiling clippy v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy) Compiling syn v2.0.93 Compiling nom v7.1.3 Compiling regex-syntax v0.8.5 Compiling anstyle v1.0.10 Compiling is_terminal_polyfill v1.70.1 Compiling anstyle-query v1.1.2 Compiling unicode-script v0.5.7 Compiling quine-mc_cluskey v0.2.4 Compiling colorchoice v1.0.3 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 cargo-platform v0.1.9 Compiling clippy_utils v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_utils) Compiling toml_edit v0.19.15 Compiling 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 20s 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:25 xbstrap: install-tool host-rust@clippy [71/74] [2025-04-04 00:50:28.817394 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 70, 'status': 'success', 'subject': 'host-rust@clippy'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'clippy', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1659684 (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`) 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.14s 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 [72/74] [2025-04-04 00:50:34.356628 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 71, 'status': 'success', 'subject': 'host-rust@clippy'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'std', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1660378 (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 hashbrown v0.15.2 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling miniz_oxide v0.7.4 Compiling addr2line v0.22.0 Finished `release` profile [optimized] target(s) in 34.39s 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:38 xbstrap: install-tool host-rust@std [73/74] [2025-04-04 00:51:13.253149 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 72, 'status': 'success', 'subject': 'host-rust@std'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'std', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1661284 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.07s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.04s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.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.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.26s 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.81s 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.14s Dist rust-std-1.85.1-dev-x86_64-unknown-managarm-mlibc finished in 0.100 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.113 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 [74/74] [2025-04-04 00:51:24.110114 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 74, 'n_this': 73, 'status': 'success', 'subject': 'host-rust@std'} [2025-04-04 00:52:22.858561 chopin] DEBUG: xbbs.worker: got notify {'action': 'archive-tool', 'architecture': 'noarch', 'artifact_files': [], 'n_all': 74, 'n_this': 74, 'status': 'success', 'subject': 'host-rust'} [2025-04-04 00:52:26.736869 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='0ddfbfd720a1b5361c281226ec4f275b206e782c', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'linux-headers': {'architecture': 'x86_64', 'version': '6.12.8_2'}, 'libdrm-headers': {'architecture': 'x86_64', 'version': '2.4.124_1'}, 'frigg': {'architecture': 'x86_64', 'version': '0.0pl358_7'}, 'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4438_1'}, 'mlibc': {'architecture': 'x86_64', 'version': '0.0pl4438_1'}}, needed_tools={'host-llvm-toolchain': {'architecture': {'x86_64'}, 'version': '19.1.7_1'}, 'host-libffi': {'architecture': 'x86_64', 'version': '3.4.4_1'}, 'system-gcc': {'architecture': 'x86_64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'x86_64'}, 'version': '3.10.12_1'}, 'cross-binutils': {'architecture': 'x86_64', 'version': '2.43.1_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-04-04 00:52:26.737228 chopin] INFO: xbbs.worker: job done. return code: 0