[INFO] cloning repository https://github.com/bsgbryan/hos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bsgbryan/hos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsgbryan%2Fhos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsgbryan%2Fhos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9f79a405d6f648e126b56e8dfda8412624a6d89 [INFO] checking bsgbryan/hos against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsgbryan%2Fhos" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bsgbryan/hos [INFO] finished tweaking git repo https://github.com/bsgbryan/hos [INFO] tweaked toml for git repo https://github.com/bsgbryan/hos written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bsgbryan/hos on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bsgbryan/hos 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking bsgbryan/hos against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsgbryan%2Fhos" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bsgbryan/hos [INFO] finished tweaking git repo https://github.com/bsgbryan/hos [INFO] tweaked toml for git repo https://github.com/bsgbryan/hos written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bsgbryan/hos on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bsgbryan/hos 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aarch64-cpu v10.0.0 [INFO] [stderr] Downloaded tock-registers v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d396f3213abe5334138d3c6362f80d2a792c26ca52e6b0cd9b803850bc2540f3 [INFO] running `Command { std: "docker" "start" "-a" "d396f3213abe5334138d3c6362f80d2a792c26ca52e6b0cd9b803850bc2540f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d396f3213abe5334138d3c6362f80d2a792c26ca52e6b0cd9b803850bc2540f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d396f3213abe5334138d3c6362f80d2a792c26ca52e6b0cd9b803850bc2540f3", kill_on_drop: false }` [INFO] [stdout] d396f3213abe5334138d3c6362f80d2a792c26ca52e6b0cd9b803850bc2540f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65547ec99a5aaf808387b00c62fded2d92ffadd5f8869897ee3df4f73db87e92 [INFO] running `Command { std: "docker" "start" "-a" "65547ec99a5aaf808387b00c62fded2d92ffadd5f8869897ee3df4f73db87e92", kill_on_drop: false }` [INFO] [stderr] Compiling hos v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Add the traget_arch to above's check if the following code is safe to use [INFO] [stdout] --> src/panic_wait.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | compile_error!("Add the traget_arch to above's check if the following code is safe to use"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_cpu` [INFO] [stdout] --> src/cpu.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use arch_cpu::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `arch_cpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_cpu`, use `cargo add arch_cpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_asynchronous` [INFO] [stdout] --> src/exception/asynchronous.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use arch_asynchronous::print_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arch_asynchronous` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_asynchronous`, use `cargo add arch_asynchronous` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Add the traget_arch to above's check if the following code is safe to use [INFO] [stdout] --> src/panic_wait.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | compile_error!("Add the traget_arch to above's check if the following code is safe to use"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_translation_table` [INFO] [stdout] --> src/memory/mmu/translation_table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use arch_translation_table::KernelTranslationTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arch_translation_table` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_translation_table`, use `cargo add arch_translation_table` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_exception` [INFO] [stdout] --> src/exception.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use arch_exception::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arch_exception` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_exception`, use `cargo add arch_exception` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_mmu` [INFO] [stdout] --> src/memory/mmu.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use arch_mmu::mmu; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `arch_mmu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_mmu`, use `cargo add arch_mmu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_cpu` [INFO] [stdout] --> src/cpu.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use arch_cpu::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `arch_cpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_cpu`, use `cargo add arch_cpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_asynchronous` [INFO] [stdout] --> src/exception/asynchronous.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use arch_asynchronous::print_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arch_asynchronous` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_asynchronous`, use `cargo add arch_asynchronous` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_translation_table` [INFO] [stdout] --> src/memory/mmu/translation_table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use arch_translation_table::KernelTranslationTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arch_translation_table` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_translation_table`, use `cargo add arch_translation_table` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_exception` [INFO] [stdout] --> src/exception.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use arch_exception::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arch_exception` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_exception`, use `cargo add arch_exception` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_mmu` [INFO] [stdout] --> src/memory/mmu.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use arch_mmu::mmu; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `arch_mmu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_mmu`, use `cargo add arch_mmu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `driver` in `bsp` [INFO] [stdout] --> src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = unsafe { bsp::driver::init() } { [INFO] [stdout] | ^^^^^^ could not find `driver` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `driver` in `bsp` [INFO] [stdout] --> src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = unsafe { bsp::driver::init() } { [INFO] [stdout] | ^^^^^^ could not find `driver` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `memory` in `bsp` [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | bsp::memory::mmu::virt_mem_layout().print_layout(); [INFO] [stdout] | ^^^^^^ could not find `memory` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `board_name` in module `bsp` [INFO] [stdout] --> src/main.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | info!("Booting on: {}", bsp::board_name()); [INFO] [stdout] | ^^^^^^^^^^ not found in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `memory` in `bsp` [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | bsp::memory::mmu::virt_mem_layout().print_layout(); [INFO] [stdout] | ^^^^^^ could not find `memory` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `board_name` in module `bsp` [INFO] [stdout] --> src/main.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | info!("Booting on: {}", bsp::board_name()); [INFO] [stdout] | ^^^^^^^^^^ not found in `bsp` [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] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic_wait.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 29 | | panic_prevent_reenter(); [INFO] [stdout] 30 | | [INFO] [stdout] 31 | | let timestamp = crate::time::time_manager().uptime(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | cpu::wait_forever() [INFO] [stdout] 48 | | } [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/0bdee9e879c87b7211d316e9152109cfd46c576b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ad248a6e6fe48fd9.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] --> src/time.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | arch_time::resolution() [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_time`, use `cargo add arch_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] --> src/time.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | arch_time::uptime() [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_time`, use `cargo add arch_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] --> src/time.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | arch_time::spin_for(duration); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_time`, use `cargo add arch_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hos` (bin "kernel" test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `arch_address_space_size_sanity_checks` found for struct `AddressSpace` in the current scope [INFO] [stdout] --> src/memory/mmu.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct AddressSpace; [INFO] [stdout] | --------------------------------------------- function or associated item `arch_address_space_size_sanity_checks` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 140 | Self::arch_address_space_size_sanity_checks(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `AddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] --> src/time.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | arch_time::resolution() [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_time`, use `cargo add arch_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] --> src/time.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | arch_time::uptime() [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_time`, use `cargo add arch_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] --> src/time.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | arch_time::spin_for(duration); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arch_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_time`, use `cargo add arch_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hos` (bin "kernel") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "65547ec99a5aaf808387b00c62fded2d92ffadd5f8869897ee3df4f73db87e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65547ec99a5aaf808387b00c62fded2d92ffadd5f8869897ee3df4f73db87e92", kill_on_drop: false }` [INFO] [stdout] 65547ec99a5aaf808387b00c62fded2d92ffadd5f8869897ee3df4f73db87e92