[INFO] cloning repository https://github.com/MinkowskiMetric/rvkern [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MinkowskiMetric/rvkern" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinkowskiMetric%2Frvkern", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinkowskiMetric%2Frvkern'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75208a52ad812a54de0be26fad8d17d8b085975c [INFO] checking MinkowskiMetric/rvkern against master#568f6a8641e391ffcdcdb03e79d0901731d8d399 for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinkowskiMetric%2Frvkern" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MinkowskiMetric/rvkern on toolchain 568f6a8641e391ffcdcdb03e79d0901731d8d399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MinkowskiMetric/rvkern [INFO] finished tweaking git repo https://github.com/MinkowskiMetric/rvkern [INFO] tweaked toml for git repo https://github.com/MinkowskiMetric/rvkern written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MinkowskiMetric/rvkern 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" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking MinkowskiMetric/rvkern against try#eb3956d47f58f1c7c0a5694b1d3401945bc41dce for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinkowskiMetric%2Frvkern" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MinkowskiMetric/rvkern on toolchain eb3956d47f58f1c7c0a5694b1d3401945bc41dce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MinkowskiMetric/rvkern [INFO] finished tweaking git repo https://github.com/MinkowskiMetric/rvkern [INFO] tweaked toml for git repo https://github.com/MinkowskiMetric/rvkern written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MinkowskiMetric/rvkern 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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "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 MinkowskiMetric/rvkern against try#eb3956d47f58f1c7c0a5694b1d3401945bc41dce for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinkowskiMetric%2Frvkern" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MinkowskiMetric/rvkern on toolchain eb3956d47f58f1c7c0a5694b1d3401945bc41dce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MinkowskiMetric/rvkern [INFO] finished tweaking git repo https://github.com/MinkowskiMetric/rvkern [INFO] tweaked toml for git repo https://github.com/MinkowskiMetric/rvkern written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MinkowskiMetric/rvkern 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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "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 riscv v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5633ab9679b519704a85c55b9917cfd3273c61655aa0405a14285371210af26 [INFO] running `Command { std: "docker" "start" "-a" "a5633ab9679b519704a85c55b9917cfd3273c61655aa0405a14285371210af26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5633ab9679b519704a85c55b9917cfd3273c61655aa0405a14285371210af26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5633ab9679b519704a85c55b9917cfd3273c61655aa0405a14285371210af26", kill_on_drop: false }` [INFO] [stdout] a5633ab9679b519704a85c55b9917cfd3273c61655aa0405a14285371210af26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13637aae1ed3eee8b5192f3ee6519185795b26d32b78565477b91e9abe0f4593 [INFO] running `Command { std: "docker" "start" "-a" "13637aae1ed3eee8b5192f3ee6519185795b26d32b78565477b91e9abe0f4593", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling rvkern v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/cpu.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | global_asm! {include_str!("trap.S")} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/cpu.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | asm! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/kernel_vm/kernel_stack.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | asm! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/panic.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | asm!("wfi", options(nomem)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | global_asm! {include_str!("entry.S")} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 23 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Mode` in `satp` [INFO] [stdout] --> src/kernel_vm/mod.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | satp::set(satp::Mode::Sv32, 0, pt_pfi.pfi() as usize); [INFO] [stdout] | ^^^^ could not find `Mode` in `satp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_fs` in module `riscv::register::sstatus` [INFO] [stdout] --> src/cpu.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | riscv::register::sstatus::set_fs(riscv::register::sstatus::FS::Off); [INFO] [stdout] | ^^^^^^ not found in `riscv::register::sstatus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/riscv-0.6.0/src/register/sstatus.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | pub unsafe fn set_fs(fs: FS) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use riscv::register::mstatus::set_fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `set_fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 155 - riscv::register::sstatus::set_fs(riscv::register::sstatus::FS::Off); [INFO] [stdout] 155 + set_fs(riscv::register::sstatus::FS::Off); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set` in module `satp` [INFO] [stdout] --> src/kernel_vm/mod.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | satp::set(satp::Mode::Sv32, 0, pt_pfi.pfi() as usize); [INFO] [stdout] | ^^^ not found in `satp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/riscv-0.6.0/src/register/satp.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | pub unsafe fn set(mode: Mode, asid: usize, ppn: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/riscv-0.6.0/src/register/satp.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub unsafe fn set(mode: Mode, asid: usize, ppn: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::MaybeUninit` [INFO] [stdout] --> src/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PageFrameIndex` [INFO] [stdout] --> src/kernel_vm/mod.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{allocate_page, PageFrameIndex, PhysicalAddress, RamPhysicalAddress}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/kernel_vm/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/kernel_vm/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/kernel_vm/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawPageTableEntry` [INFO] [stdout] --> src/kernel_vm/hyperspace.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | RawPageTableEntry, VirtualAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::kernel_vm` [INFO] [stdout] --> src/kernel_vm/kernel_stack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::kernel_vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/kernel_vm/virtual_address.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/cpu.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | global_asm! {include_str!("trap.S")} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/cpu.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | asm! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/kernel_vm/kernel_stack.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | asm! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_transmute` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn_transmute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/panic.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | asm!("wfi", options(nomem)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(asm, global_asm)] [INFO] [stdout] | ^^^ [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:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(asm, global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(maybe_uninit_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | global_asm! {include_str!("entry.S")} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 23 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn panic(info: &PanicInfo) -> ! { [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/eb3956d47f58f1c7c0a5694b1d3401945bc41dce/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ac8c01c554941eda.rlib [INFO] [stdout] = note: second definition in the local crate (`rvkern`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Mode` in `satp` [INFO] [stdout] --> src/kernel_vm/mod.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | satp::set(satp::Mode::Sv32, 0, pt_pfi.pfi() as usize); [INFO] [stdout] | ^^^^ could not find `Mode` in `satp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_fs` in module `riscv::register::sstatus` [INFO] [stdout] --> src/cpu.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | riscv::register::sstatus::set_fs(riscv::register::sstatus::FS::Off); [INFO] [stdout] | ^^^^^^ not found in `riscv::register::sstatus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/riscv-0.6.0/src/register/sstatus.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | pub unsafe fn set_fs(fs: FS) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use riscv::register::mstatus::set_fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `set_fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 155 - riscv::register::sstatus::set_fs(riscv::register::sstatus::FS::Off); [INFO] [stdout] 155 + set_fs(riscv::register::sstatus::FS::Off); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set` in module `satp` [INFO] [stdout] --> src/kernel_vm/mod.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | satp::set(satp::Mode::Sv32, 0, pt_pfi.pfi() as usize); [INFO] [stdout] | ^^^ not found in `satp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/riscv-0.6.0/src/register/satp.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | pub unsafe fn set(mode: Mode, asid: usize, ppn: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/riscv-0.6.0/src/register/satp.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub unsafe fn set(mode: Mode, asid: usize, ppn: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::MaybeUninit` [INFO] [stdout] --> src/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PageFrameIndex` [INFO] [stdout] --> src/kernel_vm/mod.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{allocate_page, PageFrameIndex, PhysicalAddress, RamPhysicalAddress}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/kernel_vm/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/kernel_vm/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/kernel_vm/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawPageTableEntry` [INFO] [stdout] --> src/kernel_vm/hyperspace.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | RawPageTableEntry, VirtualAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::kernel_vm` [INFO] [stdout] --> src/kernel_vm/kernel_stack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::kernel_vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/kernel_vm/virtual_address.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rvkern` (bin "rvkern" test) due to 10 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the feature `const_fn_transmute` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn_transmute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(asm, global_asm)] [INFO] [stdout] | ^^^ [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:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(asm, global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(maybe_uninit_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rvkern` (bin "rvkern") due to 10 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13637aae1ed3eee8b5192f3ee6519185795b26d32b78565477b91e9abe0f4593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13637aae1ed3eee8b5192f3ee6519185795b26d32b78565477b91e9abe0f4593", kill_on_drop: false }` [INFO] [stdout] 13637aae1ed3eee8b5192f3ee6519185795b26d32b78565477b91e9abe0f4593