[2025-04-27 03:54:50.340152 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm_riscv', job='tool:host-rust', repository='https://github.com/managarm/bootstrap-managarm.git', revision='e436f776222aedcd25e6cf2433efd58ed6059422', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'mlibc-headers': {'architecture': 'riscv64', 'version': '0.0pl4468_1'}, 'libdrm-headers': {'architecture': 'riscv64', 'version': '2.4.124_1'}, 'frigg': {'architecture': 'riscv64', 'version': '0.0pl358_7'}, 'linux-headers': {'architecture': 'riscv64', 'version': '6.12.8_2'}, 'mlibc': {'architecture': 'riscv64', 'version': '0.0pl4468_1'}}, needed_tools={'host-python': {'architecture': {'riscv64'}, 'version': '3.10.12_1'}, 'cross-binutils': {'architecture': 'riscv64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'riscv64', 'version': '14.2.0_1'}, 'host-libffi': {'architecture': 'riscv64', 'version': '3.4.4_1'}, 'host-llvm-toolchain': {'architecture': {'riscv64'}, 'version': '19.1.7_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'riscv64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_riscv/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_riscv/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/riscv64/') [2025-04-27 03:54:50.340545 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-27 03:54:50.351333 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-27 03:54:50.358652 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-27 03:54:51.270583 chopin] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', 'e436f776222aedcd25e6cf2433efd58ed6059422'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at e436f77 Merge pull request #509 from 48cf/sqlite-soname [2025-04-27 03:54:51.312752 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-27 03:54:55.372963 chopin] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm_riscv/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'mlibc-headers', 'libdrm-headers', 'frigg', 'linux-headers', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_riscv/package_repo/riscv64-repodata' ... riscv64-repodata: [3132B 100%] 166MB/s ETA: 00m00s riscv64-repodata: 3132B [avg rate: 166MB/s] 5 packages will be downloaded: 5 packages will be installed: mlibc-headers-0.0pl4468_1 libdrm-headers-2.4.124_1 frigg-0.0pl358_7 linux-headers-6.12.8_2 mlibc-0.0pl4468_1 Size to download: 7412KB Size required on disk: 29MB Space available on disk: 655GB [*] Downloading packages mlibc-headers-0.0pl4468_1.riscv64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.riscv64.xbps.sig2: 512B [avg rate: 38MB/s] mlibc-headers-0.0pl4468_1.riscv64.xbps: [99KB 4%] 230MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.riscv64.xbps: 99KB [avg rate: 5706MB/s] mlibc-headers-0.0pl4468_1: verifying RSA signature... libdrm-headers-2.4.124_1.riscv64.xbps.sig2: [512B 100%] 44MB/s ETA: 00m00s libdrm-headers-2.4.124_1.riscv64.xbps.sig2: 512B [avg rate: 44MB/s] libdrm-headers-2.4.124_1.riscv64.xbps: [120KB 3%] 217MB/s ETA: 00m00s libdrm-headers-2.4.124_1.riscv64.xbps: 120KB [avg rate: 6527MB/s] libdrm-headers-2.4.124_1: verifying RSA signature... frigg-0.0pl358_7.riscv64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s frigg-0.0pl358_7.riscv64.xbps.sig2: 512B [avg rate: 38MB/s] frigg-0.0pl358_7.riscv64.xbps: [42KB 9%] 279MB/s ETA: 00m00s frigg-0.0pl358_7.riscv64.xbps: 42KB [avg rate: 2925MB/s] frigg-0.0pl358_7: verifying RSA signature... linux-headers-6.12.8_2.riscv64.xbps.sig2: [512B 100%] 44MB/s ETA: 00m00s linux-headers-6.12.8_2.riscv64.xbps.sig2: 512B [avg rate: 44MB/s] linux-headers-6.12.8_2.riscv64.xbps: [3054KB 0%] 279MB/s ETA: 00m00s linux-headers-6.12.8_2.riscv64.xbps: 3054KB [avg rate: 208GB/s] linux-headers-6.12.8_2: verifying RSA signature... mlibc-0.0pl4468_1.riscv64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s mlibc-0.0pl4468_1.riscv64.xbps.sig2: 512B [avg rate: 38MB/s] mlibc-0.0pl4468_1.riscv64.xbps: [4094KB 0%] 279MB/s ETA: 00m00s mlibc-0.0pl4468_1.riscv64.xbps: 4094KB [avg rate: 279GB/s] mlibc-0.0pl4468_1: verifying RSA signature... [*] Collecting package files mlibc-headers-0.0pl4468_1: collecting files... libdrm-headers-2.4.124_1: collecting files... frigg-0.0pl358_7: collecting files... linux-headers-6.12.8_2: collecting files... mlibc-0.0pl4468_1: collecting files... [*] Unpacking packages mlibc-headers-0.0pl4468_1: unpacking ... libdrm-headers-2.4.124_1: unpacking ... frigg-0.0pl358_7: unpacking ... linux-headers-6.12.8_2: unpacking ... mlibc-0.0pl4468_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-04-27 03:54:55.951093 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2025-04-27 03:54:55.951511 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl358_7.riscv64.xbps [2025-04-27 03:54:55.951881 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl358_7.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl358_7' (riscv64). index: 1 packages registered. [2025-04-27 03:54:55.968222 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4468_1.riscv64.xbps [2025-04-27 03:54:55.972590 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4468_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4468_1' (riscv64). index: 2 packages registered. [2025-04-27 03:54:55.993663 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.riscv64.xbps [2025-04-27 03:54:55.996791 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.12.8_2.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.12.8_2' (riscv64). index: 3 packages registered. [2025-04-27 03:54:56.014895 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4468_1.riscv64.xbps [2025-04-27 03:54:56.015363 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4468_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4468_1' (riscv64). index: 4 packages registered. [2025-04-27 03:54:56.032151 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.riscv64.xbps [2025-04-27 03:54:56.032797 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.124_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.124_1' (riscv64). index: 5 packages registered. [2025-04-27 03:55:10.140458 chopin] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'tool:host-rust'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch rust checkout rust patch rust regenerate rust fetch rust-backtrace checkout rust-backtrace patch rust-backtrace regenerate rust-backtrace fetch rust-calloop checkout rust-calloop patch rust-calloop regenerate rust-calloop fetch rust-cc checkout rust-cc patch rust-cc regenerate rust-cc fetch rust-errno checkout rust-errno patch rust-errno regenerate rust-errno fetch rust-getrandom-0.2 checkout rust-getrandom-0.2 patch rust-getrandom-0.2 regenerate rust-getrandom-0.2 fetch rust-getrandom-0.3 checkout rust-getrandom-0.3 patch rust-getrandom-0.3 regenerate rust-getrandom-0.3 fetch rust-glutin checkout rust-glutin patch rust-glutin regenerate rust-glutin fetch rust-libc checkout rust-libc patch rust-libc regenerate rust-libc fetch rust-libloading checkout rust-libloading patch rust-libloading regenerate rust-libloading fetch rust-mio-0.6 checkout rust-mio-0.6 patch rust-mio-0.6 regenerate rust-mio-0.6 fetch rust-mio-0.8 checkout rust-mio-0.8 patch rust-mio-0.8 regenerate rust-mio-0.8 fetch rust-mio-1.0 checkout rust-mio-1.0 patch rust-mio-1.0 regenerate rust-mio-1.0 fetch rust-nix checkout rust-nix patch rust-nix regenerate rust-nix fetch rust-num-cpus checkout rust-num-cpus patch rust-num-cpus regenerate rust-num-cpus fetch rust-patched-libs checkout rust-patched-libs patch rust-patched-libs fetch rust-rustix checkout rust-rustix patch rust-rustix regenerate rust-rustix fetch rust-shared-library checkout rust-shared-library patch rust-shared-library regenerate rust-shared-library fetch rust-users checkout rust-users patch rust-users regenerate rust-users fetch rust-uzers checkout rust-uzers patch rust-uzers regenerate rust-uzers fetch rust-winit checkout rust-winit patch rust-winit regenerate rust-winit regenerate rust-patched-libs configure-tool host-rust compile-tool host-rust, stage: config install-tool host-rust, stage: config compile-tool host-rust, stage: compiler install-tool host-rust, stage: compiler compile-tool host-rust, stage: clippy install-tool host-rust, stage: clippy compile-tool host-rust, stage: std install-tool host-rust, stage: std archive-tool host-rust xbstrap: fetch rust [1/94] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust/.git/ From https://mirrors.managarm.org/mirror/git/rust * [new tag] 1.85.1 -> 1.85.1 xbstrap: checkout rust [2/94] [2025-04-27 03:55:21.817115 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 1, 'status': 'success', 'subject': 'rust'} HEAD is now at 4eb16125 Auto merge of #138521 - cuviper:stable-next, r=cuviper xbstrap: patch rust [3/94] [2025-04-27 03:55:24.555732 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 2, 'status': 'success', 'subject': 'rust'} Applying: compiler: Add `{x86_64,aarch64,riscv64gc}-unknown-managarm-mlibc` targets Applying: meta: add patched libraries Applying: library/std: add managarm support Applying: doc: Add `*-unknown-managarm-mlibc` documentation xbstrap: regenerate rust [4/94] xbstrap: fetch rust-backtrace [5/94] [2025-04-27 03:55:25.524968 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 3, 'status': 'success', 'subject': 'rust'} [2025-04-27 03:55:25.525734 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 4, 'status': 'success', 'subject': 'rust'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-backtrace/.git/ From https://mirrors.managarm.org/mirror/git/rust-backtrace * [new tag] 0.3.69 -> 0.3.69 xbstrap: checkout rust-backtrace [6/94] [2025-04-27 03:55:25.941446 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 5, 'status': 'success', 'subject': 'rust-backtrace'} HEAD is now at 99faef8 Bump to 0.3.69 (rust-lang/backtrace-rs#560) xbstrap: patch rust-backtrace [7/94] [2025-04-27 03:55:25.955426 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 6, 'status': 'success', 'subject': 'rust-backtrace'} Applying: managarm: use dl_iterate_phdr xbstrap: regenerate rust-backtrace [8/94] xbstrap: fetch rust-calloop [9/94] [2025-04-27 03:55:25.968466 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 7, 'status': 'success', 'subject': 'rust-backtrace'} [2025-04-27 03:55:25.969043 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 8, 'status': 'success', 'subject': 'rust-backtrace'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-calloop/.git/ From https://mirrors.managarm.org/mirror/git/rust-calloop * [new tag] v0.10.0 -> v0.10.0 xbstrap: checkout rust-calloop [10/94] [2025-04-27 03:55:26.306875 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 9, 'status': 'success', 'subject': 'rust-calloop'} HEAD is now at 0d3b13a v0.10.0 xbstrap: patch rust-calloop [11/94] [2025-04-27 03:55:26.321591 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 10, 'status': 'success', 'subject': 'rust-calloop'} Applying: managarm: initial port xbstrap: regenerate rust-calloop [12/94] xbstrap: fetch rust-cc [13/94] [2025-04-27 03:55:26.334255 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 11, 'status': 'success', 'subject': 'rust-calloop'} [2025-04-27 03:55:26.334961 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 12, 'status': 'success', 'subject': 'rust-calloop'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-cc/.git/ From https://mirrors.managarm.org/mirror/git/rust-cc * [new tag] cc-v1.2.17 -> cc-v1.2.17 xbstrap: checkout rust-cc [14/94] [2025-04-27 03:55:26.866571 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 13, 'status': 'success', 'subject': 'rust-cc'} HEAD is now at d9dd20e chore: release v1.2.17 (#1435) xbstrap: patch rust-cc [15/94] [2025-04-27 03:55:26.882414 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 14, 'status': 'success', 'subject': 'rust-cc'} Applying: Add Managarm riscv support xbstrap: regenerate rust-cc [16/94] xbstrap: fetch rust-errno [17/94] [2025-04-27 03:55:26.898452 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 15, 'status': 'success', 'subject': 'rust-cc'} [2025-04-27 03:55:26.899059 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 16, 'status': 'success', 'subject': 'rust-cc'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-errno/.git/ From https://mirrors.managarm.org/mirror/git/rust-errno * [new tag] v0.3.10 -> v0.3.10 xbstrap: checkout rust-errno [18/94] [2025-04-27 03:55:27.167569 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 17, 'status': 'success', 'subject': 'rust-errno'} HEAD is now at 7450e3d Release 0.3.10 (#103) xbstrap: patch rust-errno [19/94] [2025-04-27 03:55:27.177090 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 18, 'status': 'success', 'subject': 'rust-errno'} Applying: Add managarm support xbstrap: regenerate rust-errno [20/94] xbstrap: fetch rust-getrandom-0.2 [21/94] [2025-04-27 03:55:27.187640 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 19, 'status': 'success', 'subject': 'rust-errno'} [2025-04-27 03:55:27.188303 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 20, 'status': 'success', 'subject': 'rust-errno'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-getrandom-0.2/.git/ From https://mirrors.managarm.org/mirror/git/rust-getrandom-0.2 * [new tag] v0.2.15 -> v0.2.15 xbstrap: checkout rust-getrandom-0.2 [22/94] [2025-04-27 03:55:27.488076 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 21, 'status': 'success', 'subject': 'rust-getrandom-0.2'} HEAD is now at cf65e83 Release v0.2.15 (#419) xbstrap: patch rust-getrandom-0.2 [23/94] [2025-04-27 03:55:27.499787 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 22, 'status': 'success', 'subject': 'rust-getrandom-0.2'} Applying: Add managarm support xbstrap: regenerate rust-getrandom-0.2 [24/94] xbstrap: fetch rust-getrandom-0.3 [25/94] [2025-04-27 03:55:27.511570 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 23, 'status': 'success', 'subject': 'rust-getrandom-0.2'} [2025-04-27 03:55:27.512262 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 24, 'status': 'success', 'subject': 'rust-getrandom-0.2'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-getrandom-0.3/.git/ From https://mirrors.managarm.org/mirror/git/rust-getrandom-0.3 * [new tag] v0.3.2 -> v0.3.2 xbstrap: checkout rust-getrandom-0.3 [26/94] [2025-04-27 03:55:27.809999 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 25, 'status': 'success', 'subject': 'rust-getrandom-0.3'} HEAD is now at 3a91722 Release v0.3.2 (#617) xbstrap: patch rust-getrandom-0.3 [27/94] [2025-04-27 03:55:27.825234 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 26, 'status': 'success', 'subject': 'rust-getrandom-0.3'} Applying: Add managarm support xbstrap: regenerate rust-getrandom-0.3 [28/94] xbstrap: fetch rust-glutin [29/94] [2025-04-27 03:55:27.837410 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 27, 'status': 'success', 'subject': 'rust-getrandom-0.3'} [2025-04-27 03:55:27.838185 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 28, 'status': 'success', 'subject': 'rust-getrandom-0.3'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-glutin/.git/ From https://mirrors.managarm.org/mirror/git/rust-glutin * [new tag] v0.29.1 -> v0.29.1 xbstrap: checkout rust-glutin [30/94] [2025-04-27 03:55:28.195003 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 29, 'status': 'success', 'subject': 'rust-glutin'} HEAD is now at 2f8bdfc Glutin version v0.29.1 xbstrap: patch rust-glutin [31/94] [2025-04-27 03:55:28.208461 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 30, 'status': 'success', 'subject': 'rust-glutin'} Applying: managarm: initial port xbstrap: regenerate rust-glutin [32/94] xbstrap: fetch rust-libc [33/94] [2025-04-27 03:55:28.233306 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 31, 'status': 'success', 'subject': 'rust-glutin'} [2025-04-27 03:55:28.234042 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 32, 'status': 'success', 'subject': 'rust-glutin'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-libc/.git/ From https://mirrors.managarm.org/mirror/git/rust-libc * [new tag] 0.2.171 -> 0.2.171 xbstrap: checkout rust-libc [34/94] [2025-04-27 03:55:29.058876 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 33, 'status': 'success', 'subject': 'rust-libc'} HEAD is now at 78b0f8a chore: release v0.2.171 xbstrap: patch rust-libc [35/94] [2025-04-27 03:55:29.104179 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 34, 'status': 'success', 'subject': 'rust-libc'} Applying: Add managarm support Applying: Add generated managarm bindings xbstrap: regenerate rust-libc [36/94] xbstrap: fetch rust-libloading [37/94] [2025-04-27 03:55:29.175989 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 35, 'status': 'success', 'subject': 'rust-libc'} [2025-04-27 03:55:29.176667 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 36, 'status': 'success', 'subject': 'rust-libc'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-libloading/.git/ From https://mirrors.managarm.org/mirror/git/rust-libloading * [new tag] 0.7.4 -> 0.7.4 xbstrap: checkout rust-libloading [38/94] [2025-04-27 03:55:29.499435 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 37, 'status': 'success', 'subject': 'rust-libloading'} HEAD is now at 6e28498 Fix CI xbstrap: patch rust-libloading [39/94] [2025-04-27 03:55:29.509824 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 38, 'status': 'success', 'subject': 'rust-libloading'} Applying: managarm: initial port xbstrap: regenerate rust-libloading [40/94] xbstrap: fetch rust-mio-0.6 [41/94] [2025-04-27 03:55:29.520594 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 39, 'status': 'success', 'subject': 'rust-libloading'} [2025-04-27 03:55:29.521254 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 40, 'status': 'success', 'subject': 'rust-libloading'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-mio-0.6/.git/ From https://mirrors.managarm.org/mirror/git/rust-mio-0.6 * [new tag] v0.6.23 -> v0.6.23 xbstrap: checkout rust-mio-0.6 [42/94] [2025-04-27 03:55:29.854455 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 41, 'status': 'success', 'subject': 'rust-mio-0.6'} HEAD is now at 26d1033 Release v0.6.23 xbstrap: patch rust-mio-0.6 [43/94] [2025-04-27 03:55:29.872208 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 42, 'status': 'success', 'subject': 'rust-mio-0.6'} Applying: managarm: initial port xbstrap: regenerate rust-mio-0.6 [44/94] xbstrap: fetch rust-mio-0.8 [45/94] [2025-04-27 03:55:29.892294 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 43, 'status': 'success', 'subject': 'rust-mio-0.6'} [2025-04-27 03:55:29.892963 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 44, 'status': 'success', 'subject': 'rust-mio-0.6'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-mio-0.8/.git/ From https://mirrors.managarm.org/mirror/git/rust-mio-0.8 * [new tag] v0.8.3 -> v0.8.3 xbstrap: checkout rust-mio-0.8 [46/94] [2025-04-27 03:55:30.263808 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 45, 'status': 'success', 'subject': 'rust-mio-0.8'} HEAD is now at c6f39d6 Release v0.8.3 xbstrap: patch rust-mio-0.8 [47/94] [2025-04-27 03:55:30.278097 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 46, 'status': 'success', 'subject': 'rust-mio-0.8'} Applying: managarm: initial port xbstrap: regenerate rust-mio-0.8 [48/94] xbstrap: fetch rust-mio-1.0 [49/94] [2025-04-27 03:55:30.292638 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 47, 'status': 'success', 'subject': 'rust-mio-0.8'} [2025-04-27 03:55:30.293341 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 48, 'status': 'success', 'subject': 'rust-mio-0.8'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-mio-1.0/.git/ From https://mirrors.managarm.org/mirror/git/rust-mio-1.0 * [new tag] v1.0.3 -> v1.0.3 xbstrap: checkout rust-mio-1.0 [50/94] [2025-04-27 03:55:30.644957 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 49, 'status': 'success', 'subject': 'rust-mio-1.0'} HEAD is now at f45f492 Release v1.0.3 (#1843) xbstrap: patch rust-mio-1.0 [51/94] [2025-04-27 03:55:30.659534 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 50, 'status': 'success', 'subject': 'rust-mio-1.0'} Applying: Add Managarm support xbstrap: regenerate rust-mio-1.0 [52/94] xbstrap: fetch rust-nix [53/94] [2025-04-27 03:55:30.672867 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 51, 'status': 'success', 'subject': 'rust-mio-1.0'} [2025-04-27 03:55:30.673576 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 52, 'status': 'success', 'subject': 'rust-mio-1.0'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-nix/.git/ From https://mirrors.managarm.org/mirror/git/rust-nix * [new tag] v0.24.3 -> v0.24.3 xbstrap: checkout rust-nix [54/94] [2025-04-27 03:55:31.065569 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 53, 'status': 'success', 'subject': 'rust-nix'} HEAD is now at ba29e5e chore: Release nix version 0.24.3 xbstrap: patch rust-nix [55/94] [2025-04-27 03:55:31.082425 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 54, 'status': 'success', 'subject': 'rust-nix'} Applying: managarm: initial port xbstrap: regenerate rust-nix [56/94] xbstrap: fetch rust-num-cpus [57/94] [2025-04-27 03:55:31.115579 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 55, 'status': 'success', 'subject': 'rust-nix'} [2025-04-27 03:55:31.116309 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 56, 'status': 'success', 'subject': 'rust-nix'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-num-cpus/.git/ From https://mirrors.managarm.org/mirror/git/rust-num-cpus * [new tag] v1.15.0 -> v1.15.0 xbstrap: checkout rust-num-cpus [58/94] [2025-04-27 03:55:31.474416 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 57, 'status': 'success', 'subject': 'rust-num-cpus'} HEAD is now at 5bea3c7 v1.15.0 xbstrap: patch rust-num-cpus [59/94] [2025-04-27 03:55:31.486099 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 58, 'status': 'success', 'subject': 'rust-num-cpus'} Applying: managarm: Initial port xbstrap: regenerate rust-num-cpus [60/94] xbstrap: fetch rust-patched-libs [61/94] [2025-04-27 03:55:31.496880 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 59, 'status': 'success', 'subject': 'rust-num-cpus'} xbstrap: checkout rust-patched-libs [62/94] xbstrap: patch rust-patched-libs [63/94] [2025-04-27 03:55:31.497575 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 60, 'status': 'success', 'subject': 'rust-num-cpus'} xbstrap: fetch rust-rustix [64/94] [2025-04-27 03:55:31.498199 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 61, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-04-27 03:55:31.498683 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 62, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-04-27 03:55:31.499214 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 63, 'status': 'success', 'subject': 'rust-patched-libs'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-rustix/.git/ From https://mirrors.managarm.org/mirror/git/rust-rustix * [new tag] v1.0.5 -> v1.0.5 xbstrap: checkout rust-rustix [65/94] [2025-04-27 03:55:32.187990 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 64, 'status': 'success', 'subject': 'rust-rustix'} HEAD is now at cb01fbe chore: Release rustix version 1.0.5 xbstrap: patch rust-rustix [66/94] [2025-04-27 03:55:32.241464 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 65, 'status': 'success', 'subject': 'rust-rustix'} Applying: Add mlibc support xbstrap: regenerate rust-rustix [67/94] xbstrap: fetch rust-shared-library [68/94] [2025-04-27 03:55:32.273163 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 66, 'status': 'success', 'subject': 'rust-rustix'} [2025-04-27 03:55:32.273863 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 67, 'status': 'success', 'subject': 'rust-rustix'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-shared-library/.git/ From https://mirrors.managarm.org/mirror/git/rust-shared-library * [new branch] master -> origin/master xbstrap: checkout rust-shared-library [69/94] [2025-04-27 03:55:32.484799 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 68, 'status': 'success', 'subject': 'rust-shared-library'} Reset branch 'master' branch 'master' set up to track 'origin/master'. xbstrap: patch rust-shared-library [70/94] [2025-04-27 03:55:32.496245 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 69, 'status': 'success', 'subject': 'rust-shared-library'} Applying: managarm: initial port xbstrap: regenerate rust-shared-library [71/94] xbstrap: fetch rust-users [72/94] [2025-04-27 03:55:32.506434 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 70, 'status': 'success', 'subject': 'rust-shared-library'} [2025-04-27 03:55:32.507085 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 71, 'status': 'success', 'subject': 'rust-shared-library'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-users/.git/ From https://mirrors.managarm.org/mirror/git/rust-users * [new tag] v0.11.0 -> v0.11.0 xbstrap: checkout rust-users [73/94] [2025-04-27 03:55:32.774659 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 72, 'status': 'success', 'subject': 'rust-users'} HEAD is now at d6883b4 v0.11.0 xbstrap: patch rust-users [74/94] [2025-04-27 03:55:32.784798 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 73, 'status': 'success', 'subject': 'rust-users'} Applying: managarm: Initial port xbstrap: regenerate rust-users [75/94] xbstrap: fetch rust-uzers [76/94] [2025-04-27 03:55:32.796486 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 74, 'status': 'success', 'subject': 'rust-users'} [2025-04-27 03:55:32.797160 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 75, 'status': 'success', 'subject': 'rust-users'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-uzers/.git/ From https://mirrors.managarm.org/mirror/git/rust-uzers * [new tag] v0.12.1 -> v0.12.1 xbstrap: checkout rust-uzers [77/94] [2025-04-27 03:55:33.115375 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 76, 'status': 'success', 'subject': 'rust-uzers'} HEAD is now at a0db683 chore(cargo): update version to 0.12.1 xbstrap: patch rust-uzers [78/94] [2025-04-27 03:55:33.126348 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 77, 'status': 'success', 'subject': 'rust-uzers'} Applying: Add Managarm support xbstrap: regenerate rust-uzers [79/94] xbstrap: fetch rust-winit [80/94] [2025-04-27 03:55:33.138027 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 78, 'status': 'success', 'subject': 'rust-uzers'} [2025-04-27 03:55:33.138627 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 79, 'status': 'success', 'subject': 'rust-uzers'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/rust-winit/.git/ From https://mirrors.managarm.org/mirror/git/rust-winit * [new tag] v0.27.5 -> v0.27.5 xbstrap: checkout rust-winit [81/94] [2025-04-27 03:55:33.581779 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 80, 'status': 'success', 'subject': 'rust-winit'} HEAD is now at bbdcb79 Release 0.27.5 version xbstrap: patch rust-winit [82/94] [2025-04-27 03:55:33.609831 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 81, 'status': 'success', 'subject': 'rust-winit'} Applying: managarm: initial port xbstrap: regenerate rust-winit [83/94] xbstrap: regenerate rust-patched-libs [84/94] [2025-04-27 03:55:33.641371 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 82, 'status': 'success', 'subject': 'rust-winit'} xbstrap: configure-tool host-rust [85/94] [2025-04-27 03:55:33.641983 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 83, 'status': 'success', 'subject': 'rust-winit'} xbstrap: compile-tool host-rust@config [86/94] [2025-04-27 03:55:33.642465 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 84, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-04-27 03:55:33.642957 chopin] DEBUG: xbbs.worker: got notify {'action': 'configure-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 85, 'status': 'success', 'subject': 'host-rust'} xbstrap: Running cat << EOF > config.toml change-id = 102579 [llvm] targets = "X86;AArch64;RISCV" download-ci-llvm = false [build] target = ["@OPTION:rust-arch@-unknown-managarm-mlibc", "x86_64-unknown-linux-gnu"] build-dir = "@THIS_BUILD_DIR@" docs = false [install] prefix = "@PREFIX@" sysconfdir = "etc" [rust] codegen-tests = false deny-warnings = false [target.x86_64-unknown-linux-gnu] llvm-config = "@BUILD_ROOT@/tools/host-llvm-toolchain/bin/llvm-config" [target.@OPTION:rust-arch@-unknown-managarm-mlibc] llvm-config = "@BUILD_ROOT@/tools/host-llvm-toolchain/bin/llvm-config" cc = "@OPTION:arch-triple@-gcc" cxx = "@OPTION:arch-triple@-g++" ar = "@OPTION:arch-triple@-ar" ranlib = "@OPTION:arch-triple@-ranlib" linker = "@OPTION:arch-triple@-gcc" EOF (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 4182449 (outside the namespace) xbstrap: install-tool host-rust@config [87/94] [2025-04-27 03:55:33.811490 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 86, 'status': 'success', 'subject': 'host-rust@config'} xbstrap: compile-tool host-rust@compiler [88/94] [2025-04-27 03:55:33.812222 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 87, 'status': 'success', 'subject': 'host-rust@config'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'rustc', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 4182455 (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% ############################################ 61.8% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz # 2.0% #################################### 50.5% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz ########### 16.4% ######################################################################## 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 anstyle v1.0.10 Downloaded cfg-if v1.0.0 Downloaded bitflags v2.6.0 Downloaded block-buffer v0.10.4 Downloaded clap_derive v4.5.18 Downloaded termcolor v1.4.1 Downloaded walkdir v2.5.0 Downloaded xattr v1.3.1 Downloaded xz2 v0.1.7 Downloaded same-file v1.0.6 Downloaded unicode-ident v1.0.13 Downloaded toml v0.5.11 Downloaded serde v1.0.215 Downloaded memchr v2.7.4 Downloaded ignore v0.4.23 Downloaded serde_json v1.0.132 Downloaded clap_builder v4.5.20 Downloaded aho-corasick v1.1.3 Downloaded cc v1.1.22 Downloaded tar v0.4.43 Downloaded proc-macro2 v1.0.89 Downloaded syn v2.0.87 Downloaded log v0.4.22 Downloaded crossbeam-epoch v0.9.18 Downloaded clap v4.5.20 Downloaded typenum v1.17.0 Downloaded object v0.36.5 Downloaded serde_derive v1.0.215 Downloaded regex-syntax v0.8.5 Downloaded rustix v0.38.40 Downloaded bstr v1.10.0 Downloaded ryu v1.0.18 Downloaded generic-array v0.14.7 Downloaded fd-lock v4.0.2 Downloaded crossbeam-utils v0.8.20 Downloaded crossbeam-deque v0.8.5 Downloaded clap_lex v0.7.2 Downloaded opener v0.5.2 Downloaded globset v0.4.15 Downloaded digest v0.10.7 Downloaded clap_complete v4.5.37 Downloaded semver v1.0.23 Downloaded regex-automata v0.4.9 Downloaded itoa v1.0.11 Downloaded cpufeatures v0.2.15 Downloaded version_check v0.9.5 Downloaded sha2 v0.10.8 Downloaded quote v1.0.37 Downloaded heck v0.5.0 Downloaded lzma-sys v0.1.20 Downloaded libc v0.2.167 Downloaded pkg-config v0.3.31 Downloaded cmake v0.1.48 Downloaded shlex v1.3.0 Downloaded home v0.5.9 Downloaded filetime v0.2.25 Downloaded errno v0.3.9 Downloaded crypto-common v0.1.6 Downloaded linux-raw-sys v0.4.14 Compiling proc-macro2 v1.0.89 Compiling memchr v2.7.4 Compiling unicode-ident v1.0.13 Compiling version_check v0.9.5 Compiling typenum v1.17.0 Compiling shlex v1.3.0 Compiling libc v0.2.167 Compiling rustix v0.38.40 Compiling regex-syntax v0.8.5 Compiling serde v1.0.215 Compiling crossbeam-utils v0.8.20 Compiling pkg-config v0.3.31 Compiling linux-raw-sys v0.4.14 Compiling cc v1.1.22 Compiling cfg-if v1.0.0 Compiling bitflags v2.6.0 Compiling generic-array v0.14.7 Compiling anstyle v1.0.10 Compiling aho-corasick v1.1.3 Compiling clap_lex v0.7.2 Compiling heck v0.5.0 Compiling clap_builder v4.5.20 Compiling log v0.4.22 Compiling quote v1.0.37 Compiling crossbeam-epoch v0.9.18 Compiling semver v1.0.23 Compiling syn v2.0.87 Compiling same-file v1.0.6 Compiling serde_json v1.0.132 Compiling walkdir v2.5.0 Compiling crossbeam-deque v0.8.5 Compiling filetime v0.2.25 Compiling itoa v1.0.11 Compiling bootstrap v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/bootstrap) Compiling ryu v1.0.18 Compiling cpufeatures v0.2.15 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 digest v0.10.7 Compiling termcolor v1.4.1 Compiling sha2 v0.10.8 Compiling home v0.5.9 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 19.70s 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) 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) remote: Total 152 (delta 6), reused 96 (delta 4), pack-reused 0 (from 0) 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.34 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: 362, done. remote: Counting objects: 0% (1/362) remote: Counting objects: 1% (4/362) remote: Counting objects: 2% (8/362) remote: Counting objects: 3% (11/362) remote: Counting objects: 4% (15/362) remote: Counting objects: 5% (19/362) remote: Counting objects: 6% (22/362) remote: Counting objects: 7% (26/362) remote: Counting objects: 8% (29/362) remote: Counting objects: 9% (33/362) remote: Counting objects: 10% (37/362) remote: Counting objects: 11% (40/362) remote: Counting objects: 12% (44/362) remote: Counting objects: 13% (48/362) remote: Counting objects: 14% (51/362) remote: Counting objects: 15% (55/362) remote: Counting objects: 16% (58/362) remote: Counting objects: 17% (62/362) remote: Counting objects: 18% (66/362) remote: Counting objects: 19% (69/362) remote: Counting objects: 20% (73/362) remote: Counting objects: 21% (77/362) remote: Counting objects: 22% (80/362) remote: Counting objects: 23% (84/362) remote: Counting objects: 24% (87/362) remote: Counting objects: 25% (91/362) remote: Counting objects: 26% (95/362) remote: Counting objects: 27% (98/362) remote: Counting objects: 28% (102/362) remote: Counting objects: 29% (105/362) remote: Counting objects: 30% (109/362) remote: Counting objects: 31% (113/362) remote: Counting objects: 32% (116/362) remote: Counting objects: 33% (120/362) remote: Counting objects: 34% (124/362) remote: Counting objects: 35% (127/362) remote: Counting objects: 36% (131/362) remote: Counting objects: 37% (134/362) remote: Counting objects: 38% (138/362) remote: Counting objects: 39% (142/362) remote: Counting objects: 40% (145/362) remote: Counting objects: 41% (149/362) remote: Counting objects: 42% (153/362) remote: Counting objects: 43% (156/362) remote: Counting objects: 44% (160/362) remote: Counting objects: 45% (163/362) remote: Counting objects: 46% (167/362) remote: Counting objects: 47% (171/362) remote: Counting objects: 48% (174/362) remote: Counting objects: 49% (178/362) remote: Counting objects: 50% (181/362) remote: Counting objects: 51% (185/362) remote: Counting objects: 52% (189/362) remote: Counting objects: 53% (192/362) remote: Counting objects: 54% (196/362) remote: Counting objects: 55% (200/362) remote: Counting objects: 56% (203/362) remote: Counting objects: 57% (207/362) remote: Counting objects: 58% (210/362) remote: Counting objects: 59% (214/362) remote: Counting objects: 60% (218/362) remote: Counting objects: 61% (221/362) remote: Counting objects: 62% (225/362) remote: Counting objects: 63% (229/362) remote: Counting objects: 64% (232/362) remote: Counting objects: 65% (236/362) remote: Counting objects: 66% (239/362) remote: Counting objects: 67% (243/362) remote: Counting objects: 68% (247/362) remote: Counting objects: 69% (250/362) remote: Counting objects: 70% (254/362) remote: Counting objects: 71% (258/362) remote: Counting objects: 72% (261/362) remote: Counting objects: 73% (265/362) remote: Counting objects: 74% (268/362) remote: Counting objects: 75% (272/362) remote: Counting objects: 76% (276/362) remote: Counting objects: 77% (279/362) remote: Counting objects: 78% (283/362) remote: Counting objects: 79% (286/362) remote: Counting objects: 80% (290/362) remote: Counting objects: 81% (294/362) remote: Counting objects: 82% (297/362) remote: Counting objects: 83% (301/362) remote: Counting objects: 84% (305/362) remote: Counting objects: 85% (308/362) remote: Counting objects: 86% (312/362) remote: Counting objects: 87% (315/362) remote: Counting objects: 88% (319/362) remote: Counting objects: 89% (323/362) remote: Counting objects: 90% (326/362) remote: Counting objects: 91% (330/362) remote: Counting objects: 92% (334/362) remote: Counting objects: 93% (337/362) remote: Counting objects: 94% (341/362) remote: Counting objects: 95% (344/362) remote: Counting objects: 96% (348/362) remote: Counting objects: 97% (352/362) remote: Counting objects: 98% (355/362) remote: Counting objects: 99% (359/362) remote: Counting objects: 100% (362/362) remote: Counting objects: 100% (362/362), done. remote: Compressing objects: 0% (1/309) remote: Compressing objects: 1% (4/309) remote: Compressing objects: 2% (7/309) remote: Compressing objects: 3% (10/309) remote: Compressing objects: 4% (13/309) remote: Compressing objects: 5% (16/309) remote: Compressing objects: 6% (19/309) remote: Compressing objects: 7% (22/309) remote: Compressing objects: 8% (25/309) remote: Compressing objects: 9% (28/309) remote: Compressing objects: 10% (31/309) remote: Compressing objects: 11% (34/309) remote: Compressing objects: 12% (38/309) remote: Compressing objects: 13% (41/309) remote: Compressing objects: 14% (44/309) remote: Compressing objects: 15% (47/309) remote: Compressing objects: 16% (50/309) remote: Compressing objects: 17% (53/309) remote: Compressing objects: 18% (56/309) remote: Compressing objects: 19% (59/309) remote: Compressing objects: 20% (62/309) remote: Compressing objects: 21% (65/309) remote: Compressing objects: 22% (68/309) remote: Compressing objects: 23% (72/309) remote: Compressing objects: 24% (75/309) remote: Compressing objects: 25% (78/309) remote: Compressing objects: 26% (81/309) remote: Compressing objects: 27% (84/309) remote: Compressing objects: 28% (87/309) remote: Compressing objects: 29% (90/309) remote: Compressing objects: 30% (93/309) remote: Compressing objects: 31% (96/309) remote: Compressing objects: 32% (99/309) remote: Compressing objects: 33% (102/309) remote: Compressing objects: 34% (106/309) remote: Compressing objects: 35% (109/309) remote: Compressing objects: 36% (112/309) remote: Compressing objects: 37% (115/309) remote: Compressing objects: 38% (118/309) remote: Compressing objects: 39% (121/309) remote: Compressing objects: 40% (124/309) remote: Compressing objects: 41% (127/309) remote: Compressing objects: 42% (130/309) remote: Compressing objects: 43% (133/309) remote: Compressing objects: 44% (136/309) remote: Compressing objects: 45% (140/309) remote: Compressing objects: 46% (143/309) remote: Compressing objects: 47% (146/309) remote: Compressing objects: 48% (149/309) remote: Compressing objects: 49% (152/309) remote: Compressing objects: 50% (155/309) remote: Compressing objects: 51% (158/309) remote: Compressing objects: 52% (161/309) remote: Compressing objects: 53% (164/309) remote: Compressing objects: 54% (167/309) remote: Compressing objects: 55% (170/309) remote: Compressing objects: 56% (174/309) remote: Compressing objects: 57% (177/309) remote: Compressing objects: 58% (180/309) remote: Compressing objects: 59% (183/309) remote: Compressing objects: 60% (186/309) remote: Compressing objects: 61% (189/309) remote: Compressing objects: 62% (192/309) remote: Compressing objects: 63% (195/309) remote: Compressing objects: 64% (198/309) remote: Compressing objects: 65% (201/309) remote: Compressing objects: 66% (204/309) remote: Compressing objects: 67% (208/309) remote: Compressing objects: 68% (211/309) remote: Compressing objects: 69% (214/309) remote: Compressing objects: 70% (217/309) remote: Compressing objects: 71% (220/309) remote: Compressing objects: 72% (223/309) remote: Compressing objects: 73% (226/309) remote: Compressing objects: 74% (229/309) remote: Compressing objects: 75% (232/309) remote: Compressing objects: 76% (235/309) remote: Compressing objects: 77% (238/309) remote: Compressing objects: 78% (242/309) remote: Compressing objects: 79% (245/309) remote: Compressing objects: 80% (248/309) remote: Compressing objects: 81% (251/309) remote: Compressing objects: 82% (254/309) remote: Compressing objects: 83% (257/309) remote: Compressing objects: 84% (260/309) remote: Compressing objects: 85% (263/309) remote: Compressing objects: 86% (266/309) remote: Compressing objects: 87% (269/309) remote: Compressing objects: 88% (272/309) remote: Compressing objects: 89% (276/309) remote: Compressing objects: 90% (279/309) remote: Compressing objects: 91% (282/309) remote: Compressing objects: 92% (285/309) remote: Compressing objects: 93% (288/309) remote: Compressing objects: 94% (291/309) remote: Compressing objects: 95% (294/309) remote: Compressing objects: 96% (297/309) remote: Compressing objects: 97% (300/309) remote: Compressing objects: 98% (303/309) remote: Compressing objects: 99% (306/309) remote: Compressing objects: 100% (309/309) remote: Compressing objects: 100% (309/309), done. Receiving objects: 0% (1/362) Receiving objects: 1% (4/362) Receiving objects: 2% (8/362) Receiving objects: 3% (11/362) Receiving objects: 4% (15/362) Receiving objects: 5% (19/362) Receiving objects: 6% (22/362) Receiving objects: 7% (26/362) Receiving objects: 8% (29/362) Receiving objects: 9% (33/362) Receiving objects: 10% (37/362) Receiving objects: 11% (40/362) Receiving objects: 12% (44/362) Receiving objects: 13% (48/362) Receiving objects: 14% (51/362) Receiving objects: 15% (55/362) Receiving objects: 16% (58/362) Receiving objects: 17% (62/362) Receiving objects: 18% (66/362) Receiving objects: 19% (69/362) Receiving objects: 20% (73/362) Receiving objects: 21% (77/362) Receiving objects: 22% (80/362) Receiving objects: 23% (84/362) Receiving objects: 24% (87/362) Receiving objects: 25% (91/362) Receiving objects: 26% (95/362) Receiving objects: 27% (98/362) Receiving objects: 28% (102/362) Receiving objects: 29% (105/362) Receiving objects: 30% (109/362) Receiving objects: 31% (113/362) Receiving objects: 32% (116/362) Receiving objects: 33% (120/362) Receiving objects: 34% (124/362) Receiving objects: 35% (127/362) Receiving objects: 36% (131/362) Receiving objects: 37% (134/362) Receiving objects: 38% (138/362) Receiving objects: 39% (142/362) Receiving objects: 40% (145/362) Receiving objects: 41% (149/362) Receiving objects: 42% (153/362) Receiving objects: 43% (156/362) Receiving objects: 44% (160/362) Receiving objects: 45% (163/362) Receiving objects: 46% (167/362) Receiving objects: 47% (171/362) Receiving objects: 48% (174/362) Receiving objects: 49% (178/362) Receiving objects: 50% (181/362) Receiving objects: 51% (185/362) Receiving objects: 52% (189/362) Receiving objects: 53% (192/362) Receiving objects: 54% (196/362) Receiving objects: 55% (200/362) Receiving objects: 56% (203/362) Receiving objects: 57% (207/362) Receiving objects: 58% (210/362) Receiving objects: 59% (214/362) Receiving objects: 60% (218/362) Receiving objects: 61% (221/362) Receiving objects: 62% (225/362) Receiving objects: 63% (229/362) Receiving objects: 64% (232/362) Receiving objects: 65% (236/362) Receiving objects: 66% (239/362) Receiving objects: 67% (243/362) Receiving objects: 68% (247/362) Receiving objects: 69% (250/362) Receiving objects: 70% (254/362) Receiving objects: 71% (258/362) Receiving objects: 72% (261/362) Receiving objects: 73% (265/362) Receiving objects: 74% (268/362) Receiving objects: 75% (272/362) Receiving objects: 76% (276/362) Receiving objects: 77% (279/362) Receiving objects: 78% (283/362) Receiving objects: 79% (286/362) Receiving objects: 80% (290/362) Receiving objects: 81% (294/362) Receiving objects: 82% (297/362) Receiving objects: 83% (301/362) Receiving objects: 84% (305/362) Receiving objects: 85% (308/362) Receiving objects: 86% (312/362) Receiving objects: 87% (315/362) Receiving objects: 88% (319/362) Receiving objects: 89% (323/362) Receiving objects: 90% (326/362) Receiving objects: 91% (330/362) Receiving objects: 92% (334/362) Receiving objects: 93% (337/362) Receiving objects: 94% (341/362) Receiving objects: 95% (344/362) Receiving objects: 96% (348/362) Receiving objects: 97% (352/362) remote: Total 362 (delta 56), reused 164 (delta 22), pack-reused 0 (from 0) Receiving objects: 98% (355/362) Receiving objects: 99% (359/362) Receiving objects: 100% (362/362) Receiving objects: 100% (362/362), 1.63 MiB | 4.36 MiB/s, done. Resolving deltas: 0% (0/56) Resolving deltas: 1% (1/56) Resolving deltas: 3% (2/56) Resolving deltas: 5% (3/56) Resolving deltas: 7% (4/56) Resolving deltas: 8% (5/56) Resolving deltas: 10% (6/56) Resolving deltas: 12% (7/56) Resolving deltas: 14% (8/56) Resolving deltas: 16% (9/56) Resolving deltas: 19% (11/56) Resolving deltas: 21% (12/56) Resolving deltas: 23% (13/56) Resolving deltas: 25% (14/56) Resolving deltas: 26% (15/56) Resolving deltas: 32% (18/56) Resolving deltas: 33% (19/56) Resolving deltas: 35% (20/56) Resolving deltas: 37% (21/56) Resolving deltas: 39% (22/56) Resolving deltas: 41% (23/56) Resolving deltas: 42% (24/56) Resolving deltas: 44% (25/56) Resolving deltas: 46% (26/56) Resolving deltas: 48% (27/56) Resolving deltas: 50% (28/56) Resolving deltas: 51% (29/56) Resolving deltas: 53% (30/56) Resolving deltas: 55% (31/56) Resolving deltas: 57% (32/56) Resolving deltas: 58% (33/56) Resolving deltas: 62% (35/56) Resolving deltas: 64% (36/56) Resolving deltas: 66% (37/56) Resolving deltas: 67% (38/56) Resolving deltas: 71% (40/56) Resolving deltas: 75% (42/56) Resolving deltas: 76% (43/56) Resolving deltas: 78% (44/56) Resolving deltas: 80% (45/56) Resolving deltas: 82% (46/56) Resolving deltas: 83% (47/56) Resolving deltas: 85% (48/56) Resolving deltas: 87% (49/56) Resolving deltas: 89% (50/56) Resolving deltas: 91% (51/56) Resolving deltas: 92% (52/56) Resolving deltas: 94% (53/56) Resolving deltas: 96% (54/56) Resolving deltas: 98% (55/56) Resolving deltas: 100% (56/56) Resolving deltas: 100% (56/56), 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 getopts v0.2.21 Downloaded hashbrown v0.15.2 Downloaded adler v1.0.2 Downloaded rustc-demangle v0.1.24 Downloaded allocator-api2 v0.2.21 Downloaded addr2line v0.22.0 Downloaded miniz_oxide v0.7.4 Downloaded compiler_builtins v0.1.140 Downloaded unicode-width v0.1.14 Downloaded gimli v0.29.0 Downloaded object v0.36.7 Compiling compiler_builtins v0.1.140 Compiling core v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/core) Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling object v0.36.7 Compiling std v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-core) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Compiling alloc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling 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) warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `libc` (lib) generated 3 warnings warning: `unwind` (lib) generated 1 warning Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling gimli v0.29.0 Compiling hashbrown v0.15.2 Compiling miniz_oxide v0.7.4 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling addr2line v0.22.0 warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 24.36s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Updating crates.io index Downloading crates ... Downloaded adler2 v2.0.0 Downloaded ahash v0.8.11 Downloaded annotate-snippets v0.11.5 Downloaded icu_provider_macros v1.5.0 Downloaded arrayref v0.3.9 Downloaded derive_setters v0.1.6 Downloaded darling_macro v0.20.10 Downloaded pulldown-cmark-escape v0.11.0 Downloaded matchers v0.1.0 Downloaded punycode v0.4.1 Downloaded serde_derive v1.0.217 Downloaded self_cell v0.10.3 Downloaded psm v0.1.24 Downloaded rustc-hash v1.1.0 Downloaded time-core v0.1.2 Downloaded rand_xoshiro v0.6.0 Downloaded proc-macro2 v1.0.92 Downloaded unic-langid-macros v0.9.5 Downloaded self_cell v1.1.0 Downloaded zerofrom v0.1.5 Downloaded type-map v0.5.0 Downloaded tinyvec_macros v0.1.1 Downloaded regex v1.11.1 Downloaded rustc_version v0.4.1 Downloaded zerocopy-derive v0.7.35 Downloaded unicode-script v0.5.7 Downloaded ruzstd v0.7.3 Downloaded rustc-rayon-core v0.5.0 Downloaded time v0.3.37 Downloaded zerocopy v0.7.35 Downloaded rustc-rayon v0.5.0 Downloaded tracing-subscriber v0.3.18 Downloaded regex-syntax v0.6.29 Downloaded wasmparser v0.222.0 Downloaded wasmparser v0.219.1 Downloaded rustix v0.38.42 Downloaded unicode-width v0.2.0 Downloaded syn v2.0.93 Downloaded unicode-normalization v0.1.24 Downloaded wasm-encoder v0.219.1 Downloaded unicode-security v0.1.2 Downloaded unic-langid-impl v0.9.5 Downloaded tracing-core v0.1.30 Downloaded tracing v0.1.37 Downloaded tinyvec v1.8.1 Downloaded sharded-slab v0.1.7 Downloaded serde v1.0.217 Downloaded memoffset v0.9.1 Downloaded ident_case v1.0.1 Downloaded unicode-properties v0.1.3 Downloaded termize v0.1.1 Downloaded cc v1.2.6 Downloaded unicode-ident v1.0.14 Downloaded zerovec v0.10.4 Downloaded serde_json v1.0.134 Downloaded thin-vec v0.2.13 Downloaded smallvec v1.13.2 Downloaded yoke v0.7.5 Downloaded unicode-xid v0.2.6 Downloaded tracing-tree v0.3.1 Downloaded tracing-log v0.2.0 Downloaded tracing-attributes v0.1.28 Downloaded thorin-dwp v0.8.0 Downloaded thiserror v1.0.69 Downloaded tempfile v3.14.0 Downloaded regex-automata v0.2.0 Downloaded synstructure v0.13.1 Downloaded static_assertions v1.1.0 Downloaded stacker v0.1.17 Downloaded stable_deref_trait v1.2.0 Downloaded sha1 v0.10.6 Downloaded semver v1.0.24 Downloaded scoped-tls v1.0.1 Downloaded rustc-stable-hash v0.1.1 Downloaded rustc-hash v2.1.1 Downloaded zerovec-derive v0.10.3 Downloaded zerofrom-derive v0.1.5 Downloaded yoke-derive v0.7.5 Downloaded writeable v0.5.5 Downloaded unicase v2.8.1 Downloaded unic-langid-macros-impl v0.9.5 Downloaded unic-langid v0.9.5 Downloaded twox-hash v1.6.3 Downloaded tinystr v0.7.6 Downloaded time-macros v0.2.19 Downloaded thiserror-impl v1.0.69 Downloaded strsim v0.11.1 Downloaded gimli v0.30.0 Downloaded nix v0.29.0 Downloaded thread_local v1.1.8 Downloaded itertools v0.12.1 Downloaded regex-automata v0.1.10 Downloaded pulldown-cmark v0.11.3 Downloaded hashbrown v0.14.5 Downloaded blake3 v1.5.5 Downloaded scopeguard v1.2.0 Downloaded indexmap v2.7.0 Downloaded flate2 v1.0.35 Downloaded crossbeam-channel v0.5.14 Downloaded rustc_apfloat v0.2.2+llvm-462a31f5a5ab Downloaded rand v0.8.5 Downloaded miniz_oxide v0.8.2 Downloaded darling_core v0.20.10 Downloaded darling v0.20.10 Downloaded ar_archive_writer v0.4.2 Downloaded parking_lot_core v0.9.10 Downloaded parking_lot v0.12.3 Downloaded overload v0.1.1 Downloaded once_cell v1.20.2 Downloaded icu_locid v1.5.0 Downloaded fluent-syntax v0.11.1 Downloaded derive-where v1.2.7 Downloaded quote v1.0.38 Downloaded jobserver v0.1.32 Downloaded icu_locid_transform_data v1.5.0 Downloaded icu_locid_transform v1.5.0 Downloaded datafrog v2.0.1 Downloaded crossbeam-utils v0.8.21 Downloaded crc32fast v1.4.2 Downloaded cpufeatures v0.2.16 Downloaded pin-project-lite v0.2.15 Downloaded perf-event-open-sys v3.0.0 Downloaded num_cpus v1.16.0 Downloaded nu-ansi-term v0.50.1 Downloaded nu-ansi-term v0.46.0 Downloaded measureme v11.0.1 Downloaded litemap v0.7.4 Downloaded libloading v0.8.6 Downloaded leb128 v0.2.5 Downloaded intl-memoizer v0.5.2 Downloaded icu_provider v1.5.0 Downloaded getrandom v0.2.15 Downloaded fluent-bundle v0.15.3 Downloaded field-offset v0.3.6 Downloaded ena v0.14.3 Downloaded elsa v1.7.1 Downloaded either v1.13.0 Downloaded displaydoc v0.2.5 Downloaded deranged v0.3.11 Downloaded ctrlc v3.4.5 Downloaded crossbeam-deque v0.8.6 Downloaded constant_time_eq v0.3.1 Downloaded cfg_aliases v0.2.1 Downloaded autocfg v1.4.0 Downloaded arrayvec v0.7.6 Downloaded rand_chacha v0.3.1 Downloaded powerfmt v0.2.0 Downloaded pathdiff v0.2.3 Downloaded lock_api v0.4.12 Downloaded lazy_static v1.5.0 Downloaded intl_pluralrules v7.0.2 Downloaded icu_provider_adapters v1.5.0 Downloaded icu_list_data v1.5.0 Downloaded fastrand v2.3.0 Downloaded errno v0.3.10 Downloaded equivalent v1.0.1 Downloaded proc-macro-hack v0.5.20+deprecated Downloaded ppv-lite86 v0.2.20 Downloaded polonius-engine v0.13.0 Downloaded odht v0.3.1 Downloaded memmap2 v0.2.3 Downloaded itoa v1.0.14 Downloaded byteorder v1.5.0 Downloaded rand_core v0.6.4 Downloaded num-conv v0.1.0 Downloaded md-5 v0.10.6 Downloaded icu_list v1.5.0 Downloaded gsgdt v0.1.2 Downloaded foldhash v0.1.4 Downloaded fnv v1.0.7 Downloaded fluent-langneg v0.13.0 Downloaded fallible-iterator v0.3.0 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling cfg-if v1.0.0 Compiling stable_deref_trait v1.2.0 Compiling crossbeam-utils v0.8.21 Compiling version_check v0.9.5 Compiling shlex v1.3.0 Compiling autocfg v1.4.0 Compiling smallvec v1.13.2 Compiling once_cell v1.20.2 Compiling bitflags v2.6.0 Compiling either v1.13.0 Compiling foldhash v0.1.4 Compiling memchr v2.7.4 Compiling cc v1.2.6 Compiling hashbrown v0.15.2 Compiling typenum v1.17.0 Compiling equivalent v1.0.1 Compiling generic-array v0.14.7 Compiling parking_lot_core v0.9.10 Compiling tracing-core v0.1.30 Compiling 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: 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 { | ++++ 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/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ Compiling rustix v0.38.42 Compiling 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 thin-vec v0.2.13 Compiling byteorder v1.5.0 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 arrayvec v0.7.6 Compiling itoa v1.0.14 Compiling cpufeatures v0.2.16 Compiling fastrand v2.3.0 Compiling ena v0.14.3 Compiling rustc_arena v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_arena) warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[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 elsa v1.7.1 Compiling arrayref v0.3.9 Compiling rustc-stable-hash v0.1.1 Compiling unicode-width v0.2.0 Compiling rustc-hash v2.1.1 Compiling scoped-tls v1.0.1 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling constant_time_eq v0.3.1 Compiling serde v1.0.217 Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling thiserror v1.0.69 Compiling wasmparser v0.222.0 Compiling num_cpus v1.16.0 Compiling memmap2 v0.2.3 Compiling rustc-rayon-core v0.5.0 Compiling perf-event-open-sys v3.0.0 Compiling jobserver v0.1.32 Compiling parking_lot v0.12.3 Compiling crypto-common v0.1.6 For more information about this error, try `rustc --explain E0133`. Compiling block-buffer v0.10.4 warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) Compiling getrandom v0.2.15 Compiling digest v0.10.7 Compiling adler2 v2.0.0 Compiling static_assertions v1.1.0 Compiling measureme v11.0.1 Compiling miniz_oxide v0.8.2 Compiling rand_core v0.6.4 Compiling md-5 v0.10.6 Compiling sha2 v0.10.8 Compiling sha1 v0.10.6 Compiling crc32fast v1.4.2 Compiling rustc-rayon v0.5.0 Compiling writeable v0.5.5 Compiling serde_json v1.0.134 Compiling litemap v0.7.4 Compiling object v0.36.7 Compiling flate2 v1.0.35 Compiling ryu v1.0.18 Compiling unicode-properties v0.1.3 Compiling unicode-xid v0.2.6 Compiling tempfile v3.14.0 Compiling rustc_lexer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lexer) Compiling icu_locid_transform_data v1.5.0 Compiling rand_xoshiro v0.6.0 Compiling type-map v0.5.0 Compiling regex-automata v0.2.0 Compiling ident_case v1.0.1 Compiling self_cell v1.1.0 Compiling icu_list_data v1.5.0 Compiling strsim v0.11.1 Compiling fnv v1.0.7 Compiling 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 synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling annotate-snippets v0.11.5 Compiling termize v0.1.1 Compiling unicode-width v0.1.14 Compiling rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) Compiling termcolor v1.4.1 Compiling getopts v0.2.21 Compiling indexmap v2.7.0 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_version v0.4.1 Compiling polonius-engine v0.13.0 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) 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 allocator-api2 v0.2.21 Compiling regex-syntax v0.6.29 Compiling displaydoc v0.2.5 Compiling tracing-attributes v0.1.28 Compiling zerofrom-derive v0.1.5 Compiling yoke-derive v0.7.5 Compiling zerovec-derive v0.10.3 Compiling tinystr v0.7.6 Compiling zerocopy-derive v0.7.35 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 derive-where v1.2.7 Compiling tracing v0.1.37 Compiling zerofrom v0.1.5 Compiling yoke v0.7.5 Compiling serde_derive v1.0.217 Compiling thiserror-impl v1.0.69 Compiling icu_provider_macros v1.5.0 Compiling zerovec v0.10.4 Compiling zerocopy v0.7.35 Compiling unic-langid-macros v0.9.5 Compiling darling_macro v0.20.10 Compiling unic-langid v0.9.5 Compiling intl-memoizer v0.5.2 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.2 Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling ppv-lite86 v0.2.20 Compiling darling v0.20.10 Compiling derive_setters v0.1.6 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling unicode-normalization v0.1.24 Compiling rand_chacha v0.3.1 Compiling icu_locid v1.5.0 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling rand v0.8.5 Compiling fluent-syntax v0.11.1 Compiling icu_provider v1.5.0 Compiling twox-hash v1.6.3 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 ruzstd v0.7.3 Compiling icu_locid_transform v1.5.0 Compiling rustc_span v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_span) Compiling fluent-bundle v0.15.3 Compiling icu_list v1.5.0 Compiling rustc_ast_ir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_ir) Compiling rustc_ast v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast) Compiling icu_provider_adapters v1.5.0 Compiling rustc_type_ir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir) Compiling rustc_baked_icu_data v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_baked_icu_data) Compiling regex v1.11.1 Compiling rustc_fluent_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fluent_macro) Compiling rustc_error_messages v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_messages) Compiling unicode-security v0.1.2 Compiling gsgdt v0.1.2 Compiling hashbrown v0.14.5 Compiling regex-automata v0.1.10 Compiling gimli v0.30.0 Compiling rustc_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_llvm) Compiling lazy_static v1.5.0 Compiling rustc_feature v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_feature) Compiling rustc_ast_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_pretty) Compiling rustc_abi v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_abi) Compiling rustc_next_trait_solver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_next_trait_solver) Compiling punycode v0.4.1 Compiling rustc-demangle v0.1.24 Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling cfg_aliases v0.2.1 Compiling overload v0.1.1 Compiling leb128 v0.2.5 Compiling pulldown-cmark v0.11.3 warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default Compiling wasm-encoder v0.219.1 Compiling thorin-dwp v0.8.0 Compiling nu-ansi-term v0.46.0 Compiling nix v0.29.0 Compiling ar_archive_writer v0.4.2 Compiling matchers v0.1.0 Compiling sharded-slab v0.1.7 Compiling thread_local v1.1.8 Compiling pulldown-cmark-escape v0.11.0 Compiling unicase v2.8.1 Compiling pathdiff v0.2.3 warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling nu-ansi-term v0.50.1 Compiling time-core v0.1.2 Compiling powerfmt v0.2.0 Compiling num-conv v0.1.0 Compiling deranged v0.3.11 Compiling time-macros v0.2.19 Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling tracing-tree v0.3.1 Compiling ctrlc v3.4.5 Compiling time v0.3.37 Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling rustc_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) Compiling rustc_attr_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_data_structures) Compiling rustc_attr_parsing v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_parsing) Compiling rustc_query_system v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) 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_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_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) Compiling rustc_transmute v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_trait_selection) Compiling rustc_resolve v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_resolve) Compiling rustc_lint v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint) Compiling rustc_ty_utils v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ty_utils) Compiling rustc_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) Compiling rustc_privacy v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_privacy) Compiling rustc_codegen_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) Compiling rustc_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_const_eval v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_const_eval) Compiling rustc_mir_build v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_build) Compiling rustc_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) Compiling rustc_hir_typeck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_typeck) Compiling rustc_mir_transform v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_transform) Compiling rustc_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_passes) Compiling rustc_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) Compiling rustc_interface v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver_impl) Compiling rustc_driver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver) Finished `release` profile [optimized] target(s) in 2m 39s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Compiling compiler_builtins v0.1.140 Compiling core v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/core) Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling object v0.36.7 Compiling std v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling memchr v2.7.4 Compiling rustc-demangle v0.1.24 Compiling unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/unwind) Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling gimli v0.29.0 Compiling miniz_oxide v0.7.4 Compiling hashbrown v0.15.2 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling addr2line v0.22.0 Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 39.26s 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 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 typenum v1.17.0 Compiling equivalent v1.0.1 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 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) 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 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 byteorder v1.5.0 Compiling linux-raw-sys v0.4.14 Compiling cpufeatures v0.2.16 Compiling fastrand v2.3.0 Compiling arrayvec v0.7.6 Compiling itoa v1.0.14 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 arrayref v0.3.9 Compiling rustc-hash v2.1.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/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 rustc-stable-hash v0.1.1 Compiling constant_time_eq v0.3.1 Compiling unicode-width v0.2.0 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling scoped-tls v1.0.1 Compiling thiserror v1.0.69 Compiling serde v1.0.217 warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation Compiling static_assertions v1.1.0 Compiling adler2 v2.0.0 warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling wasmparser v0.222.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 ryu v1.0.18 Compiling num_cpus v1.16.0 Compiling memmap2 v0.2.3 Compiling block-buffer v0.10.4 Compiling rustc-rayon-core v0.5.0 Compiling parking_lot v0.12.3 Compiling crypto-common v0.1.6 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 perf-event-open-sys v3.0.0 Compiling jobserver v0.1.32 Compiling digest v0.10.7 Compiling getrandom v0.2.15 Compiling measureme v11.0.1 Compiling sha1 v0.10.6 Compiling md-5 v0.10.6 Compiling rand_core v0.6.4 Compiling sha2 v0.10.8 Compiling rustc-rayon v0.5.0 Compiling flate2 v1.0.35 Compiling unicode-xid v0.2.6 Compiling unicode-properties v0.1.3 Compiling icu_locid_transform_data v1.5.0 Compiling rand_xoshiro v0.6.0 Compiling rustc_lexer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lexer) Compiling regex-automata v0.2.0 Compiling type-map v0.5.0 Compiling tempfile v3.14.0 Compiling self_cell v1.1.0 Compiling icu_list_data v1.5.0 Compiling ident_case v1.0.1 Compiling strsim v0.11.1 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) 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 annotate-snippets v0.11.5 Compiling termize v0.1.1 Compiling termcolor v1.4.1 Compiling rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) Compiling unicode-width v0.1.14 Compiling semver v1.0.24 Compiling getopts v0.2.21 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 tinyvec v1.8.1 Compiling synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling field-offset v0.3.6 Compiling indexmap v2.7.0 Compiling polonius-engine v0.13.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 unicode-normalization v0.1.24 Compiling rustc_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_llvm) Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling gimli v0.30.0 Compiling lazy_static v1.5.0 Compiling pulldown-cmark v0.11.3 Compiling unicode-security v0.1.2 Compiling cfg_aliases v0.2.1 Compiling leb128 v0.2.5 Compiling rustc-demangle v0.1.24 Compiling punycode v0.4.1 Compiling overload v0.1.1 Compiling nu-ansi-term v0.46.0 Compiling wasm-encoder v0.219.1 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 tracing v0.1.37 Compiling zerofrom v0.1.5 Compiling yoke v0.7.5 Compiling serde_derive v1.0.217 Compiling thiserror-impl v1.0.69 Compiling zerocopy v0.7.35 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_pluralrules v7.0.2 Compiling ppv-lite86 v0.2.20 Compiling fluent-langneg v0.13.0 Compiling intl-memoizer v0.5.2 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 rand_chacha v0.3.1 Compiling regex-automata v0.4.9 Compiling fluent-syntax v0.11.1 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling rand v0.8.5 Compiling icu_locid v1.5.0 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling twox-hash v1.6.3 Compiling icu_provider v1.5.0 Compiling fluent-bundle v0.15.3 Compiling ruzstd v0.7.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 darling v0.20.10 Compiling derive_setters v0.1.6 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_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 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 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 hashbrown v0.14.5 Compiling regex-automata v0.1.10 Compiling gsgdt v0.1.2 Compiling nix v0.29.0 Compiling matchers v0.1.0 Compiling sharded-slab v0.1.7 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 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 thread_local v1.1.8 Compiling pulldown-cmark-escape v0.11.0 Compiling unicase v2.8.1 Compiling pathdiff v0.2.3 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling powerfmt v0.2.0 Compiling num-conv v0.1.0 Compiling time-core v0.1.2 Compiling nu-ansi-term v0.50.1 Compiling time-macros v0.2.19 Compiling deranged v0.3.11 warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ Compiling tracing-tree v0.3.1 Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling time v0.3.37 Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling ctrlc v3.4.5 Compiling rustc_lint_defs v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_errors) Compiling rustc_session v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_session) warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Compiling rustc_attr_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_data_structures) Compiling rustc_query_system v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_system) Compiling rustc_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) Compiling rustc_attr_parsing v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_parsing) Compiling rustc_middle v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_builtin_macros) Compiling rustc_infer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_infer) Compiling rustc_mir_dataflow v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_dataflow) Compiling rustc_metadata v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_metadata) Compiling rustc_symbol_mangling v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_symbol_mangling) Compiling rustc_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_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_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) Compiling rustc_transmute v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_trait_selection) Compiling rustc_resolve v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_resolve) Compiling rustc_lint v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint) Compiling rustc_ty_utils v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ty_utils) Compiling rustc_codegen_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) 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_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_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) Compiling rustc_mir_transform v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_transform) Compiling rustc_hir_typeck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_typeck) Compiling rustc_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_passes) Compiling rustc_interface v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_interface) Compiling rustc_driver_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver_impl) Compiling rustc_driver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_driver) Finished `release` profile [optimized] target(s) in 3m 54s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Uplifting library (stage1 -> stage2) Uplifting rustc (stage1 -> stage3) Creating a sysroot for stage3 compiler (use `rustup toolchain link 'name' build/host/stage3`) There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:08:16 xbstrap: install-tool host-rust@compiler [89/94] [2025-04-27 04:03:50.779264 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 88, 'status': 'success', 'subject': 'host-rust@compiler'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'rustc', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 3839 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.08s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.05s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.26s 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 tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded mime v0.3.17 Downloaded base64 v0.21.7 Downloaded mime_guess v2.0.5 Downloaded threadpool v1.8.1 Downloaded rinja_parser v0.3.5 Downloaded rinja v0.3.5 Downloaded basic-toml v0.1.9 Downloaded pulldown-cmark v0.9.6 Downloaded rinja_derive v0.3.5 Downloaded unicode-segmentation v1.12.0 Downloaded nom v7.1.3 Downloaded minimal-lexical v0.2.1 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 cfg-if v1.0.0 Compiling once_cell v1.20.2 Compiling memchr v2.7.4 Compiling autocfg v1.4.0 Compiling unicase v2.8.1 Compiling parking_lot_core v0.9.10 Compiling minimal-lexical v0.2.1 Compiling mime_guess v2.0.5 Compiling tracing-core v0.1.30 Compiling scopeguard v1.2.0 Compiling regex-syntax v0.8.5 Compiling regex-syntax v0.6.29 Compiling smallvec v1.13.2 Compiling generic-array v0.14.7 Compiling lock_api v0.4.12 Compiling lazy_static v1.5.0 Compiling cpufeatures v0.2.16 Compiling overload v0.1.1 Compiling aho-corasick v1.1.3 Compiling nom v7.1.3 Compiling mime v0.3.17 Compiling quote v1.0.38 Compiling rustix v0.38.42 Compiling bitflags v2.6.0 Compiling syn v2.0.93 Compiling pin-project-lite v0.2.15 Compiling nu-ansi-term v0.46.0 Compiling sharded-slab v0.1.7 Compiling parking_lot v0.12.3 Compiling thread_local v1.1.8 Compiling itoa v1.0.14 Compiling serde_json v1.0.134 Compiling linux-raw-sys v0.4.14 Compiling log v0.4.22 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling rustc-hash v2.1.1 Compiling digest v0.10.7 Compiling pulldown-cmark v0.9.6 Compiling tracing-log v0.2.0 Compiling num_cpus v1.16.0 Compiling fastrand v2.3.0 Compiling sha2 v0.10.8 Compiling ryu v1.0.18 Compiling nu-ansi-term v0.50.1 Compiling rustdoc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/librustdoc) Compiling either v1.13.0 Compiling regex-automata v0.1.10 Compiling equivalent v1.0.1 Compiling hashbrown v0.15.2 Compiling itertools v0.12.1 Compiling regex-automata v0.4.9 Compiling threadpool v1.8.1 Compiling minifier v0.3.2 Compiling indexmap v2.7.0 Compiling matchers v0.1.0 Compiling base64 v0.21.7 Compiling tempfile v3.14.0 Compiling unicode-segmentation v1.12.0 Compiling arrayvec v0.7.6 Compiling regex v1.11.1 Compiling serde_derive v1.0.217 Compiling tracing-attributes v0.1.28 Compiling tracing v0.1.37 Compiling tracing-subscriber v0.3.18 Compiling tracing-tree v0.3.1 Compiling basic-toml v0.1.9 Compiling rinja_parser v0.3.5 Compiling rustdoc-json-types v0.1.0 (/var/lib/managarm-buildenv/src/ports/rust/src/rustdoc-json-types) Compiling rinja_derive v0.3.5 Compiling rinja v0.3.5 Compiling rustdoc-tool v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/rustdoc) Finished `release` profile [optimized] target(s) in 1m 02s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded anstream v0.6.18 Downloaded clap_lex v0.7.4 Downloaded is_terminal_polyfill v1.70.1 Downloaded anyhow v1.0.95 Downloaded colorchoice v1.0.3 Downloaded utf8parse v0.2.2 Downloaded clap_builder v4.5.23 Downloaded clap v4.5.23 Downloaded anstyle-query v1.1.2 Downloaded anstyle-parse v0.2.6 Downloaded rayon v1.10.0 Downloaded rayon-core v1.12.1 Compiling proc-macro2 v1.0.92 Compiling crossbeam-utils v0.8.21 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling unicode-ident v1.0.14 Compiling shlex v1.3.0 Compiling rustix v0.38.42 Compiling pkg-config v0.3.31 Compiling utf8parse v0.2.2 Compiling cfg-if v1.0.0 Compiling bitflags v2.6.0 Compiling is_terminal_polyfill v1.70.1 Compiling rayon-core v1.12.1 Compiling linux-raw-sys v0.4.14 Compiling anstyle-parse v0.2.6 Compiling anstyle-query v1.1.2 Compiling anstyle v1.0.10 Compiling cc v1.2.6 Compiling colorchoice v1.0.3 Compiling heck v0.5.0 Compiling strsim v0.11.1 Compiling anstream v0.6.18 Compiling clap_lex v0.7.4 Compiling adler2 v2.0.0 Compiling anyhow v1.0.95 Compiling crc32fast v1.4.2 Compiling clap_builder v4.5.23 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 miniz_oxide v0.8.2 Compiling same-file v1.0.6 Compiling crossbeam-epoch v0.9.18 Compiling either v1.13.0 Compiling quote v1.0.38 Compiling walkdir v2.5.0 Compiling crossbeam-deque v0.8.6 warning: `libc` (lib) generated 3 warnings Compiling syn v2.0.93 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.50s Dist rustc-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.212 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:18 xbstrap: compile-tool host-rust@clippy [90/94] [2025-04-27 04:05:09.994312 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 89, 'status': 'success', 'subject': 'host-rust@compiler'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'clippy', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 7475 (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.28s 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`) 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 toml_datetime v0.6.8 Downloaded write16 v1.0.0 Downloaded toml_edit v0.19.15 Downloaded utf16_iter v1.0.5 Downloaded url v2.5.4 Downloaded toml v0.7.8 Downloaded winnow v0.5.40 Downloaded rustc_tools_util v0.4.0 Downloaded icu_properties_data v1.5.0 Downloaded utf8_iter v1.0.4 Downloaded percent-encoding v2.3.1 Downloaded idna_adapter v1.2.0 Downloaded icu_normalizer_data v1.5.0 Downloaded serde_spanned v0.6.8 Downloaded idna v1.0.3 Downloaded icu_properties v1.5.1 Downloaded icu_normalizer v1.5.0 Downloaded icu_collections v1.5.0 Downloaded color-print v0.3.7 Downloaded color-print-proc-macro v0.3.7 Downloaded cargo_metadata v0.18.1 Downloaded camino v1.1.9 Downloaded quine-mc_cluskey v0.2.4 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 rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling hashbrown v0.15.2 Compiling icu_normalizer_data v1.5.0 Compiling utf8_iter v1.0.4 Compiling write16 v1.0.0 Compiling equivalent v1.0.1 Compiling utf16_iter v1.0.5 Compiling bitflags v2.6.0 Compiling serde_json v1.0.134 Compiling semver v1.0.24 Compiling camino v1.1.9 Compiling winnow v0.5.40 Compiling either v1.13.0 Compiling thiserror v1.0.69 Compiling itoa v1.0.14 Compiling memchr v2.7.4 Compiling percent-encoding v2.3.1 Compiling tinyvec_macros v0.1.1 Compiling ryu v1.0.18 Compiling itertools v0.12.1 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling minimal-lexical v0.2.1 Compiling arrayvec v0.7.6 Compiling form_urlencoded v1.2.1 Compiling tinyvec v1.8.1 Compiling utf8parse v0.2.2 Compiling quote v1.0.38 Compiling rustc_tools_util v0.4.0 Compiling anstyle-parse v0.2.6 Compiling indexmap v2.7.0 Compiling nom v7.1.3 Compiling syn v2.0.93 Compiling clippy v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy) Compiling anstyle-query v1.1.2 Compiling anstyle v1.0.10 Compiling regex-syntax v0.8.5 Compiling unicode-script v0.5.7 Compiling colorchoice v1.0.3 Compiling is_terminal_polyfill v1.70.1 Compiling quine-mc_cluskey v0.2.4 Compiling anstream v0.6.18 Compiling unicode-normalization v0.1.24 Compiling termize v0.1.1 Compiling synstructure v0.13.1 Compiling zerofrom-derive v0.1.5 Compiling yoke-derive v0.7.5 Compiling serde_derive v1.0.217 Compiling zerovec-derive v0.10.3 Compiling displaydoc v0.2.5 Compiling icu_provider_macros v1.5.0 Compiling thiserror-impl v1.0.69 Compiling color-print-proc-macro v0.3.7 Compiling color-print v0.3.7 Compiling zerofrom v0.1.5 Compiling yoke v0.7.5 Compiling zerovec v0.10.4 Compiling tinystr v0.7.6 Compiling icu_collections v1.5.0 Compiling icu_locid v1.5.0 Compiling icu_provider v1.5.0 Compiling icu_locid_transform v1.5.0 Compiling icu_properties v1.5.1 Compiling serde_spanned v0.6.8 Compiling toml_datetime v0.6.8 Compiling clippy_utils v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_utils) Compiling cargo-platform v0.1.9 Compiling toml_edit v0.19.15 Compiling icu_normalizer v1.5.0 Compiling cargo_metadata v0.18.1 Compiling idna_adapter v1.2.0 Compiling idna v1.0.3 Compiling url v2.5.4 Compiling toml v0.7.8 Compiling clippy_config v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_config) Compiling clippy_lints v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_lints) Finished `release` profile [optimized] target(s) in 1m 23s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:01:27 xbstrap: install-tool host-rust@clippy [91/94] [2025-04-27 04:06:37.710975 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 90, 'status': 'success', 'subject': 'host-rust@clippy'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'clippy', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 9098 (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.28s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.03s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.26s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Uplifting library (stage1 -> stage2) Uplifting rustc (stage1 -> stage3) Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.17s Building tool cargo-clippy (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.20s 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.027 seconds Installing stage2 clippy (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'clippy-preview' clippy installed. There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:00:05 xbstrap: compile-tool host-rust@std [92/94] [2025-04-27 04:06:43.406054 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 91, 'status': 'success', 'subject': 'host-rust@clippy'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'build', 'std', '--stage', '2', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 9795 (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.26s 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.29s 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) -> riscv64gc-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 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 Finished `release` profile [optimized] target(s) in 29.38s 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:33 xbstrap: install-tool host-rust@std [93/94] [2025-04-27 04:07:17.474193 chopin] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 92, 'status': 'success', 'subject': 'host-rust@std'} xbstrap: Running ['python3', '@THIS_SOURCE_DIR@/x.py', 'install', 'std', '-j', '@PARALLELISM@'] (tools: ['host-libffi', 'host-llvm-toolchain', 'host-python', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 10707 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.05s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.03s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.25s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.03s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.26s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Building stage2 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu) -> riscv64gc-unknown-managarm-mlibc) Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 3.88s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings Finished `release` profile [optimized] target(s) in 0.18s Dist rust-std-1.85.1-dev-riscv64gc-unknown-managarm-mlibc finished in 0.090 seconds Installing stage2 std (riscv64gc-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-riscv64gc-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.102 seconds Installing stage2 std (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'rust-std-x86_64-unknown-linux-gnu' rust std installed. There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:00:10 xbstrap: archive-tool host-rust [94/94] [2025-04-27 04:07:28.411218 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 93, 'status': 'success', 'subject': 'host-rust@std'} [2025-04-27 04:08:26.497508 chopin] DEBUG: xbbs.worker: got notify {'action': 'archive-tool', 'architecture': 'noarch', 'artifact_files': [], 'n_all': 94, 'n_this': 94, 'status': 'success', 'subject': 'host-rust'} [2025-04-27 04:08:30.046299 chopin] DEBUG: xbbs.worker: successfully uploaded tool host-rust for JobMessage(project='managarm_riscv', job='tool:host-rust', repository='https://github.com/managarm/bootstrap-managarm.git', revision='e436f776222aedcd25e6cf2433efd58ed6059422', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'mlibc-headers': {'architecture': 'riscv64', 'version': '0.0pl4468_1'}, 'libdrm-headers': {'architecture': 'riscv64', 'version': '2.4.124_1'}, 'frigg': {'architecture': 'riscv64', 'version': '0.0pl358_7'}, 'linux-headers': {'architecture': 'riscv64', 'version': '6.12.8_2'}, 'mlibc': {'architecture': 'riscv64', 'version': '0.0pl4468_1'}}, needed_tools={'host-python': {'architecture': {'riscv64'}, 'version': '3.10.12_1'}, 'cross-binutils': {'architecture': 'riscv64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'riscv64', 'version': '14.2.0_1'}, 'host-libffi': {'architecture': 'riscv64', 'version': '3.4.4_1'}, 'host-llvm-toolchain': {'architecture': {'riscv64'}, 'version': '19.1.7_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'riscv64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_riscv/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_riscv/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/riscv64/') [2025-04-27 04:08:30.046653 chopin] INFO: xbbs.worker: job done. return code: 0