[INFO] cloning repository https://github.com/panpansuannai/os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panpansuannai/os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanpansuannai%2Fos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanpansuannai%2Fos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31391aaf137e05949293f459f076176b135ea82a [INFO] checking panpansuannai/os against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanpansuannai%2Fos" "/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/panpansuannai/os on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/panpansuannai/os [INFO] finished tweaking git repo https://github.com/panpansuannai/os [INFO] tweaked toml for git repo https://github.com/panpansuannai/os written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/panpansuannai/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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rcore-os/riscv` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zero v0.1.2 [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded xmas-elf v0.8.0 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded buddy_system_allocator v0.6.0 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded regex v1.5.4 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1471cabe1dba97974709ebc765b094ff03a91dbb5eff1917b4860b8b0295d2cc [INFO] running `Command { std: "docker" "start" "-a" "1471cabe1dba97974709ebc765b094ff03a91dbb5eff1917b4860b8b0295d2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1471cabe1dba97974709ebc765b094ff03a91dbb5eff1917b4860b8b0295d2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1471cabe1dba97974709ebc765b094ff03a91dbb5eff1917b4860b8b0295d2cc", kill_on_drop: false }` [INFO] [stdout] 1471cabe1dba97974709ebc765b094ff03a91dbb5eff1917b4860b8b0295d2cc [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f658bf4c7d82191349d4737613f4502b1dbf43d2e85e05cf8daf4666c247148 [INFO] running `Command { std: "docker" "start" "-a" "4f658bf4c7d82191349d4737613f4502b1dbf43d2e85e05cf8daf4666c247148", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking zero v0.1.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking spin v0.7.1 [INFO] [stderr] Checking xmas-elf v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking buddy_system_allocator v0.6.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 (https://github.com/rcore-os/riscv#11d43cf7) [INFO] [stderr] Checking os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(const_raw_ptr_to_usize_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(const_raw_ptr_to_usize_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/batch.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { asm!("fence.i") } [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/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | asm!("mv sp, {0}", [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/batch.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { asm!("fence.i") } [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/process/cpu.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | asm!("mv {}, tp", out(reg) ret); [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/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | asm!("mv sp, {0}", [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/mm/pgtbl.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | asm!("sfence.vma"); [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/process/cpu.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | asm!("mv {}, tp", out(reg) ret); [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/user/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | global_asm!(include_str!("apps.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/mm/pgtbl.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | asm!("sfence.vma"); [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/user/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | global_asm!(include_str!("apps.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 `global_asm` in this scope [INFO] [stdout] --> src/entry.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | global_asm!( [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 `global_asm` in this scope [INFO] [stdout] --> src/entry.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | global_asm!( [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/entry.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | asm!("la sp, boot_stack", [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/entry.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | asm!("la sp, boot_stack", [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/trap/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | global_asm!(include_str!("traps.s")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/trap/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | global_asm!(include_str!("traps.s")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/sbi.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | asm!("ecall", inout("x10") args[0] => ret, [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/sbi.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | asm!("ecall", inout("x10") args[0] => ret, [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[E0433]: failed to resolve: could not find `Mode` in `satp` [INFO] [stdout] --> src/mm/pgtbl.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | satp::set(satp::Mode::Sv39, 0, self.root.0); [INFO] [stdout] | ^^^^ could not find `Mode` in `satp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Mode` in `satp` [INFO] [stdout] --> src/mm/pgtbl.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | satp::set(satp::Mode::Sv39, 0, self.root.0); [INFO] [stdout] | ^^^^ could not find `Mode` in `satp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set` in module `satp` [INFO] [stdout] --> src/mm/pgtbl.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | satp::set(satp::Mode::Sv39, 0, self.root.0); [INFO] [stdout] | ^^^ not found in `satp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | 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/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe fn set(mode: Mode, asid: usize, ppn: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set` in module `satp` [INFO] [stdout] --> src/mm/pgtbl.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | satp::set(satp::Mode::Sv39, 0, self.root.0); [INFO] [stdout] | ^^^ not found in `satp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | 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/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/satp.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe fn set(mode: Mode, asid: usize, ppn: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [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/lang_items.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / fn panic(info : &PanicInfo) -> ! { [INFO] [stdout] 9 | | if let Some(location) = info.location() { [INFO] [stdout] 10 | | println!("Panicked at {}:{} {}", location.file(), [INFO] [stdout] 11 | | location.line(), info.message().unwrap()); [INFO] [stdout] ... | [INFO] [stdout] 16 | | loop {} [INFO] [stdout] 17 | | } [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/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6701759d8343e913.rlib [INFO] [stdout] = note: second definition in the local crate (`os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `os` (bin "os" test) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0015]: cannot call non-const fn `::default` in statics [INFO] [stdout] --> src/mm/mod.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | pub static mut KERNEL_PAGE_TABLE : Pgtbl = Pgtbl::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::default` in statics [INFO] [stdout] --> src/mm/mod.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | pub static mut KERNEL_MEMORY_SPACE: MemorySpace = MemorySpace::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0425, E0433, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `os` (bin "os") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "4f658bf4c7d82191349d4737613f4502b1dbf43d2e85e05cf8daf4666c247148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f658bf4c7d82191349d4737613f4502b1dbf43d2e85e05cf8daf4666c247148", kill_on_drop: false }` [INFO] [stdout] 4f658bf4c7d82191349d4737613f4502b1dbf43d2e85e05cf8daf4666c247148 [INFO] checking panpansuannai/os against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanpansuannai%2Fos" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panpansuannai/os on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/panpansuannai/os [INFO] finished tweaking git repo https://github.com/panpansuannai/os [INFO] tweaked toml for git repo https://github.com/panpansuannai/os written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/panpansuannai/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c3a5edcb19f244495af1d9825a9e03698d72f2f29c670218da6a24645efb9df [INFO] running `Command { std: "docker" "start" "-a" "3c3a5edcb19f244495af1d9825a9e03698d72f2f29c670218da6a24645efb9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c3a5edcb19f244495af1d9825a9e03698d72f2f29c670218da6a24645efb9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c3a5edcb19f244495af1d9825a9e03698d72f2f29c670218da6a24645efb9df", kill_on_drop: false }` [INFO] [stdout] 3c3a5edcb19f244495af1d9825a9e03698d72f2f29c670218da6a24645efb9df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beff3fb9aa42fbd1dae0d8a52a53d1a386dc023c8496e78578d258d827a7d0b2 [INFO] running `Command { std: "docker" "start" "-a" "beff3fb9aa42fbd1dae0d8a52a53d1a386dc023c8496e78578d258d827a7d0b2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "beff3fb9aa42fbd1dae0d8a52a53d1a386dc023c8496e78578d258d827a7d0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beff3fb9aa42fbd1dae0d8a52a53d1a386dc023c8496e78578d258d827a7d0b2", kill_on_drop: false }` [INFO] [stdout] beff3fb9aa42fbd1dae0d8a52a53d1a386dc023c8496e78578d258d827a7d0b2