[INFO] cloning repository https://github.com/relativehysteria/os_skelet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/relativehysteria/os_skelet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frelativehysteria%2Fos_skelet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frelativehysteria%2Fos_skelet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f391197beee4f073201aaa53a7dbacd9deae026a [INFO] checking relativehysteria/os_skelet against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frelativehysteria%2Fos_skelet" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/relativehysteria/os_skelet [INFO] finished tweaking git repo https://github.com/relativehysteria/os_skelet [INFO] tweaked toml for git repo https://github.com/relativehysteria/os_skelet written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/relativehysteria/os_skelet on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/relativehysteria/os_skelet 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "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] 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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d699b3edffe29037177c74609d8937eff47fa4869940c93a5cc9dc60588ba4c4 [INFO] running `Command { std: "docker" "start" "-a" "d699b3edffe29037177c74609d8937eff47fa4869940c93a5cc9dc60588ba4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d699b3edffe29037177c74609d8937eff47fa4869940c93a5cc9dc60588ba4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d699b3edffe29037177c74609d8937eff47fa4869940c93a5cc9dc60588ba4c4", kill_on_drop: false }` [INFO] [stdout] d699b3edffe29037177c74609d8937eff47fa4869940c93a5cc9dc60588ba4c4 [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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eeb5faddbc8aa078716372f83d2d4c8c944c1075e698b894c631c2e2dac4b8c [INFO] running `Command { std: "docker" "start" "-a" "2eeb5faddbc8aa078716372f83d2d4c8c944c1075e698b894c631c2e2dac4b8c", kill_on_drop: false }` [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 6 | | // Print the location info [INFO] [stdout] 7 | | if let Some(loc) = info.location() { [INFO] [stdout] 8 | | print_shatter!("!!! PANIC !!! {} {}:{} ----", [INFO] [stdout] ... | [INFO] [stdout] 16 | | unsafe { cpu::halt() }; [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/29194e8f603400afdb2f86c9418e9fccb1628ea0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6e76fd4000f66c66.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spinlock.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lock(&self) -> SpinLockGuard { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lock(&self) -> SpinLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2eeb5faddbc8aa078716372f83d2d4c8c944c1075e698b894c631c2e2dac4b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eeb5faddbc8aa078716372f83d2d4c8c944c1075e698b894c631c2e2dac4b8c", kill_on_drop: false }` [INFO] [stdout] 2eeb5faddbc8aa078716372f83d2d4c8c944c1075e698b894c631c2e2dac4b8c