[INFO] cloning repository https://github.com/plutolove/RustOS-riscv64 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plutolove/RustOS-riscv64" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2FRustOS-riscv64", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2FRustOS-riscv64'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4098235493752cc14f6accf088b2f09ea0c984d0 [INFO] checking plutolove/RustOS-riscv64 against try#1bd50d4315eb15970d395b6be5823f9384707693 for pr-140151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2FRustOS-riscv64" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plutolove/RustOS-riscv64 on toolchain 1bd50d4315eb15970d395b6be5823f9384707693 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/plutolove/RustOS-riscv64 [INFO] finished tweaking git repo https://github.com/plutolove/RustOS-riscv64 [INFO] tweaked toml for git repo https://github.com/plutolove/RustOS-riscv64 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/plutolove/RustOS-riscv64 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" "+1bd50d4315eb15970d395b6be5823f9384707693" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking plutolove/RustOS-riscv64 against try#1bd50d4315eb15970d395b6be5823f9384707693 for pr-140151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2FRustOS-riscv64" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plutolove/RustOS-riscv64 on toolchain 1bd50d4315eb15970d395b6be5823f9384707693 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/plutolove/RustOS-riscv64 [INFO] finished tweaking git repo https://github.com/plutolove/RustOS-riscv64 [INFO] tweaked toml for git repo https://github.com/plutolove/RustOS-riscv64 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/plutolove/RustOS-riscv64 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" "+1bd50d4315eb15970d395b6be5823f9384707693" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e19bfd659b454a5d5a1338b6a11583c426644b7e5da3f833eedb1acad35f8225 [INFO] running `Command { std: "docker" "start" "-a" "e19bfd659b454a5d5a1338b6a11583c426644b7e5da3f833eedb1acad35f8225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e19bfd659b454a5d5a1338b6a11583c426644b7e5da3f833eedb1acad35f8225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e19bfd659b454a5d5a1338b6a11583c426644b7e5da3f833eedb1acad35f8225", kill_on_drop: false }` [INFO] [stdout] e19bfd659b454a5d5a1338b6a11583c426644b7e5da3f833eedb1acad35f8225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cabb5d64252f0b833a7030c43f5e4e14a6403a519508d53699709bd0391089dc [INFO] running `Command { std: "docker" "start" "-a" "cabb5d64252f0b833a7030c43f5e4e14a6403a519508d53699709bd0391089dc", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 (https://github.com/rcore-os/riscv#11d43cf7) [INFO] [stderr] Checking os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `x10`: unknown register [INFO] [stdout] --> src/sbi.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | inlateout("x10") arg0 => ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `x11`: unknown register [INFO] [stdout] --> src/sbi.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | in("x11") arg1, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `x12`: unknown register [INFO] [stdout] --> src/sbi.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | in("x12") arg2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `x17`: unknown register [INFO] [stdout] --> src/sbi.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | in("x17") which, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `PanicMessage` in the current scope [INFO] [stdout] --> src/lang_item.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | info.message().unwrap() [INFO] [stdout] | ^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `PanicMessage` in the current scope [INFO] [stdout] --> src/lang_item.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | println!("Panicked: {}", info.message().unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lang_item.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 6 | | if let Some(location) = info.location() { [INFO] [stdout] 7 | | println!( [INFO] [stdout] 8 | | "Panicked at {}:{} {}", [INFO] [stdout] ... | [INFO] [stdout] 16 | | shutdown() [INFO] [stdout] 17 | | } [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/1bd50d4315eb15970d395b6be5823f9384707693/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-13ae3d8793b46ca5.rlib [INFO] [stdout] = note: second definition in the local crate (`os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/batch.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut app_start_raw: &[usize] = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `os` (bin "os" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `os` (bin "os") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cabb5d64252f0b833a7030c43f5e4e14a6403a519508d53699709bd0391089dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cabb5d64252f0b833a7030c43f5e4e14a6403a519508d53699709bd0391089dc", kill_on_drop: false }` [INFO] [stdout] cabb5d64252f0b833a7030c43f5e4e14a6403a519508d53699709bd0391089dc