[INFO] cloning repository https://github.com/jimizai/os_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimizai/os_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimizai%2Fos_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimizai%2Fos_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 284d3c79d4f1f6ecf087c4b2d3620833eca7c2f1 [INFO] checking jimizai/os_study against try#c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimizai%2Fos_study" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/jimizai/os_study [INFO] finished tweaking git repo https://github.com/jimizai/os_study [INFO] tweaked toml for git repo https://github.com/jimizai/os_study written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jimizai/os_study on toolchain c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jimizai/os_study 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" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "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 jimizai/os_study against try#c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimizai%2Fos_study" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/jimizai/os_study [INFO] finished tweaking git repo https://github.com/jimizai/os_study [INFO] tweaked toml for git repo https://github.com/jimizai/os_study written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jimizai/os_study on toolchain c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jimizai/os_study 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" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1db03a6ad5eae6c37243bc446f155bde0a1bc64de8561173df23a16d65180d1 [INFO] running `Command { std: "docker" "start" "-a" "e1db03a6ad5eae6c37243bc446f155bde0a1bc64de8561173df23a16d65180d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1db03a6ad5eae6c37243bc446f155bde0a1bc64de8561173df23a16d65180d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1db03a6ad5eae6c37243bc446f155bde0a1bc64de8561173df23a16d65180d1", kill_on_drop: false }` [INFO] [stdout] e1db03a6ad5eae6c37243bc446f155bde0a1bc64de8561173df23a16d65180d1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c01efca2f9245fe0d110428f13aaeb8a89d27d2973edc305770ebdab044672c [INFO] running `Command { std: "docker" "start" "-a" "2c01efca2f9245fe0d110428f13aaeb8a89d27d2973edc305770ebdab044672c", kill_on_drop: false }` [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/batch.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | llvm_asm!("fence.i" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/sbi.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | llvm_asm!("ecall" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | global_asm!(include_str!("entry.asm")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 12 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num` [INFO] [stdout] --> src/batch.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use core::{cell::RefCell, num, panic}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/console.rs:33:80 [INFO] [stdout] | [INFO] [stdout] 33 | crate::console::print(format_args!(concat!($fmt, "\n") $(, $($arg)+)?)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/batch.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / println!( [INFO] [stdout] 64 | | "[kernel] app_{} [{:#x}, {:#x}]", [INFO] [stdout] 65 | | i, [INFO] [stdout] 66 | | self.app_start[i], [INFO] [stdout] 67 | | self.app_start[i + 1] [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `println` [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lang_items.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 5 | | loop {} [INFO] [stdout] 6 | | } [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/c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8b5bf3899fe2af46.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] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/batch.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | llvm_asm!("fence.i" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/sbi.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | llvm_asm!("ecall" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | global_asm!(include_str!("entry.asm")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 12 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `os` (bin "os" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `num` [INFO] [stdout] --> src/batch.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use core::{cell::RefCell, num, panic}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/console.rs:33:80 [INFO] [stdout] | [INFO] [stdout] 33 | crate::console::print(format_args!(concat!($fmt, "\n") $(, $($arg)+)?)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/batch.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / println!( [INFO] [stdout] 64 | | "[kernel] app_{} [{:#x}, {:#x}]", [INFO] [stdout] 65 | | i, [INFO] [stdout] 66 | | self.app_start[i], [INFO] [stdout] 67 | | self.app_start[i + 1] [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `println` [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [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" "2c01efca2f9245fe0d110428f13aaeb8a89d27d2973edc305770ebdab044672c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c01efca2f9245fe0d110428f13aaeb8a89d27d2973edc305770ebdab044672c", kill_on_drop: false }` [INFO] [stdout] 2c01efca2f9245fe0d110428f13aaeb8a89d27d2973edc305770ebdab044672c