[INFO] cloning repository https://github.com/dzvon/xv6-riscv-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dzvon/xv6-riscv-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzvon%2Fxv6-riscv-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzvon%2Fxv6-riscv-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 920e66bc7bb0b92b28d9a7bb97a0b82c79d5e64c [INFO] checking dzvon/xv6-riscv-rs against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzvon%2Fxv6-riscv-rs" "/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/.cargo/config [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/dzvon/xv6-riscv-rs [INFO] finished tweaking git repo https://github.com/dzvon/xv6-riscv-rs [INFO] tweaked toml for git repo https://github.com/dzvon/xv6-riscv-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dzvon/xv6-riscv-rs on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dzvon/xv6-riscv-rs 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ce6425c5801c590b1f63105805ab601d9c46cf4b950b619cb7c184cf7450eb7 [INFO] running `Command { std: "docker" "start" "-a" "7ce6425c5801c590b1f63105805ab601d9c46cf4b950b619cb7c184cf7450eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ce6425c5801c590b1f63105805ab601d9c46cf4b950b619cb7c184cf7450eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce6425c5801c590b1f63105805ab601d9c46cf4b950b619cb7c184cf7450eb7", kill_on_drop: false }` [INFO] [stdout] 7ce6425c5801c590b1f63105805ab601d9c46cf4b950b619cb7c184cf7450eb7 [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b49f55a50f8fffdea826d21a4b1a28fcca80c93cc5d654d15cd6be881fca930 [INFO] running `Command { std: "docker" "start" "-a" "3b49f55a50f8fffdea826d21a4b1a28fcca80c93cc5d654d15cd6be881fca930", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling osdev v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: You are not using a cross-compiler, you will most certainly run into trouble [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | compile_error!("You are not using a cross-compiler, you will most certainly run into trouble"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: You are not using a cross-compiler, you will most certainly run into trouble [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | compile_error!("You are not using a cross-compiler, you will most certainly run into trouble"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `file::DEV_SW` and `self` [INFO] [stdout] --> src/console.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | file::DEV_SW, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | uart::{self, uart_putc_sync}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/console.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use core::{fmt, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TRAMPOLINE` [INFO] [stdout] --> src/proc.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | memlayout::{kstack, TRAMPOLINE}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ref` [INFO] [stdout] --> src/proc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | cell::{Ref, RefCell, UnsafeCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | ptr, [INFO] [stdout] 12 | sync::atomic::{AtomicBool, AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `file::DEV_SW` and `self` [INFO] [stdout] --> src/console.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | file::DEV_SW, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | uart::{self, uart_putc_sync}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/console.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use core::{fmt, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TRAMPOLINE` [INFO] [stdout] --> src/proc.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | memlayout::{kstack, TRAMPOLINE}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ref` [INFO] [stdout] --> src/proc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | cell::{Ref, RefCell, UnsafeCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | ptr, [INFO] [stdout] 12 | sync::atomic::{AtomicBool, AtomicUsize, Ordering}, [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] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![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_weak_new` has been stable since 1.73.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_weak_new)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_default_impls` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_default_impls)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_intoiterator_identity` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_intoiterator_identity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/printf.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 44 | | NEED_LOCKING.store(false, Ordering::Release); [INFO] [stdout] 45 | | // freeze uart output from other CPUs [INFO] [stdout] 46 | | println!("panic: {}", info); [INFO] [stdout] 47 | | PANICKED.store(true, Ordering::Relaxed); [INFO] [stdout] 48 | | loop {} [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] = note: second definition in the local crate (`osdev`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/console.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl const Default for Console { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/proc.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl const Default for Proc { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/proc.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | impl const Default for ProcControl { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/uart.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl const Default for Uart { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `osdev` (bin "osdev" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `Default` is not yet stable as a const trait [INFO] [stdout] --> src/console.rs:19:62 [INFO] [stdout] | [INFO] [stdout] 19 | pub static CONS: SpinMutex = SpinMutex::new("cons", Console::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 + #![feature(const_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Default` is not yet stable as a const trait [INFO] [stdout] --> src/proc.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | const PROC: Proc = Proc::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 + #![feature(const_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Default` is not yet stable as a const trait [INFO] [stdout] --> src/uart.rs:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | pub static UART: SpinMutex = SpinMutex::new("uart", Uart::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 + #![feature(const_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_src` [INFO] [stdout] --> src/console.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) fn console_write(user_src: i32, src: u64, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/console.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) fn console_write(user_src: i32, src: u64, n: i32) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/console.rs:110:54 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) fn console_write(user_src: i32, src: u64, n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_dst` [INFO] [stdout] --> src/console.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn console_read(user_dst: i32, dst: u64, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/console.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn console_read(user_dst: i32, dst: u64, n: i32) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/console.rs:119:53 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn console_read(user_dst: i32, dst: u64, n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Default` is not yet stable as a const trait [INFO] [stdout] --> src/proc.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 293 | control: SpinMutex::new("proc", ProcControl::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 + #![feature(const_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/spinlock.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/spinlock.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scause` [INFO] [stdout] --> src/trap.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let scause = r_scause(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `osdev` (bin "osdev") due to 11 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b49f55a50f8fffdea826d21a4b1a28fcca80c93cc5d654d15cd6be881fca930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b49f55a50f8fffdea826d21a4b1a28fcca80c93cc5d654d15cd6be881fca930", kill_on_drop: false }` [INFO] [stdout] 3b49f55a50f8fffdea826d21a4b1a28fcca80c93cc5d654d15cd6be881fca930