[INFO] cloning repository https://github.com/llh730/StarryOS-LoongArch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/llh730/StarryOS-LoongArch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllh730%2FStarryOS-LoongArch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllh730%2FStarryOS-LoongArch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 110201f070b9db90d1de1f3e6fd06ded2149d600 [INFO] testing llh730/StarryOS-LoongArch against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllh730%2FStarryOS-LoongArch" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/llh730/StarryOS-LoongArch [INFO] finished tweaking git repo https://github.com/llh730/StarryOS-LoongArch [INFO] tweaked toml for git repo https://github.com/llh730/StarryOS-LoongArch written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/llh730/StarryOS-LoongArch on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/llh730/StarryOS-LoongArch 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc2/source/crates/slab_allocator/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02886a16545e2d5264ceeaae7c34e5e42cf07c8b62866b3e8fbdb2ddad7e727d [INFO] running `Command { std: "docker" "start" "-a" "02886a16545e2d5264ceeaae7c34e5e42cf07c8b62866b3e8fbdb2ddad7e727d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02886a16545e2d5264ceeaae7c34e5e42cf07c8b62866b3e8fbdb2ddad7e727d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02886a16545e2d5264ceeaae7c34e5e42cf07c8b62866b3e8fbdb2ddad7e727d", kill_on_drop: false }` [INFO] [stdout] 02886a16545e2d5264ceeaae7c34e5e42cf07c8b62866b3e8fbdb2ddad7e727d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0847dcfa33a81c55f3b507799d9eab4f4d6c4d821e5ec59d41bb02cd3e175aa6 [INFO] running `Command { std: "docker" "start" "-a" "0847dcfa33a81c55f3b507799d9eab4f4d6c4d821e5ec59d41bb02cd3e175aa6", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/slab_allocator/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling axerrno v0.1.0 (/opt/rustwide/workdir/crates/axerrno) [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling winnow v0.5.14 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling tock-registers v0.8.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling x86_64 v0.14.10 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling x86 v0.52.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling memory_addr v0.1.0 (/opt/rustwide/workdir/crates/memory_addr) [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/memory_addr/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitmap-allocator v0.1.0 (https://github.com/rcore-os/bitmap-allocator.git?rev=88e871a#88e871a5) [INFO] [stderr] Compiling aarch64-cpu v9.3.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stdout] error[E0053]: method `steps_between` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.10/src/addr.rs:348:51 [INFO] [stdout] | [INFO] [stdout] 348 | fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> (usize, Option)` [INFO] [stdout] found signature `fn(&addr::VirtAddr, &addr::VirtAddr) -> Option` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 348 - fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] 348 + fn steps_between(start: &Self, end: &Self) -> (usize, Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling percpu v0.1.0 (/opt/rustwide/workdir/crates/percpu) [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling axfs_vfs v0.1.0 (/opt/rustwide/workdir/crates/axfs_vfs) [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling bit v0.1.1 [INFO] [stdout] error[E0053]: method `steps_between` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.10/src/structures/paging/page.rs:272:51 [INFO] [stdout] | [INFO] [stdout] 272 | fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Page<_>, &Page<_>) -> (usize, Option)` [INFO] [stdout] found signature `fn(&Page<_>, &Page<_>) -> Option` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 272 - fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] 272 + fn steps_between(start: &Self, end: &Self) -> (usize, Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raw-cpuid v11.0.1 [INFO] [stderr] Compiling handler_table v0.1.0 (/opt/rustwide/workdir/crates/handler_table) [INFO] [stderr] Compiling ratio v0.1.0 (/opt/rustwide/workdir/crates/ratio) [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling driver_common v0.1.0 (/opt/rustwide/workdir/crates/driver_common) [INFO] [stdout] error[E0599]: `(usize, Option)` is not an iterator [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.10/src/structures/paging/page.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 273 | / Step::steps_between(&start.start_address, &end.start_address) [INFO] [stdout] 274 | | .map(|steps| steps / S::SIZE as usize) [INFO] [stdout] | | -^^^ `(usize, Option)` is not an iterator [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(usize, Option): Iterator` [INFO] [stdout] which is required by `&mut (usize, Option): Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lazy_init v0.1.0 (/opt/rustwide/workdir/crates/lazy_init) [INFO] [stderr] Compiling linked_list v0.1.0 (/opt/rustwide/workdir/crates/linked_list) [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 (https://github.com/mexus/numeric-enum-macro#20aef288) [INFO] [stderr] Compiling driver_block v0.1.0 (/opt/rustwide/workdir/crates/driver_block) [INFO] [stderr] Compiling axdriver v0.1.0 (/opt/rustwide/workdir/modules/axdriver) [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling timer_list v0.1.0 (/opt/rustwide/workdir/crates/timer_list) [INFO] [stderr] Compiling axfs_ramfs v0.1.0 (/opt/rustwide/workdir/crates/axfs_ramfs) [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> crates/linked_list/src/unsafe_list.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | if self.first.unwrap() == existing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 245 - if self.first.unwrap() == existing { [INFO] [stdout] 245 + if std::ptr::addr_eq(self.first.unwrap().as_ptr(), existing.as_ptr()) { [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 245 - if self.first.unwrap() == existing { [INFO] [stdout] 245 + if std::ptr::eq(self.first.unwrap().as_ptr(), existing.as_ptr()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> crates/linked_list/src/unsafe_list.rs:462:24 [INFO] [stdout] | [INFO] [stdout] 462 | if links.next != head { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 462 - if links.next != head { [INFO] [stdout] 462 + if !std::ptr::addr_eq(links.next.as_ptr(), head.as_ptr()) { [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 462 - if links.next != head { [INFO] [stdout] 462 + if !std::ptr::eq(links.next.as_ptr(), head.as_ptr()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> crates/linked_list/src/unsafe_list.rs:483:28 [INFO] [stdout] | [INFO] [stdout] 483 | if cur == head { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 483 - if cur == head { [INFO] [stdout] 483 + if std::ptr::addr_eq(cur.as_ptr(), head.as_ptr()) { [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 483 - if cur == head { [INFO] [stdout] 483 + if std::ptr::eq(cur.as_ptr(), head.as_ptr()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scheduler v0.1.0 (/opt/rustwide/workdir/crates/scheduler) [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/scheduler/src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling driver_net v0.1.0 (/opt/rustwide/workdir/crates/driver_net) [INFO] [stderr] Compiling driver_display v0.1.0 (/opt/rustwide/workdir/crates/driver_display) [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/driver_display/src/lib.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | fn fb(&self) -> FrameBuffer; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn fb(&self) -> FrameBuffer<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/driver_net/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_slice_from_raw_parts_mut` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/driver_net/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_slice_from_raw_parts_mut)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axio v0.1.0 (/opt/rustwide/workdir/crates/axio) [INFO] [stdout] Some errors have detailed explanations: E0053, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] Compiling capability v0.1.0 (/opt/rustwide/workdir/crates/capability) [INFO] [stderr] error: could not compile `x86_64` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0847dcfa33a81c55f3b507799d9eab4f4d6c4d821e5ec59d41bb02cd3e175aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0847dcfa33a81c55f3b507799d9eab4f4d6c4d821e5ec59d41bb02cd3e175aa6", kill_on_drop: false }` [INFO] [stdout] 0847dcfa33a81c55f3b507799d9eab4f4d6c4d821e5ec59d41bb02cd3e175aa6