[2025-06-01 04:13:26.279571 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm_aarch64', job='tool:host-rust', repository='https://github.com/managarm/bootstrap-managarm.git', revision='e29184954800fe5e60d720c50c5bb806e4e640e4', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'libdrm-headers': {'architecture': 'aarch64', 'version': '2.4.124_1'}, 'linux-headers': {'architecture': 'aarch64', 'version': '6.12.8_2'}, 'mlibc-headers': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}, 'frigg': {'architecture': 'aarch64', 'version': '0.0pl360_7'}, 'mlibc': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}}, needed_tools={'host-libffi': {'architecture': 'aarch64', 'version': '3.4.4_1'}, 'cross-binutils': {'architecture': 'aarch64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'aarch64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'aarch64'}, 'version': '3.10.12_1'}, 'host-llvm-toolchain': {'architecture': {'aarch64'}, 'version': '19.1.7_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'aarch64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_aarch64/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/aarch64/') [2025-06-01 04:13:26.279974 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-06-01 04:13:26.288723 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-06-01 04:13:26.296381 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-06-01 04:13:27.208414 chopin] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', 'e29184954800fe5e60d720c50c5bb806e4e640e4'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at e291849 sys-boot: upgrade to 9.3.3 [2025-06-01 04:13:27.251286 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-06-01 04:13:31.357761 chopin] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'libdrm-headers', 'linux-headers', 'mlibc-headers', 'frigg', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_aarch64/package_repo/aarch64-repodata' ... aarch64-repodata: [3461B 100%] 100MB/s ETA: 00m00s aarch64-repodata: 3461B [avg rate: 100MB/s] 5 packages will be downloaded: 5 packages will be installed: libdrm-headers-2.4.124_1 linux-headers-6.12.8_2 mlibc-headers-0.0pl4468_1 frigg-0.0pl360_7 mlibc-0.0pl4468_1 Size to download: 8055KB Size required on disk: 30MB Space available on disk: 633GB [*] Downloading packages libdrm-headers-2.4.124_1.aarch64.xbps.sig2: [512B 100%] 41MB/s ETA: 00m00s libdrm-headers-2.4.124_1.aarch64.xbps.sig2: 512B [avg rate: 41MB/s] libdrm-headers-2.4.124_1.aarch64.xbps: [120KB 3%] 150MB/s ETA: 00m00s libdrm-headers-2.4.124_1.aarch64.xbps: 120KB [avg rate: 4519MB/s] libdrm-headers-2.4.124_1: verifying RSA signature... linux-headers-6.12.8_2.aarch64.xbps.sig2: [512B 100%] 41MB/s ETA: 00m00s linux-headers-6.12.8_2.aarch64.xbps.sig2: 512B [avg rate: 41MB/s] linux-headers-6.12.8_2.aarch64.xbps: [3065KB 0%] 130MB/s ETA: 00m00s linux-headers-6.12.8_2.aarch64.xbps: 3065KB [avg rate: 97GB/s] linux-headers-6.12.8_2: verifying RSA signature... mlibc-headers-0.0pl4468_1.aarch64.xbps.sig2: [512B 100%] 29MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.aarch64.xbps.sig2: 512B [avg rate: 29MB/s] mlibc-headers-0.0pl4468_1.aarch64.xbps: [99KB 4%] 195MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.aarch64.xbps: 99KB [avg rate: 4850MB/s] mlibc-headers-0.0pl4468_1: verifying RSA signature... frigg-0.0pl360_7.aarch64.xbps.sig2: [512B 100%] 29MB/s ETA: 00m00s frigg-0.0pl360_7.aarch64.xbps.sig2: 512B [avg rate: 29MB/s] frigg-0.0pl360_7.aarch64.xbps: [42KB 9%] 178MB/s ETA: 00m00s frigg-0.0pl360_7.aarch64.xbps: 42KB [avg rate: 1862MB/s] frigg-0.0pl360_7: verifying RSA signature... mlibc-0.0pl4468_1.aarch64.xbps.sig2: [512B 100%] 26MB/s ETA: 00m00s mlibc-0.0pl4468_1.aarch64.xbps.sig2: 512B [avg rate: 26MB/s] mlibc-0.0pl4468_1.aarch64.xbps: [4726KB 0%] 178MB/s ETA: 00m00s mlibc-0.0pl4468_1.aarch64.xbps: 4726KB [avg rate: 205GB/s] mlibc-0.0pl4468_1: verifying RSA signature... [*] Collecting package files libdrm-headers-2.4.124_1: collecting files... linux-headers-6.12.8_2: collecting files... mlibc-headers-0.0pl4468_1: collecting files... frigg-0.0pl360_7: collecting files... mlibc-0.0pl4468_1: collecting files... [*] Unpacking packages libdrm-headers-2.4.124_1: unpacking ... linux-headers-6.12.8_2: unpacking ... mlibc-headers-0.0pl4468_1: unpacking ... frigg-0.0pl360_7: unpacking ... mlibc-0.0pl4468_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-06-01 04:13:32.271682 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2025-06-01 04:13:32.272049 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.aarch64.xbps [2025-06-01 04:13:32.275248 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.12.8_2.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.12.8_2' (aarch64). index: 1 packages registered. [2025-06-01 04:13:32.291994 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl360_7.aarch64.xbps [2025-06-01 04:13:32.292581 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl360_7.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl360_7' (aarch64). index: 2 packages registered. [2025-06-01 04:13:32.307523 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4468_1.aarch64.xbps [2025-06-01 04:13:32.312637 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4468_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4468_1' (aarch64). index: 3 packages registered. [2025-06-01 04:13:32.331747 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4468_1.aarch64.xbps [2025-06-01 04:13:32.332352 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4468_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4468_1' (aarch64). index: 4 packages registered. [2025-06-01 04:13:32.347342 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.aarch64.xbps [2025-06-01 04:13:32.347986 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.124_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.124_1' (aarch64). index: 5 packages registered. [2025-06-01 04:13:45.570747 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-06-01 04:13:57.237158 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-06-01 04:13:59.867977 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-06-01 04:14:00.771873 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 3, 'status': 'success', 'subject': 'rust'} [2025-06-01 04:14:00.772556 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-06-01 04:14:01.197423 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-06-01 04:14:01.213618 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-06-01 04:14:01.229315 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 7, 'status': 'success', 'subject': 'rust-backtrace'} [2025-06-01 04:14:01.230080 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-06-01 04:14:01.574946 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-06-01 04:14:01.592513 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-06-01 04:14:01.607428 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 11, 'status': 'success', 'subject': 'rust-calloop'} [2025-06-01 04:14:01.608160 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-06-01 04:14:02.164077 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-06-01 04:14:02.179075 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-06-01 04:14:02.196537 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 15, 'status': 'success', 'subject': 'rust-cc'} [2025-06-01 04:14:02.197191 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-06-01 04:14:02.467990 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-06-01 04:14:02.478114 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-06-01 04:14:02.488697 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 19, 'status': 'success', 'subject': 'rust-errno'} [2025-06-01 04:14:02.489305 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-06-01 04:14:02.788844 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-06-01 04:14:02.801272 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-06-01 04:14:02.812898 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 23, 'status': 'success', 'subject': 'rust-getrandom-0.2'} [2025-06-01 04:14:02.813551 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-06-01 04:14:03.126611 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-06-01 04:14:03.140177 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-06-01 04:14:03.153292 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 27, 'status': 'success', 'subject': 'rust-getrandom-0.3'} [2025-06-01 04:14:03.153892 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-06-01 04:14:03.548807 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-06-01 04:14:03.562994 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-06-01 04:14:03.586335 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 31, 'status': 'success', 'subject': 'rust-glutin'} [2025-06-01 04:14:03.586969 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-06-01 04:14:04.456277 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-06-01 04:14:04.504936 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-06-01 04:14:04.573183 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 35, 'status': 'success', 'subject': 'rust-libc'} [2025-06-01 04:14:04.574054 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-06-01 04:14:04.901111 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-06-01 04:14:04.912185 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-06-01 04:14:04.922725 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 39, 'status': 'success', 'subject': 'rust-libloading'} [2025-06-01 04:14:04.923311 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-06-01 04:14:05.267326 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-06-01 04:14:05.286535 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-06-01 04:14:05.301998 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 43, 'status': 'success', 'subject': 'rust-mio-0.6'} [2025-06-01 04:14:05.302730 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-06-01 04:14:05.637585 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-06-01 04:14:05.651945 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-06-01 04:14:05.665896 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 47, 'status': 'success', 'subject': 'rust-mio-0.8'} [2025-06-01 04:14:05.666510 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-06-01 04:14:06.044893 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-06-01 04:14:06.059243 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-06-01 04:14:06.072790 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 51, 'status': 'success', 'subject': 'rust-mio-1.0'} [2025-06-01 04:14:06.073388 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-06-01 04:14:06.476657 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-06-01 04:14:06.494750 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-06-01 04:14:06.524448 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 55, 'status': 'success', 'subject': 'rust-nix'} [2025-06-01 04:14:06.525074 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-06-01 04:14:06.881967 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-06-01 04:14:06.896462 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-06-01 04:14:06.907350 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-06-01 04:14:06.908055 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-06-01 04:14:06.908744 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 94, 'n_this': 61, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-06-01 04:14:06.909286 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 94, 'n_this': 62, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-06-01 04:14:06.909883 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-06-01 04:14:07.574563 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-06-01 04:14:07.613353 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-06-01 04:14:07.639131 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 66, 'status': 'success', 'subject': 'rust-rustix'} [2025-06-01 04:14:07.639824 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-06-01 04:14:07.847845 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-06-01 04:14:07.859143 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-06-01 04:14:07.868909 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 70, 'status': 'success', 'subject': 'rust-shared-library'} [2025-06-01 04:14:07.869542 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-06-01 04:14:08.135443 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-06-01 04:14:08.146597 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-06-01 04:14:08.157770 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 74, 'status': 'success', 'subject': 'rust-users'} [2025-06-01 04:14:08.158496 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-06-01 04:14:08.405694 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-06-01 04:14:08.417103 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-06-01 04:14:08.429033 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 78, 'status': 'success', 'subject': 'rust-uzers'} [2025-06-01 04:14:08.429717 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-06-01 04:14:08.857271 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-06-01 04:14:08.878783 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] xbstrap: configure-tool host-rust [85/94] [2025-06-01 04:14:08.918611 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 94, 'n_this': 82, 'status': 'success', 'subject': 'rust-winit'} xbstrap: compile-tool host-rust@config [86/94] [2025-06-01 04:14:08.919520 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 83, 'status': 'success', 'subject': 'rust-winit'} [2025-06-01 04:14:08.920334 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 94, 'n_this': 84, 'status': 'success', 'subject': 'rust-patched-libs'} [2025-06-01 04:14:08.921177 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-llvm-toolchain', 'host-python', 'system-gcc', 'host-libffi', 'cross-binutils']) via cbuildrt PID init is 669092 (outside the namespace) xbstrap: install-tool host-rust@config [87/94] [2025-06-01 04:14:09.094349 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-06-01 04:14:09.095326 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-llvm-toolchain', 'host-python', 'system-gcc', 'host-libffi', 'cross-binutils']) via cbuildrt PID init is 669135 (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 #=#=# ##O#-# ##O=# # #=#=-# # -#O#- # # -=#=# # # ### 5.3% ##################### 30.3% ####################### 33.1% ############################################ 62.3% ############################################################## 87.3% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz #=#=# ##O#-# ##O=# # 0.0% 0.1% 0.1% 0.2% 0.4% 0.9% # 1.9% ## 3.7% ##### 7.3% ######### 12.7% ############ 18.0% ################ 23.4% #################### 28.8% ######################## 34.3% ############################ 39.9% ################################ 45.4% #################################### 50.8% ######################################## 56.2% ############################################ 61.8% ################################################ 67.3% #################################################### 72.8% ####################################################### 77.7% ########################################################### 83.1% ############################################################### 88.5% ################################################################### 94.0% ####################################################################### 99.4% ######################################################################## 100.0% downloading https://static.rust-lang.org/dist/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz #=#=# 0.2% 0.6% 1.1% # 2.6% ### 4.2% #### 6.8% ########## 14.3% ################### 27.5% ######################################## 55.7% ######################################################################## 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 block-buffer v0.10.4 Downloaded cfg-if v1.0.0 Downloaded opener v0.5.2 Downloaded heck v0.5.0 Downloaded termcolor v1.4.1 Downloaded filetime v0.2.25 Downloaded same-file v1.0.6 Downloaded xattr v1.3.1 Downloaded itoa v1.0.11 Downloaded globset v0.4.15 Downloaded errno v0.3.9 Downloaded version_check v0.9.5 Downloaded shlex v1.3.0 Downloaded xz2 v0.1.7 Downloaded walkdir v2.5.0 Downloaded typenum v1.17.0 Downloaded log v0.4.22 Downloaded tar v0.4.43 Downloaded serde v1.0.215 Downloaded memchr v2.7.4 Downloaded serde_json v1.0.132 Downloaded clap_builder v4.5.20 Downloaded crossbeam-utils v0.8.20 Downloaded ignore v0.4.23 Downloaded crossbeam-epoch v0.9.18 Downloaded cc v1.1.22 Downloaded toml v0.5.11 Downloaded serde_derive v1.0.215 Downloaded syn v2.0.87 Downloaded semver v1.0.23 Downloaded ryu v1.0.18 Downloaded clap_derive v4.5.18 Downloaded regex-syntax v0.8.5 Downloaded rustix v0.38.40 Downloaded object v0.36.5 Downloaded bstr v1.10.0 Downloaded clap v4.5.20 Downloaded unicode-ident v1.0.13 Downloaded proc-macro2 v1.0.89 Downloaded quote v1.0.37 Downloaded digest v0.10.7 Downloaded crossbeam-deque v0.8.5 Downloaded bitflags v2.6.0 Downloaded sha2 v0.10.8 Downloaded fd-lock v4.0.2 Downloaded clap_lex v0.7.2 Downloaded regex-automata v0.4.9 Downloaded clap_complete v4.5.37 Downloaded pkg-config v0.3.31 Downloaded generic-array v0.14.7 Downloaded crypto-common v0.1.6 Downloaded cmake v0.1.48 Downloaded aho-corasick v1.1.3 Downloaded home v0.5.9 Downloaded lzma-sys v0.1.20 Downloaded libc v0.2.167 Downloaded cpufeatures v0.2.15 Downloaded anstyle v1.0.10 Downloaded linux-raw-sys v0.4.14 Compiling proc-macro2 v1.0.89 Compiling unicode-ident v1.0.13 Compiling memchr v2.7.4 Compiling typenum v1.17.0 Compiling version_check v0.9.5 Compiling libc v0.2.167 Compiling shlex v1.3.0 Compiling regex-syntax v0.8.5 Compiling rustix v0.38.40 Compiling crossbeam-utils v0.8.20 Compiling serde v1.0.215 Compiling linux-raw-sys v0.4.14 Compiling bitflags v2.6.0 Compiling cc v1.1.22 Compiling pkg-config v0.3.31 Compiling cfg-if v1.0.0 Compiling generic-array v0.14.7 Compiling heck v0.5.0 Compiling aho-corasick v1.1.3 Compiling clap_lex v0.7.2 Compiling anstyle v1.0.10 Compiling quote v1.0.37 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.87 Compiling clap_builder v4.5.20 Compiling serde_json v1.0.132 Compiling log v0.4.22 Compiling semver v1.0.23 Compiling same-file v1.0.6 Compiling crossbeam-deque v0.8.5 Compiling walkdir v2.5.0 Compiling filetime v0.2.25 Compiling ryu v1.0.18 Compiling cpufeatures v0.2.15 Compiling bootstrap v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/bootstrap) Compiling itoa v1.0.11 Compiling lzma-sys v0.1.20 Compiling cmake v0.1.48 Compiling object v0.36.5 Compiling regex-automata v0.4.9 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling home v0.5.9 Compiling digest v0.10.7 Compiling termcolor v1.4.1 Compiling sha2 v0.10.8 Compiling xz2 v0.1.7 Compiling xattr v1.3.1 Compiling fd-lock v4.0.2 Compiling tar v0.4.43 Compiling toml v0.5.11 Compiling clap_derive v4.5.18 Compiling serde_derive v1.0.215 Compiling bstr v1.10.0 Compiling globset v0.4.15 Compiling opener v0.5.2 Compiling ignore v0.4.23 Compiling clap v4.5.20 Compiling clap_complete v4.5.37 Compiling build_helper v0.1.0 (/var/lib/managarm-buildenv/src/ports/rust/src/build_helper) Finished `dev` profile [unoptimized] target(s) in 19.54s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Updating submodule library/backtrace fatal: ref HEAD is not a symbolic ref Submodule 'library/backtrace' (https://github.com/rust-lang/backtrace-rs.git) registered for path 'library/backtrace' Cloning into '/var/lib/managarm-buildenv/src/ports/rust/library/backtrace'... remote: Enumerating objects: 147, done. remote: Counting objects: 0% (1/147) remote: Counting objects: 1% (2/147) remote: Counting objects: 2% (3/147) remote: Counting objects: 3% (5/147) remote: Counting objects: 4% (6/147) remote: Counting objects: 5% (8/147) remote: Counting objects: 6% (9/147) remote: Counting objects: 7% (11/147) remote: Counting objects: 8% (12/147) remote: Counting objects: 9% (14/147) remote: Counting objects: 10% (15/147) remote: Counting objects: 11% (17/147) remote: Counting objects: 12% (18/147) remote: Counting objects: 13% (20/147) remote: Counting objects: 14% (21/147) remote: Counting objects: 15% (23/147) remote: Counting objects: 16% (24/147) remote: Counting objects: 17% (25/147) remote: Counting objects: 18% (27/147) remote: Counting objects: 19% (28/147) remote: Counting objects: 20% (30/147) remote: Counting objects: 21% (31/147) remote: Counting objects: 22% (33/147) remote: Counting objects: 23% (34/147) remote: Counting objects: 24% (36/147) remote: Counting objects: 25% (37/147) remote: Counting objects: 26% (39/147) remote: Counting objects: 27% (40/147) remote: Counting objects: 28% (42/147) remote: Counting objects: 29% (43/147) remote: Counting objects: 30% (45/147) remote: Counting objects: 31% (46/147) remote: Counting objects: 32% (48/147) remote: Counting objects: 33% (49/147) remote: Counting objects: 34% (50/147) remote: Counting objects: 35% (52/147) remote: Counting objects: 36% (53/147) remote: Counting objects: 37% (55/147) remote: Counting objects: 38% (56/147) remote: Counting objects: 39% (58/147) remote: Counting objects: 40% (59/147) remote: Counting objects: 41% (61/147) remote: Counting objects: 42% (62/147) remote: Counting objects: 43% (64/147) remote: Counting objects: 44% (65/147) remote: Counting objects: 45% (67/147) remote: Counting objects: 46% (68/147) remote: Counting objects: 47% (70/147) remote: Counting objects: 48% (71/147) remote: Counting objects: 49% (73/147) remote: Counting objects: 50% (74/147) remote: Counting objects: 51% (75/147) remote: Counting objects: 52% (77/147) remote: Counting objects: 53% (78/147) remote: Counting objects: 54% (80/147) remote: Counting objects: 55% (81/147) remote: Counting objects: 56% (83/147) remote: Counting objects: 57% (84/147) remote: Counting objects: 58% (86/147) remote: Counting objects: 59% (87/147) remote: Counting objects: 60% (89/147) remote: Counting objects: 61% (90/147) remote: Counting objects: 62% (92/147) remote: Counting objects: 63% (93/147) remote: Counting objects: 64% (95/147) remote: Counting objects: 65% (96/147) remote: Counting objects: 66% (98/147) remote: Counting objects: 67% (99/147) remote: Counting objects: 68% (100/147) remote: Counting objects: 69% (102/147) remote: Counting objects: 70% (103/147) remote: Counting objects: 71% (105/147) remote: Counting objects: 72% (106/147) remote: Counting objects: 73% (108/147) remote: Counting objects: 74% (109/147) remote: Counting objects: 75% (111/147) remote: Counting objects: 76% (112/147) remote: Counting objects: 77% (114/147) remote: Counting objects: 78% (115/147) remote: Counting objects: 79% (117/147) remote: Counting objects: 80% (118/147) remote: Counting objects: 81% (120/147) remote: Counting objects: 82% (121/147) remote: Counting objects: 83% (123/147) remote: Counting objects: 84% (124/147) remote: Counting objects: 85% (125/147) remote: Counting objects: 86% (127/147) remote: Counting objects: 87% (128/147) remote: Counting objects: 88% (130/147) remote: Counting objects: 89% (131/147) remote: Counting objects: 90% (133/147) remote: Counting objects: 91% (134/147) remote: Counting objects: 92% (136/147) remote: Counting objects: 93% (137/147) remote: Counting objects: 94% (139/147) remote: Counting objects: 95% (140/147) remote: Counting objects: 96% (142/147) remote: Counting objects: 97% (143/147) remote: Counting objects: 98% (145/147) remote: Counting objects: 99% (146/147) remote: Counting objects: 100% (147/147) remote: Counting objects: 100% (147/147), done. remote: Compressing objects: 0% (1/113) remote: Compressing objects: 1% (2/113) remote: Compressing objects: 2% (3/113) remote: Compressing objects: 3% (4/113) remote: Compressing objects: 4% (5/113) remote: Compressing objects: 5% (6/113) remote: Compressing objects: 6% (7/113) remote: Compressing objects: 7% (8/113) remote: Compressing objects: 8% (10/113) remote: Compressing objects: 9% (11/113) remote: Compressing objects: 10% (12/113) remote: Compressing objects: 11% (13/113) remote: Compressing objects: 12% (14/113) remote: Compressing objects: 13% (15/113) remote: Compressing objects: 14% (16/113) remote: Compressing objects: 15% (17/113) remote: Compressing objects: 16% (19/113) remote: Compressing objects: 17% (20/113) remote: Compressing objects: 18% (21/113) remote: Compressing objects: 19% (22/113) remote: Compressing objects: 20% (23/113) remote: Compressing objects: 21% (24/113) remote: Compressing objects: 22% (25/113) remote: Compressing objects: 23% (26/113) remote: Compressing objects: 24% (28/113) remote: Compressing objects: 25% (29/113) remote: Compressing objects: 26% (30/113) remote: Compressing objects: 27% (31/113) remote: Compressing objects: 28% (32/113) remote: Compressing objects: 29% (33/113) remote: Compressing objects: 30% (34/113) remote: Compressing objects: 31% (36/113) remote: Compressing objects: 32% (37/113) remote: Compressing objects: 33% (38/113) remote: Compressing objects: 34% (39/113) remote: Compressing objects: 35% (40/113) remote: Compressing objects: 36% (41/113) remote: Compressing objects: 37% (42/113) remote: Compressing objects: 38% (43/113) remote: Compressing objects: 39% (45/113) remote: Compressing objects: 40% (46/113) remote: Compressing objects: 41% (47/113) remote: Compressing objects: 42% (48/113) remote: Compressing objects: 43% (49/113) remote: Compressing objects: 44% (50/113) remote: Compressing objects: 45% (51/113) remote: Compressing objects: 46% (52/113) remote: Compressing objects: 47% (54/113) remote: Compressing objects: 48% (55/113) remote: Compressing objects: 49% (56/113) remote: Compressing objects: 50% (57/113) remote: Compressing objects: 51% (58/113) remote: Compressing objects: 52% (59/113) remote: Compressing objects: 53% (60/113) remote: Compressing objects: 54% (62/113) remote: Compressing objects: 55% (63/113) remote: Compressing objects: 56% (64/113) remote: Compressing objects: 57% (65/113) remote: Compressing objects: 58% (66/113) remote: Compressing objects: 59% (67/113) remote: Compressing objects: 60% (68/113) remote: Compressing objects: 61% (69/113) remote: Compressing objects: 62% (71/113) remote: Compressing objects: 63% (72/113) remote: Compressing objects: 64% (73/113) remote: Compressing objects: 65% (74/113) remote: Compressing objects: 66% (75/113) remote: Compressing objects: 67% (76/113) remote: Compressing objects: 68% (77/113) remote: Compressing objects: 69% (78/113) remote: Compressing objects: 70% (80/113) remote: Compressing objects: 71% (81/113) remote: Compressing objects: 72% (82/113) remote: Compressing objects: 73% (83/113) remote: Compressing objects: 74% (84/113) remote: Compressing objects: 75% (85/113) remote: Compressing objects: 76% (86/113) remote: Compressing objects: 77% (88/113) remote: Compressing objects: 78% (89/113) remote: Compressing objects: 79% (90/113) remote: Compressing objects: 80% (91/113) remote: Compressing objects: 81% (92/113) remote: Compressing objects: 82% (93/113) remote: Compressing objects: 83% (94/113) remote: Compressing objects: 84% (95/113) remote: Compressing objects: 85% (97/113) remote: Compressing objects: 86% (98/113) remote: Compressing objects: 87% (99/113) remote: Compressing objects: 88% (100/113) remote: Compressing objects: 89% (101/113) remote: Compressing objects: 90% (102/113) remote: Compressing objects: 91% (103/113) remote: Compressing objects: 92% (104/113) remote: Compressing objects: 93% (106/113) remote: Compressing objects: 94% (107/113) remote: Compressing objects: 95% (108/113) remote: Compressing objects: 96% (109/113) remote: Compressing objects: 97% (110/113) remote: Compressing objects: 98% (111/113) remote: Compressing objects: 99% (112/113) remote: Compressing objects: 100% (113/113) remote: Compressing objects: 100% (113/113), done. Receiving objects: 0% (1/147) Receiving objects: 1% (2/147) Receiving objects: 2% (3/147) Receiving objects: 3% (5/147) Receiving objects: 4% (6/147) Receiving objects: 5% (8/147) Receiving objects: 6% (9/147) Receiving objects: 7% (11/147) Receiving objects: 8% (12/147) Receiving objects: 9% (14/147) Receiving objects: 10% (15/147) Receiving objects: 11% (17/147) Receiving objects: 12% (18/147) Receiving objects: 13% (20/147) Receiving objects: 14% (21/147) Receiving objects: 15% (23/147) Receiving objects: 16% (24/147) Receiving objects: 17% (25/147) Receiving objects: 18% (27/147) Receiving objects: 19% (28/147) Receiving objects: 20% (30/147) Receiving objects: 21% (31/147) Receiving objects: 22% (33/147) Receiving objects: 23% (34/147) Receiving objects: 24% (36/147) Receiving objects: 25% (37/147) Receiving objects: 26% (39/147) Receiving objects: 27% (40/147) Receiving objects: 28% (42/147) Receiving objects: 29% (43/147) Receiving objects: 30% (45/147) Receiving objects: 31% (46/147) Receiving objects: 32% (48/147) Receiving objects: 33% (49/147) Receiving objects: 34% (50/147) Receiving objects: 35% (52/147) Receiving objects: 36% (53/147) Receiving objects: 37% (55/147) Receiving objects: 38% (56/147) Receiving objects: 39% (58/147) Receiving objects: 40% (59/147) Receiving objects: 41% (61/147) Receiving objects: 42% (62/147) Receiving objects: 43% (64/147) Receiving objects: 44% (65/147) Receiving objects: 45% (67/147) Receiving objects: 46% (68/147) Receiving objects: 47% (70/147) Receiving objects: 48% (71/147) Receiving objects: 49% (73/147) Receiving objects: 50% (74/147) Receiving objects: 51% (75/147) Receiving objects: 52% (77/147) Receiving objects: 53% (78/147) Receiving objects: 54% (80/147) Receiving objects: 55% (81/147) Receiving objects: 56% (83/147) Receiving objects: 57% (84/147) Receiving objects: 58% (86/147) Receiving objects: 59% (87/147) Receiving objects: 60% (89/147) Receiving objects: 61% (90/147) Receiving objects: 62% (92/147) Receiving objects: 63% (93/147) Receiving objects: 64% (95/147) Receiving objects: 65% (96/147) Receiving objects: 66% (98/147) Receiving objects: 67% (99/147) Receiving objects: 68% (100/147) Receiving objects: 69% (102/147) Receiving objects: 70% (103/147) Receiving objects: 71% (105/147) Receiving objects: 72% (106/147) Receiving objects: 73% (108/147) Receiving objects: 74% (109/147) Receiving objects: 75% (111/147) Receiving objects: 76% (112/147) Receiving objects: 77% (114/147) Receiving objects: 78% (115/147) Receiving objects: 79% (117/147) Receiving objects: 80% (118/147) Receiving objects: 81% (120/147) remote: Total 147 (delta 6), reused 92 (delta 4), pack-reused 0 (from 0) Receiving objects: 82% (121/147) Receiving objects: 83% (123/147) Receiving objects: 84% (124/147) Receiving objects: 85% (125/147) Receiving objects: 86% (127/147) Receiving objects: 87% (128/147) Receiving objects: 88% (130/147) Receiving objects: 89% (131/147) Receiving objects: 90% (133/147) Receiving objects: 91% (134/147) Receiving objects: 92% (136/147) Receiving objects: 93% (137/147) Receiving objects: 94% (139/147) Receiving objects: 95% (140/147) Receiving objects: 96% (142/147) Receiving objects: 97% (143/147) Receiving objects: 98% (145/147) Receiving objects: 99% (146/147) Receiving objects: 100% (147/147) Receiving objects: 100% (147/147), 119.46 KiB | 5.43 MiB/s, done. Resolving deltas: 0% (0/6) Resolving deltas: 16% (1/6) Resolving deltas: 33% (2/6) Resolving deltas: 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: 379, done. remote: Counting objects: 0% (1/379) remote: Counting objects: 1% (4/379) remote: Counting objects: 2% (8/379) remote: Counting objects: 3% (12/379) remote: Counting objects: 4% (16/379) remote: Counting objects: 5% (19/379) remote: Counting objects: 6% (23/379) remote: Counting objects: 7% (27/379) remote: Counting objects: 8% (31/379) remote: Counting objects: 9% (35/379) remote: Counting objects: 10% (38/379) remote: Counting objects: 11% (42/379) remote: Counting objects: 12% (46/379) remote: Counting objects: 13% (50/379) remote: Counting objects: 14% (54/379) remote: Counting objects: 15% (57/379) remote: Counting objects: 16% (61/379) remote: Counting objects: 17% (65/379) remote: Counting objects: 18% (69/379) remote: Counting objects: 19% (73/379) remote: Counting objects: 20% (76/379) remote: Counting objects: 21% (80/379) remote: Counting objects: 22% (84/379) remote: Counting objects: 23% (88/379) remote: Counting objects: 24% (91/379) remote: Counting objects: 25% (95/379) remote: Counting objects: 26% (99/379) remote: Counting objects: 27% (103/379) remote: Counting objects: 28% (107/379) remote: Counting objects: 29% (110/379) remote: Counting objects: 30% (114/379) remote: Counting objects: 31% (118/379) remote: Counting objects: 32% (122/379) remote: Counting objects: 33% (126/379) remote: Counting objects: 34% (129/379) remote: Counting objects: 35% (133/379) remote: Counting objects: 36% (137/379) remote: Counting objects: 37% (141/379) remote: Counting objects: 38% (145/379) remote: Counting objects: 39% (148/379) remote: Counting objects: 40% (152/379) remote: Counting objects: 41% (156/379) remote: Counting objects: 42% (160/379) remote: Counting objects: 43% (163/379) remote: Counting objects: 44% (167/379) remote: Counting objects: 45% (171/379) remote: Counting objects: 46% (175/379) remote: Counting objects: 47% (179/379) remote: Counting objects: 48% (182/379) remote: Counting objects: 49% (186/379) remote: Counting objects: 50% (190/379) remote: Counting objects: 51% (194/379) remote: Counting objects: 52% (198/379) remote: Counting objects: 53% (201/379) remote: Counting objects: 54% (205/379) remote: Counting objects: 55% (209/379) remote: Counting objects: 56% (213/379) remote: Counting objects: 57% (217/379) remote: Counting objects: 58% (220/379) remote: Counting objects: 59% (224/379) remote: Counting objects: 60% (228/379) remote: Counting objects: 61% (232/379) remote: Counting objects: 62% (235/379) remote: Counting objects: 63% (239/379) remote: Counting objects: 64% (243/379) remote: Counting objects: 65% (247/379) remote: Counting objects: 66% (251/379) remote: Counting objects: 67% (254/379) remote: Counting objects: 68% (258/379) remote: Counting objects: 69% (262/379) remote: Counting objects: 70% (266/379) remote: Counting objects: 71% (270/379) remote: Counting objects: 72% (273/379) remote: Counting objects: 73% (277/379) remote: Counting objects: 74% (281/379) remote: Counting objects: 75% (285/379) remote: Counting objects: 76% (289/379) remote: Counting objects: 77% (292/379) remote: Counting objects: 78% (296/379) remote: Counting objects: 79% (300/379) remote: Counting objects: 80% (304/379) remote: Counting objects: 81% (307/379) remote: Counting objects: 82% (311/379) remote: Counting objects: 83% (315/379) remote: Counting objects: 84% (319/379) remote: Counting objects: 85% (323/379) remote: Counting objects: 86% (326/379) remote: Counting objects: 87% (330/379) remote: Counting objects: 88% (334/379) remote: Counting objects: 89% (338/379) remote: Counting objects: 90% (342/379) remote: Counting objects: 91% (345/379) remote: Counting objects: 92% (349/379) remote: Counting objects: 93% (353/379) remote: Counting objects: 94% (357/379) remote: Counting objects: 95% (361/379) remote: Counting objects: 96% (364/379) remote: Counting objects: 97% (368/379) remote: Counting objects: 98% (372/379) remote: Counting objects: 99% (376/379) remote: Counting objects: 100% (379/379) remote: Counting objects: 100% (379/379), done. remote: Compressing objects: 0% (1/325) remote: Compressing objects: 1% (4/325) remote: Compressing objects: 2% (7/325) remote: Compressing objects: 3% (10/325) remote: Compressing objects: 4% (13/325) remote: Compressing objects: 5% (17/325) remote: Compressing objects: 6% (20/325) remote: Compressing objects: 7% (23/325) remote: Compressing objects: 8% (26/325) remote: Compressing objects: 9% (30/325) remote: Compressing objects: 10% (33/325) remote: Compressing objects: 11% (36/325) remote: Compressing objects: 12% (39/325) remote: Compressing objects: 13% (43/325) remote: Compressing objects: 14% (46/325) remote: Compressing objects: 15% (49/325) remote: Compressing objects: 16% (52/325) remote: Compressing objects: 17% (56/325) remote: Compressing objects: 18% (59/325) remote: Compressing objects: 19% (62/325) remote: Compressing objects: 20% (65/325) remote: Compressing objects: 21% (69/325) remote: Compressing objects: 22% (72/325) remote: Compressing objects: 23% (75/325) remote: Compressing objects: 24% (78/325) remote: Compressing objects: 25% (82/325) remote: Compressing objects: 26% (85/325) remote: Compressing objects: 27% (88/325) remote: Compressing objects: 28% (91/325) remote: Compressing objects: 29% (95/325) remote: Compressing objects: 30% (98/325) remote: Compressing objects: 31% (101/325) remote: Compressing objects: 32% (104/325) remote: Compressing objects: 33% (108/325) remote: Compressing objects: 34% (111/325) remote: Compressing objects: 35% (114/325) remote: Compressing objects: 36% (117/325) remote: Compressing objects: 37% (121/325) remote: Compressing objects: 38% (124/325) remote: Compressing objects: 39% (127/325) remote: Compressing objects: 40% (130/325) remote: Compressing objects: 41% (134/325) remote: Compressing objects: 42% (137/325) remote: Compressing objects: 43% (140/325) remote: Compressing objects: 44% (143/325) remote: Compressing objects: 45% (147/325) remote: Compressing objects: 46% (150/325) remote: Compressing objects: 47% (153/325) remote: Compressing objects: 48% (156/325) remote: Compressing objects: 49% (160/325) remote: Compressing objects: 50% (163/325) remote: Compressing objects: 51% (166/325) remote: Compressing objects: 52% (169/325) remote: Compressing objects: 53% (173/325) remote: Compressing objects: 54% (176/325) remote: Compressing objects: 55% (179/325) remote: Compressing objects: 56% (182/325) remote: Compressing objects: 57% (186/325) remote: Compressing objects: 58% (189/325) remote: Compressing objects: 59% (192/325) remote: Compressing objects: 60% (195/325) remote: Compressing objects: 61% (199/325) remote: Compressing objects: 62% (202/325) remote: Compressing objects: 63% (205/325) remote: Compressing objects: 64% (208/325) remote: Compressing objects: 65% (212/325) remote: Compressing objects: 66% (215/325) remote: Compressing objects: 67% (218/325) remote: Compressing objects: 68% (221/325) remote: Compressing objects: 69% (225/325) remote: Compressing objects: 70% (228/325) remote: Compressing objects: 71% (231/325) remote: Compressing objects: 72% (234/325) remote: Compressing objects: 73% (238/325) remote: Compressing objects: 74% (241/325) remote: Compressing objects: 75% (244/325) remote: Compressing objects: 76% (247/325) remote: Compressing objects: 77% (251/325) remote: Compressing objects: 78% (254/325) remote: Compressing objects: 79% (257/325) remote: Compressing objects: 80% (260/325) remote: Compressing objects: 81% (264/325) remote: Compressing objects: 82% (267/325) remote: Compressing objects: 83% (270/325) remote: Compressing objects: 84% (273/325) remote: Compressing objects: 85% (277/325) remote: Compressing objects: 86% (280/325) remote: Compressing objects: 87% (283/325) remote: Compressing objects: 88% (286/325) remote: Compressing objects: 89% (290/325) remote: Compressing objects: 90% (293/325) remote: Compressing objects: 91% (296/325) remote: Compressing objects: 92% (299/325) remote: Compressing objects: 93% (303/325) remote: Compressing objects: 94% (306/325) remote: Compressing objects: 95% (309/325) remote: Compressing objects: 96% (312/325) remote: Compressing objects: 97% (316/325) remote: Compressing objects: 98% (319/325) remote: Compressing objects: 99% (322/325) remote: Compressing objects: 100% (325/325) remote: Compressing objects: 100% (325/325), done. Receiving objects: 0% (1/379) Receiving objects: 1% (4/379) Receiving objects: 2% (8/379) Receiving objects: 3% (12/379) Receiving objects: 4% (16/379) Receiving objects: 5% (19/379) Receiving objects: 6% (23/379) Receiving objects: 7% (27/379) Receiving objects: 8% (31/379) Receiving objects: 9% (35/379) Receiving objects: 10% (38/379) Receiving objects: 11% (42/379) Receiving objects: 12% (46/379) Receiving objects: 13% (50/379) Receiving objects: 14% (54/379) Receiving objects: 15% (57/379) Receiving objects: 16% (61/379) Receiving objects: 17% (65/379) Receiving objects: 18% (69/379) Receiving objects: 19% (73/379) Receiving objects: 20% (76/379) Receiving objects: 21% (80/379) Receiving objects: 22% (84/379) Receiving objects: 23% (88/379) Receiving objects: 24% (91/379) Receiving objects: 25% (95/379) Receiving objects: 26% (99/379) Receiving objects: 27% (103/379) Receiving objects: 28% (107/379) Receiving objects: 29% (110/379) Receiving objects: 30% (114/379) Receiving objects: 31% (118/379) Receiving objects: 32% (122/379) Receiving objects: 33% (126/379) Receiving objects: 34% (129/379) Receiving objects: 35% (133/379) Receiving objects: 36% (137/379) Receiving objects: 37% (141/379) Receiving objects: 38% (145/379) Receiving objects: 39% (148/379) Receiving objects: 40% (152/379) Receiving objects: 41% (156/379) Receiving objects: 42% (160/379) Receiving objects: 43% (163/379) Receiving objects: 44% (167/379) Receiving objects: 45% (171/379) Receiving objects: 46% (175/379) Receiving objects: 47% (179/379) Receiving objects: 48% (182/379) Receiving objects: 49% (186/379) Receiving objects: 50% (190/379) Receiving objects: 51% (194/379) Receiving objects: 52% (198/379) Receiving objects: 53% (201/379) Receiving objects: 54% (205/379) Receiving objects: 55% (209/379) Receiving objects: 56% (213/379) Receiving objects: 57% (217/379) Receiving objects: 58% (220/379) Receiving objects: 59% (224/379) Receiving objects: 60% (228/379) Receiving objects: 61% (232/379) Receiving objects: 62% (235/379) Receiving objects: 63% (239/379) Receiving objects: 64% (243/379) Receiving objects: 65% (247/379) Receiving objects: 66% (251/379) Receiving objects: 67% (254/379) Receiving objects: 68% (258/379) Receiving objects: 69% (262/379) Receiving objects: 70% (266/379) Receiving objects: 71% (270/379) Receiving objects: 72% (273/379) Receiving objects: 73% (277/379) Receiving objects: 74% (281/379) Receiving objects: 75% (285/379) Receiving objects: 76% (289/379) Receiving objects: 77% (292/379) Receiving objects: 78% (296/379) Receiving objects: 79% (300/379) Receiving objects: 80% (304/379) Receiving objects: 81% (307/379) Receiving objects: 82% (311/379) Receiving objects: 83% (315/379) Receiving objects: 84% (319/379) Receiving objects: 85% (323/379) Receiving objects: 86% (326/379) Receiving objects: 87% (330/379) Receiving objects: 88% (334/379) Receiving objects: 89% (338/379) Receiving objects: 90% (342/379) Receiving objects: 91% (345/379) Receiving objects: 92% (349/379) Receiving objects: 93% (353/379) Receiving objects: 94% (357/379) Receiving objects: 95% (361/379) Receiving objects: 96% (364/379) Receiving objects: 97% (368/379) remote: Total 379 (delta 56), reused 190 (delta 22), pack-reused 0 (from 0) Receiving objects: 98% (372/379) Receiving objects: 99% (376/379) Receiving objects: 100% (379/379) Receiving objects: 100% (379/379), 1.64 MiB | 4.27 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: 17% (10/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: 28% (16/56) Resolving deltas: 30% (17/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: 58% (33/56) Resolving deltas: 60% (34/56) Resolving deltas: 62% (35/56) Resolving deltas: 64% (36/56) Resolving deltas: 66% (37/56) Resolving deltas: 69% (39/56) Resolving deltas: 71% (40/56) Resolving deltas: 73% (41/56) Resolving deltas: 75% (42/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 adler v1.0.2 Downloaded getopts v0.2.21 Downloaded addr2line v0.22.0 Downloaded miniz_oxide v0.7.4 Downloaded allocator-api2 v0.2.21 Downloaded compiler_builtins v0.1.140 Downloaded hashbrown v0.15.2 Downloaded rustc-demangle v0.1.24 Downloaded unicode-width v0.1.14 Downloaded object v0.36.7 Downloaded gimli v0.29.0 Compiling compiler_builtins v0.1.140 Compiling core v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/core) Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling object v0.36.7 Compiling std v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-core) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Compiling alloc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling memchr v2.7.4 Compiling rustc-demangle v0.1.24 Compiling unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/unwind) warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `libc` (lib) generated 3 warnings warning: `unwind` (lib) generated 1 warning Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling gimli v0.29.0 Compiling hashbrown v0.15.2 Compiling miniz_oxide v0.7.4 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling addr2line v0.22.0 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.91s 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 arrayvec v0.7.6 Downloaded arrayref v0.3.9 Downloaded ahash v0.8.11 Downloaded cfg_aliases v0.2.1 Downloaded ena v0.14.3 Downloaded autocfg v1.4.0 Downloaded sha1 v0.10.6 Downloaded self_cell v1.1.0 Downloaded annotate-snippets v0.11.5 Downloaded ident_case v1.0.1 Downloaded icu_provider_macros v1.5.0 Downloaded pulldown-cmark-escape v0.11.0 Downloaded num-conv v0.1.0 Downloaded crossbeam-deque v0.8.6 Downloaded fnv v1.0.7 Downloaded self_cell v0.10.3 Downloaded scopeguard v1.2.0 Downloaded rand_xoshiro v0.6.0 Downloaded scoped-tls v1.0.1 Downloaded quote v1.0.38 Downloaded unic-langid-macros-impl v0.9.5 Downloaded unic-langid-macros v0.9.5 Downloaded rustc-hash v2.1.1 Downloaded zerofrom-derive v0.1.5 Downloaded thread_local v1.1.8 Downloaded type-map v0.5.0 Downloaded blake3 v1.5.5 Downloaded rustc-stable-hash v0.1.1 Downloaded ruzstd v0.7.3 Downloaded wasm-encoder v0.219.1 Downloaded unic-langid-impl v0.9.5 Downloaded rustc-rayon-core v0.5.0 Downloaded rustc-rayon v0.5.0 Downloaded tracing-subscriber v0.3.18 Downloaded wasmparser v0.222.0 Downloaded rustix v0.38.42 Downloaded regex-syntax v0.6.29 Downloaded nix v0.29.0 Downloaded wasmparser v0.219.1 Downloaded unicode-width v0.2.0 Downloaded regex-automata v0.2.0 Downloaded gimli v0.30.0 Downloaded zerocopy v0.7.35 Downloaded regex v1.11.1 Downloaded zerovec v0.10.4 Downloaded unicode-normalization v0.1.24 Downloaded time v0.3.37 Downloaded serde_json v1.0.134 Downloaded unicode-security v0.1.2 Downloaded unicode-script v0.5.7 Downloaded tracing-core v0.1.30 Downloaded tracing v0.1.37 Downloaded tinyvec v1.8.1 Downloaded serde v1.0.217 Downloaded unicode-properties v0.1.3 Downloaded unicode-ident v1.0.14 Downloaded tracing-tree v0.3.1 Downloaded tracing-log v0.2.0 Downloaded tinystr v0.7.6 Downloaded thiserror v1.0.69 Downloaded thin-vec v0.2.13 Downloaded static_assertions v1.1.0 Downloaded sharded-slab v0.1.7 Downloaded zerocopy-derive v0.7.35 Downloaded yoke-derive v0.7.5 Downloaded yoke v0.7.5 Downloaded writeable v0.5.5 Downloaded unicode-xid v0.2.6 Downloaded unicase v2.8.1 Downloaded unic-langid v0.9.5 Downloaded tracing-attributes v0.1.28 Downloaded time-macros v0.2.19 Downloaded tempfile v3.14.0 Downloaded strsim v0.11.1 Downloaded twox-hash v1.6.3 Downloaded pulldown-cmark v0.11.3 Downloaded itertools v0.12.1 Downloaded hashbrown v0.14.5 Downloaded stable_deref_trait v1.2.0 Downloaded regex-automata v0.1.10 Downloaded flate2 v1.0.35 Downloaded thiserror-impl v1.0.69 Downloaded termize v0.1.1 Downloaded synstructure v0.13.1 Downloaded rand v0.8.5 Downloaded indexmap v2.7.0 Downloaded crossbeam-channel v0.5.14 Downloaded cc v1.2.6 Downloaded semver v1.0.24 Downloaded rustc_apfloat v0.2.2+llvm-462a31f5a5ab Downloaded miniz_oxide v0.8.2 Downloaded crossbeam-utils v0.8.21 Downloaded tinyvec_macros v0.1.1 Downloaded time-core v0.1.2 Downloaded pin-project-lite v0.2.15 Downloaded icu_locid v1.5.0 Downloaded derive-where v1.2.7 Downloaded darling_core v0.20.10 Downloaded stacker v0.1.17 Downloaded proc-macro2 v1.0.92 Downloaded parking_lot v0.12.3 Downloaded icu_provider v1.5.0 Downloaded icu_locid_transform_data v1.5.0 Downloaded darling v0.20.10 Downloaded parking_lot_core v0.9.10 Downloaded overload v0.1.1 Downloaded nu-ansi-term v0.50.1 Downloaded measureme v11.0.1 Downloaded lock_api v0.4.12 Downloaded litemap v0.7.4 Downloaded libloading v0.8.6 Downloaded jobserver v0.1.32 Downloaded getrandom v0.2.15 Downloaded fluent-bundle v0.15.3 Downloaded crc32fast v1.4.2 Downloaded cpufeatures v0.2.16 Downloaded ar_archive_writer v0.4.2 Downloaded rustc-hash v1.1.0 Downloaded rand_core v0.6.4 Downloaded punycode v0.4.1 Downloaded proc-macro-hack v0.5.20+deprecated Downloaded powerfmt v0.2.0 Downloaded polonius-engine v0.13.0 Downloaded pathdiff v0.2.3 Downloaded once_cell v1.20.2 Downloaded nu-ansi-term v0.46.0 Downloaded md-5 v0.10.6 Downloaded leb128 v0.2.5 Downloaded lazy_static v1.5.0 Downloaded itoa v1.0.14 Downloaded intl_pluralrules v7.0.2 Downloaded intl-memoizer v0.5.2 Downloaded icu_locid_transform v1.5.0 Downloaded foldhash v0.1.4 Downloaded fluent-syntax v0.11.1 Downloaded deranged v0.3.11 Downloaded rand_chacha v0.3.1 Downloaded psm v0.1.24 Downloaded ppv-lite86 v0.2.20 Downloaded perf-event-open-sys v3.0.0 Downloaded odht v0.3.1 Downloaded num_cpus v1.16.0 Downloaded memmap2 v0.2.3 Downloaded icu_list_data v1.5.0 Downloaded gsgdt v0.1.2 Downloaded either v1.13.0 Downloaded ctrlc v3.4.5 Downloaded constant_time_eq v0.3.1 Downloaded memoffset v0.9.1 Downloaded icu_list v1.5.0 Downloaded fluent-langneg v0.13.0 Downloaded thorin-dwp v0.8.0 Downloaded field-offset v0.3.6 Downloaded fastrand v2.3.0 Downloaded fallible-iterator v0.3.0 Downloaded errno v0.3.10 Downloaded elsa v1.7.1 Downloaded datafrog v2.0.1 Downloaded icu_provider_adapters v1.5.0 Downloaded displaydoc v0.2.5 Downloaded equivalent v1.0.1 Downloaded matchers v0.1.0 Downloaded derive_setters v0.1.6 Downloaded darling_macro v0.20.10 Downloaded byteorder v1.5.0 Downloaded serde_derive v1.0.217 Downloaded syn v2.0.93 Downloaded rustc_version v0.4.1 Downloaded zerovec-derive v0.10.3 Downloaded smallvec v1.13.2 Downloaded zerofrom v0.1.5 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 smallvec v1.13.2 Compiling autocfg v1.4.0 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 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 proc-macro-hack v0.5.20+deprecated warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ Compiling rustc_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_macros) 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 thin-vec v0.2.13 Compiling crossbeam-deque v0.8.6 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 fastrand v2.3.0 Compiling arrayvec v0.7.6 Compiling cpufeatures v0.2.16 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) warning[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 unicode-width v0.2.0 Compiling constant_time_eq v0.3.1 Compiling scoped-tls v1.0.1 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling rustc-stable-hash v0.1.1 Compiling arrayref v0.3.9 Compiling rustc-hash v2.1.1 Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling thiserror v1.0.69 Compiling serde v1.0.217 Compiling static_assertions v1.1.0 Compiling adler2 v2.0.0 Compiling wasmparser v0.222.0 Compiling num_cpus v1.16.0 Compiling memmap2 v0.2.3 Compiling perf-event-open-sys v3.0.0 Compiling rustc-rayon-core v0.5.0 Compiling getrandom v0.2.15 Compiling block-buffer v0.10.4 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 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) Compiling digest v0.10.7 Compiling jobserver v0.1.32 Compiling rand_core v0.6.4 Compiling measureme v11.0.1 Compiling miniz_oxide v0.8.2 Compiling crc32fast v1.4.2 Compiling md-5 v0.10.6 Compiling sha2 v0.10.8 Compiling sha1 v0.10.6 Compiling object v0.36.7 Compiling rustc-rayon v0.5.0 Compiling serde_json v1.0.134 Compiling writeable v0.5.5 Compiling litemap v0.7.4 Compiling flate2 v1.0.35 Compiling ryu v1.0.18 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 tempfile v3.14.0 Compiling type-map v0.5.0 Compiling regex-automata v0.2.0 Compiling self_cell v1.1.0 Compiling fnv v1.0.7 Compiling ident_case v1.0.1 Compiling icu_list_data v1.5.0 Compiling strsim v0.11.1 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) Compiling self_cell v0.10.3 Compiling odht v0.3.1 Compiling itertools v0.12.1 Compiling anstyle v1.0.10 Compiling 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 synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling getopts v0.2.21 Compiling memoffset v0.9.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling indexmap v2.7.0 Compiling rustc_version v0.4.1 Compiling datafrog v2.0.1 Compiling tinyvec_macros v0.1.1 Compiling tinyvec v1.8.1 Compiling aho-corasick v1.1.3 Compiling field-offset v0.3.6 Compiling polonius-engine v0.13.0 Compiling regex-syntax v0.8.5 Compiling ahash v0.8.11 Compiling unicode-script v0.5.7 Compiling libloading v0.8.6 Compiling rustc_serialize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_serialize) Compiling regex-syntax v0.6.29 Compiling allocator-api2 v0.2.21 Compiling gimli v0.30.0 Compiling unicode-normalization v0.1.24 Compiling rustc_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_llvm) Compiling cfg_aliases v0.2.1 Compiling lazy_static v1.5.0 Compiling pulldown-cmark v0.11.3 Compiling leb128 v0.2.5 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 rustc_index_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index_macros) Compiling tinystr v0.7.6 Compiling unic-langid-impl v0.9.5 Compiling zerocopy-derive v0.7.35 Compiling unic-langid-macros-impl v0.9.5 Compiling derive-where v1.2.7 Compiling zerofrom v0.1.5 Compiling serde_derive v1.0.217 Compiling thiserror-impl v1.0.69 Compiling tracing v0.1.37 Compiling yoke v0.7.5 Compiling zerovec v0.10.4 Compiling icu_provider_macros v1.5.0 Compiling unic-langid-macros v0.9.5 Compiling unic-langid v0.9.5 Compiling intl_pluralrules v7.0.2 Compiling zerocopy v0.7.35 Compiling intl-memoizer v0.5.2 Compiling fluent-langneg v0.13.0 Compiling darling_macro v0.20.10 Compiling rustc_type_ir_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_type_ir_macros) Compiling ppv-lite86 v0.2.20 Compiling fluent-syntax v0.11.1 Compiling icu_locid v1.5.0 Compiling rand_chacha v0.3.1 Compiling rustc_index v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index) Compiling rand v0.8.5 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling icu_provider v1.5.0 Compiling fluent-bundle v0.15.3 Compiling twox-hash v1.6.3 Compiling icu_locid_transform v1.5.0 Compiling ruzstd v0.7.3 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_span v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_span) Compiling rustc_fluent_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fluent_macro) Compiling rustc_baked_icu_data v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_baked_icu_data) Compiling rustc_parse_format v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse_format) Compiling regex-automata v0.4.9 Compiling unicode-security v0.1.2 Compiling hashbrown v0.14.5 Compiling regex-automata v0.1.10 Compiling rustc-demangle v0.1.24 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 gsgdt v0.1.2 Compiling punycode v0.4.1 Compiling overload v0.1.1 Compiling nu-ansi-term v0.46.0 Compiling matchers v0.1.0 Compiling rustc_feature v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_feature) Compiling rustc_abi v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_abi) Compiling rustc_ast_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_pretty) Compiling rustc_next_trait_solver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_next_trait_solver) Compiling regex v1.11.1 Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling ar_archive_writer v0.4.2 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 thorin-dwp v0.8.0 Compiling wasm-encoder v0.219.1 Compiling sharded-slab v0.1.7 Compiling nix v0.29.0 Compiling thread_local v1.1.8 Compiling pulldown-cmark-escape v0.11.0 Compiling pathdiff v0.2.3 Compiling unicase v2.8.1 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling num-conv v0.1.0 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 powerfmt v0.2.0 Compiling nu-ansi-term v0.50.1 Compiling time-core v0.1.2 Compiling time-macros v0.2.19 Compiling deranged v0.3.11 Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling tracing-tree v0.3.1 Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling time v0.3.37 Compiling rustc_lint_defs v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint_defs) Compiling rustc_hir_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_pretty) Compiling rustc_errors v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_errors) Compiling ctrlc v3.4.5 Compiling rustc_session v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_session) Compiling rustc_attr_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_data_structures) Compiling rustc_query_system v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_system) Compiling rustc_attr_parsing v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_parsing) Compiling rustc_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Compiling rustc_middle v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_builtin_macros) Compiling rustc_infer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_metadata) Compiling rustc_mir_dataflow v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_dataflow) Compiling rustc_symbol_mangling v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_symbol_mangling) Compiling rustc_incremental v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_incremental) Compiling rustc_pattern_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_pattern_analysis) Compiling rustc_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_monomorphize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_monomorphize) Compiling rustc_query_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_impl) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) Compiling rustc_transmute v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_trait_selection) Compiling rustc_resolve v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_resolve) Compiling rustc_lint v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint) Compiling rustc_ty_utils v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ty_utils) Compiling rustc_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_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) Compiling rustc_mir_build v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_build) Compiling rustc_privacy v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_privacy) Compiling rustc_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) Compiling rustc_const_eval v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_const_eval) 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 47s 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.75s 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 smallvec v1.13.2 Compiling autocfg v1.4.0 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 scopeguard v1.2.0 Compiling log v0.4.22 Compiling lock_api v0.4.12 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 thin-vec v0.2.13 Compiling rustix v0.38.42 Compiling quote v1.0.38 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.93 Compiling crossbeam-channel v0.5.14 Compiling byteorder v1.5.0 Compiling linux-raw-sys v0.4.14 Compiling arrayvec v0.7.6 Compiling crossbeam-deque v0.8.6 Compiling cpufeatures v0.2.16 Compiling itoa v1.0.14 Compiling fastrand v2.3.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/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior Compiling ena v0.14.3 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_arena v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_arena) Compiling elsa v1.7.1 Compiling unicode-width v0.2.0 Compiling rustc-stable-hash v0.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/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 Compiling rustc-hash v2.1.1 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 arrayref v0.3.9 Compiling rustc_graphviz v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_graphviz) Compiling constant_time_eq v0.3.1 warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/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 scoped-tls v1.0.1 Compiling serde v1.0.217 Compiling thiserror v1.0.69 Compiling wasmparser v0.222.0 Compiling static_assertions v1.1.0 Compiling adler2 v2.0.0 Compiling crc32fast v1.4.2 Compiling psm v0.1.24 Compiling stacker v0.1.17 Compiling blake3 v1.5.5 Compiling miniz_oxide v0.8.2 Compiling writeable v0.5.5 Compiling litemap v0.7.4 Compiling serde_json v1.0.134 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling object v0.36.7 Compiling num_cpus v1.16.0 Compiling digest v0.10.7 Compiling memmap2 v0.2.3 Compiling perf-event-open-sys v3.0.0 Compiling rustc-rayon-core v0.5.0 Compiling parking_lot v0.12.3 For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) Compiling getrandom v0.2.15 Compiling jobserver v0.1.32 Compiling sha2 v0.10.8 Compiling md-5 v0.10.6 Compiling measureme v11.0.1 Compiling rand_core v0.6.4 Compiling sha1 v0.10.6 Compiling rustc-rayon v0.5.0 Compiling flate2 v1.0.35 Compiling ryu v1.0.18 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 tempfile v3.14.0 Compiling regex-automata v0.2.0 Compiling type-map v0.5.0 Compiling strsim v0.11.1 Compiling ident_case v1.0.1 Compiling fnv v1.0.7 Compiling icu_list_data v1.5.0 Compiling self_cell v1.1.0 Compiling rustc_fs_util v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fs_util) Compiling self_cell v0.10.3 Compiling odht v0.3.1 Compiling itertools v0.12.1 Compiling anstyle v1.0.10 Compiling termize v0.1.1 Compiling termcolor v1.4.1 Compiling rustc_error_codes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_error_codes) Compiling annotate-snippets v0.11.5 Compiling unicode-width v0.1.14 Compiling semver v1.0.24 Compiling getopts v0.2.21 Compiling synstructure v0.13.1 Compiling darling_core v0.20.10 Compiling rustc_version v0.4.1 Compiling memoffset v0.9.1 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling datafrog v2.0.1 Compiling field-offset v0.3.6 Compiling indexmap v2.7.0 Compiling tinyvec_macros v0.1.1 Compiling tinyvec v1.8.1 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 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 unicode-normalization v0.1.24 Compiling gimli v0.30.0 Compiling rustc-demangle v0.1.24 Compiling pulldown-cmark v0.11.3 Compiling lazy_static v1.5.0 Compiling leb128 v0.2.5 Compiling overload v0.1.1 Compiling cfg_aliases v0.2.1 Compiling punycode v0.4.1 Compiling displaydoc v0.2.5 Compiling tracing-attributes v0.1.28 Compiling zerofrom-derive v0.1.5 Compiling yoke-derive v0.7.5 Compiling zerovec-derive v0.10.3 Compiling tinystr v0.7.6 Compiling rustc_index_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_index_macros) Compiling unic-langid-impl v0.9.5 Compiling zerocopy-derive v0.7.35 Compiling unic-langid-macros-impl v0.9.5 Compiling derive-where v1.2.7 Compiling tracing v0.1.37 Compiling serde_derive v1.0.217 Compiling thiserror-impl v1.0.69 Compiling icu_provider_macros v1.5.0 Compiling zerofrom v0.1.5 Compiling yoke v0.7.5 Compiling unic-langid-macros v0.9.5 Compiling unic-langid v0.9.5 Compiling zerovec v0.10.4 Compiling intl-memoizer v0.5.2 Compiling zerocopy v0.7.35 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.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 darling v0.20.10 Compiling ppv-lite86 v0.2.20 Compiling derive_setters v0.1.6 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_chacha v0.3.1 Compiling rand v0.8.5 Compiling rustc_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_data_structures) Compiling icu_locid v1.5.0 Compiling twox-hash v1.6.3 Compiling icu_provider v1.5.0 Compiling ruzstd v0.7.3 Compiling icu_locid_transform v1.5.0 Compiling fluent-bundle v0.15.3 Compiling rustc_span v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_span) Compiling icu_list v1.5.0 Compiling rustc_baked_icu_data v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_baked_icu_data) Compiling icu_provider_adapters v1.5.0 Compiling rustc_parse_format v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse_format) Compiling regex v1.11.1 Compiling unicode-security v0.1.2 Compiling regex-automata v0.1.10 Compiling rustc_ast_ir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_ir) Compiling rustc_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 rustc_fluent_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_fluent_macro) Compiling gsgdt v0.1.2 Compiling hashbrown v0.14.5 Compiling matchers v0.1.0 Compiling nix v0.29.0 Compiling nu-ansi-term v0.46.0 Compiling wasm-encoder v0.219.1 Compiling rustc_feature v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_feature) Compiling rustc_abi v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_abi) Compiling rustc_ast_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_pretty) Compiling rustc_next_trait_solver v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_next_trait_solver) Compiling rustc_target v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_target) Compiling thorin-dwp v0.8.0 warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default Compiling ar_archive_writer v0.4.2 Compiling sharded-slab v0.1.7 Compiling thread_local v1.1.8 Compiling pathdiff v0.2.3 Compiling unicase v2.8.1 Compiling pulldown-cmark-escape v0.11.0 Compiling tracing-subscriber v0.3.18 Compiling tracing-log v0.2.0 Compiling nu-ansi-term v0.50.1 Compiling powerfmt v0.2.0 Compiling num-conv v0.1.0 Compiling time-core v0.1.2 Compiling deranged v0.3.11 Compiling time-macros v0.2.19 warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ Compiling stable_mir v0.1.0-preview (/var/lib/managarm-buildenv/src/ports/rust/compiler/stable_mir) Compiling tracing-tree v0.3.1 Compiling rustc-main v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc) Compiling rustc_log v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_log) Compiling rustc_hir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir) Compiling time v0.3.37 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_errors v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_errors) Compiling rustc_hir_pretty v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_pretty) Compiling rustc_session v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_session) Compiling rustc_attr_data_structures v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_data_structures) Compiling rustc_query_system v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_system) Compiling rustc_attr_parsing v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_attr_parsing) Compiling rustc_parse v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_parse) warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Compiling rustc_middle v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_middle) Compiling rustc_ast_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_passes) Compiling rustc_expand v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_expand) Compiling rustc_builtin_macros v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_builtin_macros) Compiling rustc_infer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_metadata) Compiling rustc_mir_dataflow v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_dataflow) Compiling rustc_symbol_mangling v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_symbol_mangling) Compiling rustc_incremental v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_incremental) Compiling rustc_pattern_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_pattern_analysis) Compiling rustc_ast_lowering v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ast_lowering) Compiling rustc_query_impl v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_query_impl) Compiling rustc_monomorphize v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_monomorphize) Compiling rustc_smir v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_smir) Compiling rustc_transmute v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_trait_selection) Compiling rustc_resolve v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_resolve) Compiling rustc_lint v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_lint) Compiling rustc_ty_utils v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_ty_utils) Compiling rustc_const_eval v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_const_eval) Compiling rustc_privacy v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_privacy) Compiling rustc_codegen_ssa v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_ssa) Compiling rustc_mir_build v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_build) Compiling rustc_sanitizers v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_sanitizers) Compiling rustc_hir_analysis v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_analysis) Compiling rustc_traits v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_traits) Compiling rustc_codegen_llvm v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_codegen_llvm) Compiling rustc_borrowck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_borrowck) Compiling rustc_hir_typeck v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_hir_typeck) Compiling rustc_mir_transform v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_mir_transform) Compiling rustc_passes v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/compiler/rustc_passes) Compiling rustc_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 58s 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:37 xbstrap: install-tool host-rust@compiler [89/94] [2025-06-01 04:22:47.320337 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-llvm-toolchain', 'host-python', 'system-gcc', 'host-libffi', 'cross-binutils']) via cbuildrt PID init is 704558 (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.03s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.26s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded mime v0.3.17 Downloaded nom v7.1.3 Downloaded threadpool v1.8.1 Downloaded mime_guess v2.0.5 Downloaded rinja v0.3.5 Downloaded rinja_parser v0.3.5 Downloaded rinja_derive v0.3.5 Downloaded minifier v0.3.2 Downloaded minimal-lexical v0.2.1 Downloaded unicode-segmentation v1.12.0 Downloaded pulldown-cmark v0.9.6 Downloaded base64 v0.21.7 Downloaded basic-toml v0.1.9 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling serde v1.0.217 Compiling typenum v1.17.0 Compiling version_check v0.9.5 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling cfg-if v1.0.0 Compiling memchr v2.7.4 Compiling once_cell v1.20.2 Compiling autocfg v1.4.0 Compiling parking_lot_core v0.9.10 Compiling unicase v2.8.1 Compiling regex-syntax v0.6.29 Compiling smallvec v1.13.2 Compiling tracing-core v0.1.30 Compiling mime_guess v2.0.5 Compiling regex-syntax v0.8.5 Compiling generic-array v0.14.7 Compiling minimal-lexical v0.2.1 Compiling lock_api v0.4.12 Compiling scopeguard v1.2.0 Compiling cpufeatures v0.2.16 Compiling bitflags v2.6.0 Compiling pin-project-lite v0.2.15 Compiling lazy_static v1.5.0 Compiling aho-corasick v1.1.3 Compiling quote v1.0.38 Compiling nom v7.1.3 Compiling syn v2.0.93 Compiling mime v0.3.17 Compiling rustix v0.38.42 Compiling overload v0.1.1 Compiling nu-ansi-term v0.46.0 Compiling sharded-slab v0.1.7 Compiling thread_local v1.1.8 Compiling parking_lot v0.12.3 Compiling itoa v1.0.14 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling pulldown-cmark v0.9.6 Compiling linux-raw-sys v0.4.14 Compiling serde_json v1.0.134 Compiling log v0.4.22 Compiling digest v0.10.7 Compiling rustc-hash v2.1.1 Compiling num_cpus v1.16.0 Compiling either v1.13.0 Compiling sha2 v0.10.8 Compiling tracing-log v0.2.0 Compiling hashbrown v0.15.2 Compiling regex-automata v0.1.10 Compiling rustdoc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/librustdoc) Compiling nu-ansi-term v0.50.1 Compiling ryu v1.0.18 Compiling regex-automata v0.4.9 Compiling fastrand v2.3.0 Compiling equivalent v1.0.1 Compiling indexmap v2.7.0 Compiling itertools v0.12.1 Compiling threadpool v1.8.1 Compiling unicode-segmentation v1.12.0 Compiling matchers v0.1.0 Compiling arrayvec v0.7.6 Compiling minifier v0.3.2 Compiling base64 v0.21.7 Compiling tempfile v3.14.0 Compiling regex v1.11.1 Compiling serde_derive v1.0.217 Compiling tracing-attributes v0.1.28 Compiling tracing v0.1.37 Compiling tracing-subscriber v0.3.18 Compiling tracing-tree v0.3.1 Compiling rinja_parser v0.3.5 Compiling basic-toml v0.1.9 Compiling rustdoc-json-types v0.1.0 (/var/lib/managarm-buildenv/src/ports/rust/src/rustdoc-json-types) Compiling rinja_derive v0.3.5 Compiling rinja v0.3.5 Compiling rustdoc-tool v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/rustdoc) Finished `release` profile [optimized] target(s) in 1m 03s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded anstyle-query v1.1.2 Downloaded colorchoice v1.0.3 Downloaded is_terminal_polyfill v1.70.1 Downloaded clap_lex v0.7.4 Downloaded anyhow v1.0.95 Downloaded utf8parse v0.2.2 Downloaded clap_builder v4.5.23 Downloaded rayon-core v1.12.1 Downloaded clap v4.5.23 Downloaded anstream v0.6.18 Downloaded anstyle-parse v0.2.6 Downloaded rayon v1.10.0 Compiling crossbeam-utils v0.8.21 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling proc-macro2 v1.0.92 Compiling shlex v1.3.0 Compiling unicode-ident v1.0.14 Compiling cfg-if v1.0.0 Compiling pkg-config v0.3.31 Compiling utf8parse v0.2.2 Compiling rustix v0.38.42 Compiling is_terminal_polyfill v1.70.1 Compiling colorchoice v1.0.3 Compiling rayon-core v1.12.1 Compiling linux-raw-sys v0.4.14 Compiling anstyle-parse v0.2.6 Compiling bitflags v2.6.0 Compiling anstyle-query v1.1.2 Compiling anstyle v1.0.10 Compiling cc v1.2.6 Compiling heck v0.5.0 Compiling strsim v0.11.1 Compiling anstream v0.6.18 Compiling anyhow v1.0.95 Compiling clap_lex v0.7.4 Compiling adler2 v2.0.0 Compiling miniz_oxide v0.8.2 warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default Compiling clap_builder v4.5.23 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 crc32fast v1.4.2 Compiling either v1.13.0 Compiling quote v1.0.38 Compiling same-file v1.0.6 Compiling crossbeam-epoch v0.9.18 Compiling walkdir v2.5.0 Compiling syn v2.0.93 warning: `libc` (lib) generated 3 warnings Compiling crossbeam-deque v0.8.6 Compiling filetime v0.2.25 Compiling flate2 v1.0.35 Compiling lzma-sys v0.1.20 Compiling rayon v1.10.0 Compiling xattr v1.3.1 Compiling tar v0.4.43 Compiling clap_derive v4.5.18 Compiling clap v4.5.23 Compiling xz2 v0.1.7 Compiling installer v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/rust-installer) Finished `release` profile [optimized] target(s) in 10.59s Dist rustc-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.216 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:20 xbstrap: compile-tool host-rust@clippy [90/94] [2025-06-01 04:24:08.098269 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-llvm-toolchain', 'host-python', 'system-gcc', 'host-libffi', 'cross-binutils']) via cbuildrt PID init is 711376 (outside the namespace) Building bootstrap Finished `dev` profile [unoptimized] target(s) in 0.05s There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead Building stage0 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings warning: unexpected `cfg` condition value: `managarm` --> library/unwind/src/lib.rs:187:7 | 187 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `unwind` (lib) generated 1 warning warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/mod.rs:156:7 | 156 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `managarm` --> library/std/src/os/unix/mod.rs:68:11 | 68 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/args.rs:117:5 | 117 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/env.rs:298:7 | 298 | #[cfg(target_os = "managarm")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/fs.rs:984:9 | 984 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:404:5 | 404 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/os.rs:42:13 | 42 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:335:5 | 335 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/pal/unix/thread.rs:133:36 | 133 | #[cfg(any(target_os = "linux", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> library/std/src/sys/random/mod.rs:48:9 | 48 | target_os = "managarm", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `std` (lib) generated 10 warnings Finished `release` profile [optimized] target(s) in 0.03s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.27s Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) Building stage1 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.02s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.25s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Uplifting library (stage1 -> stage2) Uplifting rustc (stage1 -> stage3) Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Downloading crates ... Downloaded icu_normalizer v1.5.0 Downloaded icu_collections v1.5.0 Downloaded write16 v1.0.0 Downloaded rustc_tools_util v0.4.0 Downloaded quine-mc_cluskey v0.2.4 Downloaded form_urlencoded v1.2.1 Downloaded color-print v0.3.7 Downloaded serde_spanned v0.6.8 Downloaded utf8_iter v1.0.4 Downloaded utf16_iter v1.0.5 Downloaded toml_datetime v0.6.8 Downloaded percent-encoding v2.3.1 Downloaded cargo_metadata v0.18.1 Downloaded idna_adapter v1.2.0 Downloaded color-print-proc-macro v0.3.7 Downloaded cargo-platform v0.1.9 Downloaded icu_normalizer_data v1.5.0 Downloaded camino v1.1.9 Downloaded url v2.5.4 Downloaded toml_edit v0.19.15 Downloaded toml v0.7.8 Downloaded icu_properties v1.5.1 Downloaded idna v1.0.3 Downloaded winnow v0.5.40 Downloaded icu_properties_data v1.5.0 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling serde v1.0.217 Compiling stable_deref_trait v1.2.0 Compiling litemap v0.7.4 Compiling writeable v0.5.5 Compiling smallvec v1.13.2 Compiling icu_locid_transform_data v1.5.0 Compiling icu_properties_data v1.5.0 Compiling equivalent v1.0.1 Compiling write16 v1.0.0 Compiling icu_normalizer_data v1.5.0 Compiling hashbrown v0.15.2 Compiling utf8_iter v1.0.4 Compiling rustc_apfloat v0.2.2+llvm-462a31f5a5ab Compiling utf16_iter v1.0.5 Compiling semver v1.0.24 Compiling serde_json v1.0.134 Compiling thiserror v1.0.69 Compiling either v1.13.0 Compiling camino v1.1.9 Compiling bitflags v2.6.0 Compiling winnow v0.5.40 Compiling minimal-lexical v0.2.1 Compiling itoa v1.0.14 Compiling arrayvec v0.7.6 Compiling percent-encoding v2.3.1 Compiling memchr v2.7.4 Compiling itertools v0.12.1 Compiling ryu v1.0.18 Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling tinyvec_macros v0.1.1 Compiling tinyvec v1.8.1 Compiling form_urlencoded v1.2.1 Compiling rustc_tools_util v0.4.0 Compiling utf8parse v0.2.2 Compiling quote v1.0.38 Compiling anstyle-parse v0.2.6 Compiling clippy v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy) Compiling indexmap v2.7.0 Compiling colorchoice v1.0.3 Compiling syn v2.0.93 Compiling anstyle-query v1.1.2 Compiling is_terminal_polyfill v1.70.1 Compiling nom v7.1.3 Compiling quine-mc_cluskey v0.2.4 Compiling regex-syntax v0.8.5 Compiling unicode-script v0.5.7 Compiling anstyle v1.0.10 Compiling unicode-normalization v0.1.24 Compiling anstream v0.6.18 Compiling termize v0.1.1 Compiling synstructure v0.13.1 Compiling zerofrom-derive v0.1.5 Compiling serde_derive v1.0.217 Compiling yoke-derive v0.7.5 Compiling zerovec-derive v0.10.3 Compiling displaydoc v0.2.5 Compiling icu_provider_macros v1.5.0 Compiling thiserror-impl v1.0.69 Compiling color-print-proc-macro v0.3.7 Compiling color-print v0.3.7 Compiling zerofrom v0.1.5 Compiling yoke v0.7.5 Compiling zerovec v0.10.4 Compiling tinystr v0.7.6 Compiling icu_collections v1.5.0 Compiling icu_locid v1.5.0 Compiling icu_provider v1.5.0 Compiling icu_locid_transform v1.5.0 Compiling icu_properties v1.5.1 Compiling serde_spanned v0.6.8 Compiling toml_datetime v0.6.8 Compiling clippy_utils v0.1.85 (/var/lib/managarm-buildenv/src/ports/rust/src/tools/clippy/clippy_utils) Compiling 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 25s 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:29 xbstrap: install-tool host-rust@clippy [91/94] [2025-06-01 04:25:37.859964 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-llvm-toolchain', 'host-python', 'system-gcc', 'host-libffi', 'cross-binutils']) via cbuildrt PID init is 716527 (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.04s Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1685 | | } 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); 5958 | | } ... | 6114 | | } 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see issue #71668 = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see issue #71668 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see issue #71668 = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 61 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.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.25s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Uplifting library (stage1 -> stage2) Uplifting rustc (stage1 -> stage3) Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) Finished `release` profile [optimized] target(s) in 0.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.022 seconds Installing stage2 clippy (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'clippy-preview' clippy installed. There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:00:05 xbstrap: compile-tool host-rust@std [92/94] [2025-06-01 04:25:43.517441 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-llvm-toolchain', 'host-python', 'system-gcc', 'host-libffi', 'cross-binutils']) via cbuildrt PID init is 717456 (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.04s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.26s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Building stage2 library artifacts {std} (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu) -> aarch64-unknown-managarm-mlibc) Compiling compiler_builtins v0.1.140 Compiling core v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/core) Compiling libc v0.2.171 (/var/lib/managarm-buildenv/src/ports/rust-libc) Compiling object v0.36.7 Compiling std v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling memchr v2.7.4 Compiling rustc-demangle v0.1.24 Compiling unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/unwind) Compiling rustc-std-workspace-alloc v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-alloc) Compiling panic_abort v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_abort) Compiling panic_unwind v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/panic_unwind) Compiling gimli v0.29.0 Compiling std_detect v0.1.5 (/var/lib/managarm-buildenv/src/ports/rust/library/stdarch/crates/std_detect) Compiling miniz_oxide v0.7.4 Compiling hashbrown v0.15.2 Compiling addr2line v0.22.0 Finished `release` profile [optimized] target(s) in 33.06s Uplifting library (stage1 -> stage2) There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:00:38 xbstrap: install-tool host-rust@std [93/94] [2025-06-01 04:26:21.768441 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-llvm-toolchain', 'host-python', 'system-gcc', 'host-libffi', 'cross-binutils']) via cbuildrt PID init is 719891 (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.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.02s Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:312:40 | 312 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = help: to override `-W rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:342:40 | 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 342 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:370:40 | 370 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 370 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:423:40 | 423 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 423 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:456:40 | 456 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 456 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1822:40 | 1822 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1822 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1855:40 | 1855 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1855 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1893:40 | 1893 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1893 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1923:40 | 1923 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1923 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1945:40 | 1945 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1945 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1967:40 | 1967 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1967 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:1989:40 | 1989 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 1989 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2023:40 | 2023 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2023 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2054:40 | 2054 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2054 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2085:40 | 2085 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2085 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2129:40 | 2129 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2153:40 | 2153 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2153 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2171:40 | 2171 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2171 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2179:40 | 2179 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2179 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2187:40 | 2187 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2212:40 | 2212 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2212 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2252:40 | 2252 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2252 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:2262:40 | 2262 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 2262 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:579:40 | 579 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 579 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:625:40 | 625 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 625 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:350:40 | 350 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 350 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning: hidden lifetime parameters in types are deprecated --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:395:40 | 395 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 395 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1642:12 | 1642 | if (*mhdr).msg_controllen as usize >= mem::size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1643:13 | 1643 | (*mhdr).msg_control as *mut cmsghdr | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1650:9 | 1650 | cmsg.offset(1) as *mut c_uchar | ^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1663:38 | 1663 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1664:9 | 1664 | (*set).fds_bits[fd / size] &= !(1 << (fd % size)); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1670:38 | 1670 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1671:17 | 1671 | return ((*set).fds_bits[fd / size] & (1 << (fd % size))) != 0; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1676:38 | 1676 | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1677:9 | 1677 | (*set).fds_bits[fd / size] |= 1 << (fd % size); | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1682:21 | 1682 | for slot in (*set).fds_bits.iter_mut() { | ^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:1640:1 | 1640 | / f! { 1641 | | pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { 1642 | | if (*mhdr).msg_controllen as usize >= mem::size_of::() { 1643 | | (*mhdr).msg_control as *mut cmsghdr ... | 1686 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5961:13 | 5961 | if ((*cmsg).cmsg_len as usize) < size_of::() { | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5964:55 | 5964 | let next = (cmsg as usize + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) as *mut cmsghdr; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:19 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5965:50 | 5965 | let max = (*mhdr).msg_control as usize + (*mhdr).msg_controllen as usize; | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5967:50 | 5967 | || next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max | ^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior warning[E0133]: call to unsafe function `core::mem::zeroed` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5976:33 | 5976 | let _dummy: cpu_set_t = mem::zeroed(); | ^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `unix::linux_like::linux::CPU_COUNT_S` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6017:9 | 6017 | CPU_COUNT_S(size_of::(), cpuset) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: call to unsafe function `core::ptr::const_ptr::::offset` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:6059:9 | 6059 | ee.offset(1) as *mut crate::sockaddr | ^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/macros.rs:246:17 | 238 | / macro_rules! f { 239 | | ($( 240 | | $(#[$attr:meta])* 241 | | pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),* $(,)*) -> $ret:ty ... | 246 | | pub $($constness)* unsafe extern "C" fn $i($($arg: $argty),*) -> $ret | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 247 | | $body 248 | | )*) 249 | | } | |_________- in this expansion of `f!` | ::: /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/mod.rs:5955:1 | 5955 | / f! { 5956 | | pub fn NLA_ALIGN(len: c_int) -> c_int { 5957 | | return ((len) + NLA_ALIGNTO - 1) & !(NLA_ALIGNTO - 1); ... | 6115 | | } | |_- in this macro invocation warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:421:9 | 421 | (*(self as *const siginfo_t as *const siginfo_sigfault)).si_addr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:413:5 | 413 | pub unsafe fn si_addr(&self) -> *mut c_void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:434:9 | 434 | (*(self as *const siginfo_t as *const siginfo_timer)).si_sigval | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:424:5 | 424 | pub unsafe fn si_value(&self) -> crate::sigval { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:472:10 | 472 | &(*(self as *const siginfo_t as *const siginfo_f)).sifields | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer | = note: for more information, see = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:471:5 | 471 | unsafe fn sifields(&self) -> &sifields { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:475:5 | 475 | pub unsafe fn si_pid(&self) -> crate::pid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:476:9 | 476 | self.sifields().sigchld.si_pid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:479:5 | 479 | pub unsafe fn si_uid(&self) -> crate::uid_t { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:480:9 | 480 | self.sifields().sigchld.si_uid | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:483:5 | 483 | pub unsafe fn si_status(&self) -> c_int { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:484:9 | 484 | self.sifields().sigchld.si_status | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:487:5 | 487 | pub unsafe fn si_utime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:488:9 | 488 | self.sifields().sigchld.si_utime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning[E0133]: access to union field is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^^^^^^^^^ access to union field | = note: for more information, see = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:491:5 | 491 | pub unsafe fn si_stime(&self) -> c_long { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `unix::linux_like::linux::gnu::::sifields` is unsafe and requires unsafe block --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/linux/gnu/mod.rs:492:9 | 492 | self.sifields().sigchld.si_stime | ^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. warning: `libc` (lib) generated 58 warnings (run `cargo fix --lib -p libc` to apply 18 suggestions) warning: unused imports: `Cc`, `LinkerFlavor`, and `Lld` --> compiler/rustc_target/src/spec/targets/aarch64_unknown_managarm_mlibc.rs:1:25 | 1 | use crate::spec::{base, Cc, LinkerFlavor, Lld, StackProbeType, Target}; | ^^ ^^^^^^^^^^^^ ^^^ | = note: `#[warn(unused_imports)]` on by default warning: unreachable `pub` item --> compiler/rustc_target/src/spec/base/managarm_mlibc.rs:3:1 | 3 | pub fn opts() -> TargetOptions { | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | = help: or consider exporting it for use by other crates note: the lint level is defined here --> compiler/rustc_target/src/lib.rs:19:9 | 19 | #![warn(unreachable_pub)] | ^^^^^^^^^^^^^^^ warning: `rustc_target` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_target` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 0.25s Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) Building stage2 library artifacts (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu) -> aarch64-unknown-managarm-mlibc) Compiling rustc-std-workspace-std v1.99.0 (/var/lib/managarm-buildenv/src/ports/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/proc_macro) Compiling unicode-width v0.1.14 Compiling getopts v0.2.21 Compiling test v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/test) Compiling sysroot v0.0.0 (/var/lib/managarm-buildenv/src/ports/rust/library/sysroot) Finished `release` profile [optimized] target(s) in 3.90s Building stage0 tool rust-installer (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/mod.rs:1731:9 | 1731 | target_os = "managarm" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:67:66 | 67 | #[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "managarm"))] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `managarm` --> /var/lib/managarm-buildenv/src/ports/rust-libc/src/unix/linux_like/mod.rs:2035:21 | 2035 | } else if #[cfg(target_os = "managarm")] { | ^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `ohos`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `switch`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("managarm"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"managarm\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `libc` (lib) generated 3 warnings Finished `release` profile [optimized] target(s) in 0.15s Dist rust-std-1.85.1-dev-aarch64-unknown-managarm-mlibc finished in 0.091 seconds Installing stage2 std (aarch64-unknown-managarm-mlibc) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'rust-std-aarch64-unknown-managarm-mlibc' rust std installed. Uplifting library (stage1 -> stage2) Dist rust-std-1.85.1-dev-x86_64-unknown-linux-gnu finished in 0.104 seconds Installing stage2 std (x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu)) install: creating uninstall script at /var/lib/managarm-buildenv/build/tools/host-rust/lib/rustlib/uninstall.sh install: installing component 'rust-std-x86_64-unknown-linux-gnu' rust std installed. There have been changes to x.py since you last updated: [INFO] New option `target..codegen-backends` added to config.toml. - PR Link https://github.com/rust-lang/rust/pull/120348 [INFO] A new `rust.frame-pointers` option has been introduced and made the default in the compiler and codegen profiles. - PR Link https://github.com/rust-lang/rust/pull/121203 [WARNING] The "codegen"/"llvm" profile has been removed and replaced with "compiler", use it instead for the same behavior. - PR Link https://github.com/rust-lang/rust/pull/121278 [INFO] `x install` now skips providing tarball sources (under 'build/dist' path) to speed up the installation process. - PR Link https://github.com/rust-lang/rust/pull/118724 [INFO] A new `boostrap-cache-path` option has been introduced which can be utilized to modify the cache path for bootstrap. - PR Link https://github.com/rust-lang/rust/pull/121976 [INFO] a new `target.*.runner` option is available to specify a wrapper executable required to run tests for a target - PR Link https://github.com/rust-lang/rust/pull/122108 [INFO] New option `rust.llvm-bitcode-linker` that will build the llvm-bitcode-linker. - PR Link https://github.com/rust-lang/rust/pull/117458 [WARNING] `rust.split-debuginfo` has been moved to `target..split-debuginfo` and its default value is determined for each target individually. - PR Link https://github.com/rust-lang/rust/pull/121754 [WARNING] The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage. - PR Link https://github.com/rust-lang/rust/pull/123711 [INFO] New option `build.lldb` that will override the default lldb binary path used in debuginfo tests - PR Link https://github.com/rust-lang/rust/pull/124501 [INFO] The compiler profile now defaults to rust.debuginfo-level = "line-tables-only" - PR Link https://github.com/rust-lang/rust/pull/123337 [WARNING] `rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary. - PR Link https://github.com/rust-lang/rust/pull/124129 [WARNING] Removed `dist.missing-tools` configuration as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/125535 [WARNING] `llvm.lld` is enabled by default for the dist profile. If set to false, `lld` will not be included in the dist build. - PR Link https://github.com/rust-lang/rust/pull/126701 [WARNING] `debug-logging` option has been removed from the default `tools` profile. - PR Link https://github.com/rust-lang/rust/pull/127913 [INFO] the `wasm-component-ld` tool is now built as part of `build.extended` and can be a member of `build.tools` - PR Link https://github.com/rust-lang/rust/pull/127866 [INFO] Removed android-ndk r25b support in favor of android-ndk r26d. - PR Link https://github.com/rust-lang/rust/pull/120593 [WARNING] For tarball sources, default value for `rust.channel` will be taken from `src/ci/channel` file. - PR Link https://github.com/rust-lang/rust/pull/125181 [INFO] New option `llvm.libzstd` to control whether llvm is built with zstd support. - PR Link https://github.com/rust-lang/rust/pull/125642 [WARNING] ./x test --rustc-args was renamed to --compiletest-rustc-args as it only applies there. ./x miri --rustc-args was also removed. - PR Link https://github.com/rust-lang/rust/pull/128841 [INFO] The `build.profiler` option now tries to use source code from `download-ci-llvm` if possible, instead of checking out the `src/llvm-project` submodule. - PR Link https://github.com/rust-lang/rust/pull/129295 [INFO] New option `build.cargo-clippy` added for supporting the use of custom/external clippy. - PR Link https://github.com/rust-lang/rust/pull/129152 [WARNING] Removed `rust.split-debuginfo` as it was deprecated long time ago. - PR Link https://github.com/rust-lang/rust/pull/129925 [INFO] New option `llvm.enzyme` to control whether the llvm based autodiff tool (Enzyme) is built. - PR Link https://github.com/rust-lang/rust/pull/129176 [WARNING] `download-ci-llvm = true` now checks if CI llvm is available and has become the default for the compiler profile - PR Link https://github.com/rust-lang/rust/pull/129473 [INFO] 'tools' and 'library' profiles switched `download-ci-llvm` option from `if-unchanged` to `true`. - PR Link https://github.com/rust-lang/rust/pull/130202 [INFO] New option `dist.vendor` added to control whether bootstrap should vendor dependencies for dist tarball. - PR Link https://github.com/rust-lang/rust/pull/130110 [INFO] If `llvm.download-ci-llvm` is not defined, it defaults to `true`. - PR Link https://github.com/rust-lang/rust/pull/130529 [INFO] New option `./x setup editor` added, replacing `./x setup vscode` and adding support for vim, emacs and helix. - PR Link https://github.com/rust-lang/rust/pull/131075 [INFO] Allow setting `--jobs` in config.toml with `build.jobs`. - PR Link https://github.com/rust-lang/rust/pull/131838 [INFO] New option `build.compiletest-diff-tool` that adds support for a custom differ for compiletest - PR Link https://github.com/rust-lang/rust/pull/131181 [INFO] New option `llvm.offload` to control whether the llvm offload runtime for GPU support is built. Implicitly enables the openmp runtime as dependency. - PR Link https://github.com/rust-lang/rust/pull/131513 [WARNING] Deprecated `rust.parallel_compiler` as the compiler now always defaults to being parallel (with 1 thread) - PR Link https://github.com/rust-lang/rust/pull/132282 [INFO] `download-rustc='if-unchanged'` is now a default option for library profile. - PR Link https://github.com/rust-lang/rust/pull/132494 [INFO] `rust.llvm-tools` is now enabled by default when no `config.toml` is provided. - PR Link https://github.com/rust-lang/rust/pull/133207 [WARNING] Revert `rust.download-rustc` global default to `false` and only use `rust.download-rustc = "if-unchanged"` default for library and tools profile. As alt CI rustc is built without debug assertions, `rust.debug-assertions = true` will now inhibit downloading CI rustc. - PR Link https://github.com/rust-lang/rust/pull/133068 [INFO] `build.vendor` is now enabled by default for dist/tarball sources when 'vendor' directory and '.cargo/config.toml' file are present. - PR Link https://github.com/rust-lang/rust/pull/133853 [WARNING] compiletest now takes `--no-capture` instead of `--nocapture`; bootstrap now accepts `--no-capture` as an argument to test commands directly - PR Link https://github.com/rust-lang/rust/pull/134809 [WARNING] Removed `rust.parallel-compiler` as it was deprecated in #132282 long time ago. - PR Link https://github.com/rust-lang/rust/pull/134650 NOTE: to silence this warning, update `config.toml` to use `change-id = 134650` instead NOTE: this message was printed twice to make it more likely to be seen Build completed successfully in 0:00:11 xbstrap: archive-tool host-rust [94/94] [2025-06-01 04:26:33.266446 chopin] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 94, 'n_this': 93, 'status': 'success', 'subject': 'host-rust@std'} [2025-06-01 04:27:30.763748 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-06-01 04:27:34.359988 chopin] DEBUG: xbbs.worker: successfully uploaded tool host-rust for JobMessage(project='managarm_aarch64', job='tool:host-rust', repository='https://github.com/managarm/bootstrap-managarm.git', revision='e29184954800fe5e60d720c50c5bb806e4e640e4', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'libdrm-headers': {'architecture': 'aarch64', 'version': '2.4.124_1'}, 'linux-headers': {'architecture': 'aarch64', 'version': '6.12.8_2'}, 'mlibc-headers': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}, 'frigg': {'architecture': 'aarch64', 'version': '0.0pl360_7'}, 'mlibc': {'architecture': 'aarch64', 'version': '0.0pl4468_1'}}, needed_tools={'host-libffi': {'architecture': 'aarch64', 'version': '3.4.4_1'}, 'cross-binutils': {'architecture': 'aarch64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'aarch64', 'version': '14.2.0_1'}, 'host-python': {'architecture': {'aarch64'}, 'version': '3.10.12_1'}, 'host-llvm-toolchain': {'architecture': {'aarch64'}, 'version': '19.1.7_1'}}, prod_pkgs={}, prod_tools={'host-rust': {'architecture': {'aarch64'}, 'version': '1.85.1_6'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_aarch64/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/aarch64/') [2025-06-01 04:27:34.360396 chopin] INFO: xbbs.worker: job done. return code: 0