[INFO] cloning repository https://github.com/Huzhiwen1208/polyhal-with-libos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Huzhiwen1208/polyhal-with-libos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuzhiwen1208%2Fpolyhal-with-libos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuzhiwen1208%2Fpolyhal-with-libos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cca729bfea14cc816c03567d9e49fcacd15e430f [INFO] checking Huzhiwen1208/polyhal-with-libos/cca729bfea14cc816c03567d9e49fcacd15e430f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuzhiwen1208%2Fpolyhal-with-libos" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Huzhiwen1208/polyhal-with-libos on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Huzhiwen1208/polyhal-with-libos [INFO] finished tweaking git repo https://github.com/Huzhiwen1208/polyhal-with-libos [INFO] tweaked toml for git repo https://github.com/Huzhiwen1208/polyhal-with-libos written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Huzhiwen1208/polyhal-with-libos already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Byte-OS/percpu.git` [INFO] [stderr] Updating git repository `https://github.com/Byte-OS/arm_gic` [INFO] [stderr] Updating git repository `https://github.com/Byte-OS/arm_pl011.git` [INFO] [stderr] Updating git repository `https://github.com/theseus-os/irq_safety.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tock-registers v0.8.1 [INFO] [stderr] Downloaded x2apic v0.4.3 [INFO] [stderr] Downloaded riscv v0.11.1 [INFO] [stderr] Downloaded multiboot v0.8.0 [INFO] [stderr] Downloaded sbi-spec v0.0.4 [INFO] [stderr] Downloaded fdt v0.1.5 [INFO] [stderr] Downloaded sbi-rt v0.0.2 [INFO] [stderr] Downloaded aarch64-cpu v9.4.0 [INFO] [stderr] Downloaded bit v0.1.1 [INFO] [stderr] Downloaded loongArch64 v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6339897735a378bcd8de24206c0ad71b0e2a33d06c655c3731f607c298bcdedb [INFO] running `Command { std: "docker" "start" "-a" "6339897735a378bcd8de24206c0ad71b0e2a33d06c655c3731f607c298bcdedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6339897735a378bcd8de24206c0ad71b0e2a33d06c655c3731f607c298bcdedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6339897735a378bcd8de24206c0ad71b0e2a33d06c655c3731f607c298bcdedb", kill_on_drop: false }` [INFO] [stdout] 6339897735a378bcd8de24206c0ad71b0e2a33d06c655c3731f607c298bcdedb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e33d217c9154a6f9c16a994a703d75cb75d92bc7eeeba9f85cf18224104d2b2 [INFO] running `Command { std: "docker" "start" "-a" "8e33d217c9154a6f9c16a994a703d75cb75d92bc7eeeba9f85cf18224104d2b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling x86 v0.52.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking volatile v0.4.6 [INFO] [stderr] Compiling percpu v0.1.0 (https://github.com/Byte-OS/percpu.git#a71e60e3) [INFO] [stderr] Checking bit v0.1.1 [INFO] [stderr] Checking fdt v0.1.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Checking multiboot v0.8.0 [INFO] [stderr] Checking raw-cpuid v11.0.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking x86_64 v0.14.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking irq_safety v0.1.1 (https://github.com/theseus-os/irq_safety.git#11bfab9f) [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking x2apic v0.4.3 [INFO] [stderr] Compiling percpu_macros v0.1.0 (https://github.com/Byte-OS/percpu.git#a71e60e3) [INFO] [stderr] Compiling polyhal-macro v0.1.0 (/opt/rustwide/workdir/polyhal-macro) [INFO] [stderr] Checking polyhal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `c906` [INFO] [stdout] --> src/addr.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | #[cfg(c906)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(c906)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(c906)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `c906` [INFO] [stdout] --> src/addr.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | #[cfg(c906)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(c906)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(c906)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/addr.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(board = "2k1000")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("2k1000"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"2k1000\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/addr.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(board = "2k1000")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("2k1000"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"2k1000\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/addr.rs:235:15 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(board = "2k1000")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("2k1000"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"2k1000\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/addr.rs:235:15 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(board = "2k1000")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("2k1000"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"2k1000\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `c906` [INFO] [stdout] --> src/addr.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | #[cfg(c906)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(c906)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(c906)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `c906` [INFO] [stdout] --> src/addr.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | #[cfg(c906)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(c906)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(c906)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/x86_64/multiboot.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { Multiboot::from_ptr(mboot_ptr, &mut MEM) } [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { Multiboot::from_ptr(mboot_ptr, addr_of_mut!(MEM)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/x86_64/multiboot.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { Multiboot::from_ptr(mboot_ptr, &mut MEM) } [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { Multiboot::from_ptr(mboot_ptr, addr_of_mut!(MEM)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "8e33d217c9154a6f9c16a994a703d75cb75d92bc7eeeba9f85cf18224104d2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e33d217c9154a6f9c16a994a703d75cb75d92bc7eeeba9f85cf18224104d2b2", kill_on_drop: false }` [INFO] [stdout] 8e33d217c9154a6f9c16a994a703d75cb75d92bc7eeeba9f85cf18224104d2b2