[INFO] cloning repository https://github.com/jitsem/oxiv_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jitsem/oxiv_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitsem%2Foxiv_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitsem%2Foxiv_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27b4073ab68f46e9c08170bce3db7dfb5a82ef9e [INFO] checking jitsem/oxiv_os against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitsem%2Foxiv_os" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jitsem/oxiv_os on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/jitsem/oxiv_os [INFO] finished tweaking git repo https://github.com/jitsem/oxiv_os [INFO] tweaked toml for git repo https://github.com/jitsem/oxiv_os written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jitsem/oxiv_os 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc1/source/boot/riscv32/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 509b64e9be91157de076d1cce5ee4c97e82d5886b3a529a3f5daff78152f95d6 [INFO] running `Command { std: "docker" "start" "-a" "509b64e9be91157de076d1cce5ee4c97e82d5886b3a529a3f5daff78152f95d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "509b64e9be91157de076d1cce5ee4c97e82d5886b3a529a3f5daff78152f95d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509b64e9be91157de076d1cce5ee4c97e82d5886b3a529a3f5daff78152f95d6", kill_on_drop: false }` [INFO] [stdout] 509b64e9be91157de076d1cce5ee4c97e82d5886b3a529a3f5daff78152f95d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24d74c0398ed6c88dca16bcf54de760587769703e4683b0e749d9ab7b61443c8 [INFO] running `Command { std: "docker" "start" "-a" "24d74c0398ed6c88dca16bcf54de760587769703e4683b0e749d9ab7b61443c8", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/boot/riscv32/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling oxiv_riscv32 v0.1.0 (/opt/rustwide/workdir/boot/riscv32) [INFO] [stderr] Checking oxiv_kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_ORDER` [INFO] [stdout] --> kernel/allocator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::arch::PAGE_ORDER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_ORDER` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_SIZE` [INFO] [stdout] --> kernel/allocator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_ORDER` [INFO] [stdout] --> kernel/page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::PAGE_ORDER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_ORDER` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_SIZE` [INFO] [stdout] --> kernel/page.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::arch::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_SIZE` [INFO] [stdout] --> kernel/page_table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::arch::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Satp` in `arch` [INFO] [stdout] --> kernel/lib.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let stap = arch::Satp::new(addr); [INFO] [stdout] | ^^^^ could not find `Satp` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `console_write` in module `crate::arch` [INFO] [stdout] --> kernel/common.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | crate::arch::console_write(s); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `crate::arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_handlers` in module `arch` [INFO] [stdout] --> kernel/lib.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | arch::init_handlers(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in module `arch` [INFO] [stdout] --> kernel/lib.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | arch::delay(); [INFO] [stdout] | ^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in module `arch` [INFO] [stdout] --> kernel/lib.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | arch::delay(); [INFO] [stdout] | ^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `abort` in module `arch` [INFO] [stdout] --> kernel/lib.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | arch::abort(); [INFO] [stdout] | ^^^^^ not found in `arch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use core::intrinsics::abort; [INFO] [stdout] | [INFO] [stdout] help: if you import `abort`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 263 - arch::abort(); [INFO] [stdout] 263 + abort(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> kernel/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | / fn handle_panic(info: &PanicInfo) -> ! { [INFO] [stdout] 258 | | print!("Kernel Panic"); [INFO] [stdout] 259 | | if let Some(location) = info.location() { [INFO] [stdout] 260 | | print!(" ({},{})", location.line(), location.column()) [INFO] [stdout] ... | [INFO] [stdout] 263 | | arch::abort(); [INFO] [stdout] 264 | | } [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/40daf23eeb711dadf140b2536e67e3ff4c999196/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-46e6f64400db96b9.rlib [INFO] [stdout] = note: second definition in the local crate (`oxiv_kernel`) [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] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_ORDER` [INFO] [stdout] --> kernel/allocator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::arch::PAGE_ORDER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_ORDER` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_SIZE` [INFO] [stdout] --> kernel/allocator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_ORDER` [INFO] [stdout] --> kernel/page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::PAGE_ORDER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_ORDER` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_SIZE` [INFO] [stdout] --> kernel/page.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::arch::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::PAGE_SIZE` [INFO] [stdout] --> kernel/page_table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::arch::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxiv_kernel` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `Satp` in `arch` [INFO] [stdout] --> kernel/lib.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let stap = arch::Satp::new(addr); [INFO] [stdout] | ^^^^ could not find `Satp` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `console_write` in module `crate::arch` [INFO] [stdout] --> kernel/common.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | crate::arch::console_write(s); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `crate::arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_handlers` in module `arch` [INFO] [stdout] --> kernel/lib.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | arch::init_handlers(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in module `arch` [INFO] [stdout] --> kernel/lib.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | arch::delay(); [INFO] [stdout] | ^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in module `arch` [INFO] [stdout] --> kernel/lib.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | arch::delay(); [INFO] [stdout] | ^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `abort` in module `arch` [INFO] [stdout] --> kernel/lib.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | arch::abort(); [INFO] [stdout] | ^^^^^ not found in `arch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use core::intrinsics::abort; [INFO] [stdout] | [INFO] [stdout] help: if you import `abort`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 263 - arch::abort(); [INFO] [stdout] 263 + abort(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> kernel/lib.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 257 | fn handle_panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ------------ ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxiv_kernel` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "24d74c0398ed6c88dca16bcf54de760587769703e4683b0e749d9ab7b61443c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d74c0398ed6c88dca16bcf54de760587769703e4683b0e749d9ab7b61443c8", kill_on_drop: false }` [INFO] [stdout] 24d74c0398ed6c88dca16bcf54de760587769703e4683b0e749d9ab7b61443c8