[INFO] cloning repository https://github.com/probabilityzero/emxkernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/probabilityzero/emxkernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprobabilityzero%2Femxkernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprobabilityzero%2Femxkernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4f46b3be215cbcc3bcd9725baf6a3df950cb8b4 [INFO] checking probabilityzero/emxkernel against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprobabilityzero%2Femxkernel" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/probabilityzero/emxkernel [INFO] finished tweaking git repo https://github.com/probabilityzero/emxkernel [INFO] tweaked toml for git repo https://github.com/probabilityzero/emxkernel written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/probabilityzero/emxkernel on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/probabilityzero/emxkernel 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bootloader v0.9.30 [INFO] [stderr] Downloaded x86_64 v0.14.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 019f787be23a80fefbeef228bb9b1e8f7b2a8a160d6caab37c392d9151602573 [INFO] running `Command { std: "docker" "start" "-a" "019f787be23a80fefbeef228bb9b1e8f7b2a8a160d6caab37c392d9151602573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "019f787be23a80fefbeef228bb9b1e8f7b2a8a160d6caab37c392d9151602573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019f787be23a80fefbeef228bb9b1e8f7b2a8a160d6caab37c392d9151602573", kill_on_drop: false }` [INFO] [stdout] 019f787be23a80fefbeef228bb9b1e8f7b2a8a160d6caab37c392d9151602573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d78a78d0885c6ff029e4cb4429be345f8b4a494b7ed415be7ab5f6a1f8c996a8 [INFO] running `Command { std: "docker" "start" "-a" "d78a78d0885c6ff029e4cb4429be345f8b4a494b7ed415be7ab5f6a1f8c996a8", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bootloader v0.9.30 [INFO] [stderr] Checking volatile v0.4.6 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking x86_64 v0.14.13 [INFO] [stderr] Checking EMX_Kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid signature for `extern "x86-interrupt"` function [INFO] [stdout] --> src/main.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | ) -> ! { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: functions with the "custom" ABI cannot have a return type [INFO] [stdout] help: remove the return type [INFO] [stdout] --> src/main.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | ) -> ! { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `instructions` in `x86_64` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use x86_64::instructions::port::Port; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `instructions` in `x86_64` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod instructions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/instructions/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "instructions")] [INFO] [stdout] | ------------------------ the item is gated behind the `instructions` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `instructions` in `x86_64` [INFO] [stdout] --> src/main.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | use x86_64::instructions::tables::load_tss; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `instructions` in `x86_64` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod instructions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/instructions/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "instructions")] [INFO] [stdout] | ------------------------ the item is gated behind the `instructions` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `instructions` in `x86_64` [INFO] [stdout] --> src/main.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | x86_64::instructions::hlt(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `instructions` in `x86_64` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod instructions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/instructions/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "instructions")] [INFO] [stdout] | ------------------------ the item is gated behind the `instructions` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Mutex` in `spin` [INFO] [stdout] --> src/main.rs:436:63 [INFO] [stdout] | [INFO] [stdout] 436 | static ref COMMAND_LINE: spin::Mutex = spin::Mutex::new(CommandLine::new()); [INFO] [stdout] | ^^^^^ could not find `Mutex` in `spin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.9.8/src/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "mutex")] [INFO] [stdout] | ----------------- the item is gated behind the `mutex` feature [INFO] [stdout] 127 | #[cfg_attr(docsrs, doc(cfg(feature = "mutex")))] [INFO] [stdout] 128 | pub type Mutex = crate::mutex::Mutex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Mutex` in `spin` [INFO] [stdout] --> src/main.rs:667:54 [INFO] [stdout] | [INFO] [stdout] 667 | static ref TASKS: spin::Mutex> = spin::Mutex::new(Vec::new()); [INFO] [stdout] | ^^^^^ could not find `Mutex` in `spin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.9.8/src/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "mutex")] [INFO] [stdout] | ----------------- the item is gated behind the `mutex` feature [INFO] [stdout] 127 | #[cfg_attr(docsrs, doc(cfg(feature = "mutex")))] [INFO] [stdout] 128 | pub type Mutex = crate::mutex::Mutex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Mutex` in `spin` [INFO] [stdout] --> src/main.rs:668:63 [INFO] [stdout] | [INFO] [stdout] 668 | static ref CURRENT_TASK_INDEX: spin::Mutex = spin::Mutex::new(0); [INFO] [stdout] | ^^^^^ could not find `Mutex` in `spin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.9.8/src/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "mutex")] [INFO] [stdout] | ----------------- the item is gated behind the `mutex` feature [INFO] [stdout] 127 | #[cfg_attr(docsrs, doc(cfg(feature = "mutex")))] [INFO] [stdout] 128 | pub type Mutex = crate::mutex::Mutex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `instructions` in `x86_64` [INFO] [stdout] --> src/main.rs:878:17 [INFO] [stdout] | [INFO] [stdout] 878 | x86_64::instructions::hlt(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `instructions` in `x86_64` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod instructions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.14.13/src/instructions/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "instructions")] [INFO] [stdout] | ------------------------ the item is gated behind the `instructions` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in crate `spin` [INFO] [stdout] --> src/main.rs:436:36 [INFO] [stdout] | [INFO] [stdout] 436 | static ref COMMAND_LINE: spin::Mutex = spin::Mutex::new(CommandLine::new()); [INFO] [stdout] | ^^^^^ not found in `spin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.9.8/src/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "mutex")] [INFO] [stdout] | ----------------- the item is gated behind the `mutex` feature [INFO] [stdout] 127 | #[cfg_attr(docsrs, doc(cfg(feature = "mutex")))] [INFO] [stdout] 128 | pub type Mutex = crate::mutex::Mutex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in crate `spin` [INFO] [stdout] --> src/main.rs:667:29 [INFO] [stdout] | [INFO] [stdout] 667 | static ref TASKS: spin::Mutex> = spin::Mutex::new(Vec::new()); [INFO] [stdout] | ^^^^^ not found in `spin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.9.8/src/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "mutex")] [INFO] [stdout] | ----------------- the item is gated behind the `mutex` feature [INFO] [stdout] 127 | #[cfg_attr(docsrs, doc(cfg(feature = "mutex")))] [INFO] [stdout] 128 | pub type Mutex = crate::mutex::Mutex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in crate `spin` [INFO] [stdout] --> src/main.rs:668:42 [INFO] [stdout] | [INFO] [stdout] 668 | static ref CURRENT_TASK_INDEX: spin::Mutex = spin::Mutex::new(0); [INFO] [stdout] | ^^^^^ not found in `spin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.9.8/src/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "mutex")] [INFO] [stdout] | ----------------- the item is gated behind the `mutex` feature [INFO] [stdout] 127 | #[cfg_attr(docsrs, doc(cfg(feature = "mutex")))] [INFO] [stdout] 128 | pub type Mutex = crate::mutex::Mutex; [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] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cr0Flags` and `Cr0` [INFO] [stdout] --> src/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | use x86_64::registers::control::{Cr3, Cr0, Cr0Flags}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 36 | | println!("{}", info); [INFO] [stdout] 37 | | loop {} [INFO] [stdout] 38 | | } [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.rlib [INFO] [stdout] = note: second definition in the local crate (`EMX_Kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `EMX_Kernel` (bin "EMX_Kernel" test) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d78a78d0885c6ff029e4cb4429be345f8b4a494b7ed415be7ab5f6a1f8c996a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78a78d0885c6ff029e4cb4429be345f8b4a494b7ed415be7ab5f6a1f8c996a8", kill_on_drop: false }` [INFO] [stdout] d78a78d0885c6ff029e4cb4429be345f8b4a494b7ed415be7ab5f6a1f8c996a8