[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#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitsem%2Foxiv_os" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jitsem/oxiv_os on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-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" "+4ecd70ddd1039a3954056c1071e40278048476fa" "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-3-tc1/source/boot/riscv32/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-tc1/source/Cargo.toml [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7dfbe48a954828303e55168136a7d93f04c0b801899180ff63f0a7d5f4e063f [INFO] running `Command { std: "docker" "start" "-a" "c7dfbe48a954828303e55168136a7d93f04c0b801899180ff63f0a7d5f4e063f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7dfbe48a954828303e55168136a7d93f04c0b801899180ff63f0a7d5f4e063f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7dfbe48a954828303e55168136a7d93f04c0b801899180ff63f0a7d5f4e063f", kill_on_drop: false }` [INFO] [stdout] c7dfbe48a954828303e55168136a7d93f04c0b801899180ff63f0a7d5f4e063f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b35e43da096f3cfbb9ebec924182611d8f4d0ce31cc4994db7ebc9d7a13794e6 [INFO] running `Command { std: "docker" "start" "-a" "b35e43da096f3cfbb9ebec924182611d8f4d0ce31cc4994db7ebc9d7a13794e6", 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[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[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[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[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[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/4ecd70ddd1039a3954056c1071e40278048476fa/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4d5af82d47b2db3d.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] [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[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" "b35e43da096f3cfbb9ebec924182611d8f4d0ce31cc4994db7ebc9d7a13794e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35e43da096f3cfbb9ebec924182611d8f4d0ce31cc4994db7ebc9d7a13794e6", kill_on_drop: false }` [INFO] [stdout] b35e43da096f3cfbb9ebec924182611d8f4d0ce31cc4994db7ebc9d7a13794e6