[INFO] cloning repository https://github.com/sigmaSd/trycatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sigmaSd/trycatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsigmaSd%2Ftrycatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsigmaSd%2Ftrycatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53f81af1d3448ddfa364a4fbe18df5971b222508 [INFO] checking sigmaSd/trycatch against master#ac385a5af6d9fa8399a0cec799833cd28324abf8 for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsigmaSd%2Ftrycatch" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sigmaSd/trycatch on toolchain ac385a5af6d9fa8399a0cec799833cd28324abf8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sigmaSd/trycatch [INFO] finished tweaking git repo https://github.com/sigmaSd/trycatch [INFO] tweaked toml for git repo https://github.com/sigmaSd/trycatch written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sigmaSd/trycatch 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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd1f46cdb0c18fc759a141d7ca8febba8b94d8963edc7a14f92038375b681db2 [INFO] running `Command { std: "docker" "start" "-a" "bd1f46cdb0c18fc759a141d7ca8febba8b94d8963edc7a14f92038375b681db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd1f46cdb0c18fc759a141d7ca8febba8b94d8963edc7a14f92038375b681db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1f46cdb0c18fc759a141d7ca8febba8b94d8963edc7a14f92038375b681db2", kill_on_drop: false }` [INFO] [stdout] bd1f46cdb0c18fc759a141d7ca8febba8b94d8963edc7a14f92038375b681db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d78244a7695b3842a7e7fdce059813ef37e7b0f9fbe0215559a4297ba9c4ef5 [INFO] running `Command { std: "docker" "start" "-a" "7d78244a7695b3842a7e7fdce059813ef37e7b0f9fbe0215559a4297ba9c4ef5", kill_on_drop: false }` [INFO] [stderr] Compiling trycatch-derive v0.1.0 (/opt/rustwide/workdir/trycatch-derive) [INFO] [stderr] Checking trycatch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `MyE` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | #[derive(Exception)] [INFO] [stdout] | ^^^^^^^^^ `MyE` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `MyE` [INFO] [stdout] = note: add `#[derive(Debug)]` to `MyE` or manually `impl Debug for MyE` [INFO] [stdout] note: required by a bound in `Exception` [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Exception: 'static + Send + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Exception` [INFO] [stdout] = note: this error originates in the derive macro `Exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `MyE` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 146 + #[derive(Debug)] [INFO] [stdout] 147 | struct MyE {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(Exception)] [INFO] [stdout] | ^^^^^^^^^ `E` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `E` [INFO] [stdout] = note: add `#[derive(Debug)]` to `E` or manually `impl Debug for E` [INFO] [stdout] note: required by a bound in `Exception` [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Exception: 'static + Send + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Exception` [INFO] [stdout] = note: this error originates in the derive macro `Exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `E` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 177 + #[derive(Debug)] [INFO] [stdout] 178 | struct E; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test::multi_exception::A` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | #[derive(Exception)] [INFO] [stdout] | ^^^^^^^^^ `test::multi_exception::A` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `test::multi_exception::A` [INFO] [stdout] = note: add `#[derive(Debug)]` to `test::multi_exception::A` or manually `impl Debug for test::multi_exception::A` [INFO] [stdout] note: required by a bound in `Exception` [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Exception: 'static + Send + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Exception` [INFO] [stdout] = note: this error originates in the derive macro `Exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `test::multi_exception::A` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 189 + #[derive(Debug)] [INFO] [stdout] 190 | struct A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test::multi_exception::B` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Exception)] [INFO] [stdout] | ^^^^^^^^^ `test::multi_exception::B` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `test::multi_exception::B` [INFO] [stdout] = note: add `#[derive(Debug)]` to `test::multi_exception::B` or manually `impl Debug for test::multi_exception::B` [INFO] [stdout] note: required by a bound in `Exception` [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Exception: 'static + Send + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Exception` [INFO] [stdout] = note: this error originates in the derive macro `Exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `test::multi_exception::B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 191 + #[derive(Debug)] [INFO] [stdout] 192 | struct B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test::simpler::A` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Exception)] [INFO] [stdout] | ^^^^^^^^^ `test::simpler::A` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `test::simpler::A` [INFO] [stdout] = note: add `#[derive(Debug)]` to `test::simpler::A` or manually `impl Debug for test::simpler::A` [INFO] [stdout] note: required by a bound in `Exception` [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Exception: 'static + Send + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Exception` [INFO] [stdout] = note: this error originates in the derive macro `Exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `test::simpler::A` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 213 + #[derive(Debug)] [INFO] [stdout] 214 | struct A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test::complex::A` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | #[derive(Exception)] [INFO] [stdout] | ^^^^^^^^^ `test::complex::A` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `test::complex::A` [INFO] [stdout] = note: add `#[derive(Debug)]` to `test::complex::A` or manually `impl Debug for test::complex::A` [INFO] [stdout] note: required by a bound in `Exception` [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Exception: 'static + Send + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Exception` [INFO] [stdout] = note: this error originates in the derive macro `Exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test::complex::B` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Exception)] [INFO] [stdout] | ^^^^^^^^^ `test::complex::B` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `test::complex::B` [INFO] [stdout] = note: add `#[derive(Debug)]` to `test::complex::B` or manually `impl Debug for test::complex::B` [INFO] [stdout] note: required by a bound in `Exception` [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Exception: 'static + Send + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Exception` [INFO] [stdout] = note: this error originates in the derive macro `Exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `test::complex::B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 223 + #[derive(Debug)] [INFO] [stdout] 224 | struct B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 194 | throw(B); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 195 | throw(A); [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trycatch` (lib test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7d78244a7695b3842a7e7fdce059813ef37e7b0f9fbe0215559a4297ba9c4ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d78244a7695b3842a7e7fdce059813ef37e7b0f9fbe0215559a4297ba9c4ef5", kill_on_drop: false }` [INFO] [stdout] 7d78244a7695b3842a7e7fdce059813ef37e7b0f9fbe0215559a4297ba9c4ef5