[INFO] cloning repository https://github.com/dpaoliello/catch_unwind_in_no_std [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpaoliello/catch_unwind_in_no_std" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpaoliello%2Fcatch_unwind_in_no_std", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpaoliello%2Fcatch_unwind_in_no_std'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc56b0ba1eff4ebe3934e2ff9cc9d18dd1e6f4bb [INFO] checking dpaoliello/catch_unwind_in_no_std against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpaoliello%2Fcatch_unwind_in_no_std" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dpaoliello/catch_unwind_in_no_std 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] started tweaking git repo https://github.com/dpaoliello/catch_unwind_in_no_std [INFO] finished tweaking git repo https://github.com/dpaoliello/catch_unwind_in_no_std [INFO] tweaked toml for git repo https://github.com/dpaoliello/catch_unwind_in_no_std written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dpaoliello/catch_unwind_in_no_std 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98757e279718628608510f51ef5974f180c8d08e4706df2d03459222e627e2a0 [INFO] running `Command { std: "docker" "start" "-a" "98757e279718628608510f51ef5974f180c8d08e4706df2d03459222e627e2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98757e279718628608510f51ef5974f180c8d08e4706df2d03459222e627e2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98757e279718628608510f51ef5974f180c8d08e4706df2d03459222e627e2a0", kill_on_drop: false }` [INFO] [stdout] 98757e279718628608510f51ef5974f180c8d08e4706df2d03459222e627e2a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f82970869c0a2ef32bc72a4da2f97faa810b013edd826259552dd2c560ab043 [INFO] running `Command { std: "docker" "start" "-a" "2f82970869c0a2ef32bc72a4da2f97faa810b013edd826259552dd2c560ab043", kill_on_drop: false }` [INFO] [stderr] Checking catch_unwind_in_no_std v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `core::panic::BoxMeUp` [INFO] [stdout] --> src/panic.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use core::panic::{BoxMeUp, UnwindSafe}; [INFO] [stdout] | ^^^^^^^ no `BoxMeUp` in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::panic::BoxMeUp` [INFO] [stdout] --> src/panic.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use core::panic::{BoxMeUp, UnwindSafe}; [INFO] [stdout] | ^^^^^^^ no `BoxMeUp` in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `r#try` in module `intrinsics` [INFO] [stdout] --> src/panic.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | return if intrinsics::r#try(do_call::, data_ptr, do_catch::) == 0 { [INFO] [stdout] | ^^^^^ not found in `intrinsics` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::panic::r#try; [INFO] [stdout] | [INFO] [stdout] help: if you import `r#try`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 158 - return if intrinsics::r#try(do_call::, data_ptr, do_catch::) == 0 { [INFO] [stdout] 158 + return if r#try(do_call::, data_ptr, do_catch::) == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `r#try` in module `intrinsics` [INFO] [stdout] --> src/panic.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | return if intrinsics::r#try(do_call::, data_ptr, do_catch::) == 0 { [INFO] [stdout] | ^^^^^ not found in `intrinsics` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::panic::r#try; [INFO] [stdout] | [INFO] [stdout] help: if you import `r#try`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 158 - return if intrinsics::r#try(do_call::, data_ptr, do_catch::) == 0 { [INFO] [stdout] 158 + return if r#try(do_call::, data_ptr, do_catch::) == 0 { [INFO] [stdout] | [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: 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:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 21 | | struct StrPanicPayload(&'static str); [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | unsafe impl BoxMeUp for StrPanicPayload { [INFO] [stdout] ... | [INFO] [stdout] 35 | | rust_panic(&mut StrPanicPayload(msg)); [INFO] [stdout] 36 | | } [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 (`catch_unwind_in_no_std`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `catch_unwind_in_no_std` (bin "catch_unwind_in_no_std" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `catch_unwind_in_no_std` (bin "catch_unwind_in_no_std") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "2f82970869c0a2ef32bc72a4da2f97faa810b013edd826259552dd2c560ab043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f82970869c0a2ef32bc72a4da2f97faa810b013edd826259552dd2c560ab043", kill_on_drop: false }` [INFO] [stdout] 2f82970869c0a2ef32bc72a4da2f97faa810b013edd826259552dd2c560ab043