[INFO] fetching crate failure_derive_without_backtrace 0.1.2... [INFO] checking failure_derive_without_backtrace-0.1.2 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate failure_derive_without_backtrace 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate failure_derive_without_backtrace 0.1.2 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 crates.io crate failure_derive_without_backtrace 0.1.2 [INFO] finished tweaking crates.io crate failure_derive_without_backtrace 0.1.2 [INFO] tweaked toml for crates.io crate failure_derive_without_backtrace 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.84) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.36) [INFO] [stderr] Adding syn v0.14.9 (latest: v2.0.66) [INFO] [stderr] Adding synstructure v0.9.0 (latest: v0.13.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [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] Downloading crates ... [INFO] [stderr] Downloaded synstructure v0.9.0 [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] 38714c9f9b3d7e46352d04e1832683257a8904acbbfae5cf362c1d6d655ce2a7 [INFO] running `Command { std: "docker" "start" "-a" "38714c9f9b3d7e46352d04e1832683257a8904acbbfae5cf362c1d6d655ce2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38714c9f9b3d7e46352d04e1832683257a8904acbbfae5cf362c1d6d655ce2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38714c9f9b3d7e46352d04e1832683257a8904acbbfae5cf362c1d6d655ce2a7", kill_on_drop: false }` [INFO] [stdout] 38714c9f9b3d7e46352d04e1832683257a8904acbbfae5cf362c1d6d655ce2a7 [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] a38255704b1854bf9172c11e46dc5a5bf6cef5d75a573431e9c8214a0368facc [INFO] running `Command { std: "docker" "start" "-a" "a38255704b1854bf9172c11e46dc5a5bf6cef5d75a573431e9c8214a0368facc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling failure_derive_without_backtrace v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking syn v0.14.9 [INFO] [stderr] Checking synstructure v0.9.0 [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/wraps.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/custom_type_bounds.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure_derive` [INFO] [stdout] --> tests/wraps.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate failure_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/backtrace.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure_derive` [INFO] [stdout] --> tests/backtrace.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate failure_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/tests.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure_derive` [INFO] [stdout] --> tests/tests.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate failure_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/no_derive_display.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure_derive` [INFO] [stdout] --> tests/no_derive_display.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate failure_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/custom_type_bounds.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[fail(display = "An error has occurred.")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[fail(display = "An error has occurred: {}", inner)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/custom_type_bounds.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[fail(display = "An error has occurred: {}", _0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[fail(cause)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/custom_type_bounds.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[fail(display = "An error has occurred: {:?}", _0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[fail(display = "An error has occurred: {}", _0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Fail` in this scope [INFO] [stdout] --> tests/tests.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | struct WrapTupleError(#[fail(cause)] io::Error); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/tests.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[fail(display = "An error has occurred.")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/backtrace.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[fail(display = "Error code: {}", code)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[fail(display = "An error has occurred: {}", inner)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Fail` in this scope [INFO] [stdout] --> tests/tests.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/backtrace.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[fail(display = "An error has occurred.")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[fail(cause)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/tests.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[fail(display = "Error code: {}", code)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/backtrace.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[fail(display = "Error code: {}", code)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[fail(display = "An error has occurred: {}", _0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Fail` in this scope [INFO] [stdout] --> tests/tests.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/backtrace.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[fail(display = "Error: {}", _0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | Io(#[fail(cause)] io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[fail(display = "An error has occurred: {}", inner)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/backtrace.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[fail(display = "An error has occurred.")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/tests.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[fail(display = "Error code: {}", _0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/wraps.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[fail(cause)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Fail` in this scope [INFO] [stdout] --> tests/tests.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/tests.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[fail(display = "Error code: {}", code)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/tests.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[fail(display = "Error: {}", _0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/tests.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[fail(display = "An error has occurred.")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cause` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/no_derive_display.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 9 | struct Foo; [INFO] [stdout] | ---------- method `cause` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | assert!(Foo.cause().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cause`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cause` found for struct `WrapError` in the current scope [INFO] [stdout] --> tests/wraps.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 12 | struct WrapError { [INFO] [stdout] | ---------------- method `cause` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | err.cause() [INFO] [stdout] | ^^^^^ method not found in `WrapError` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cause`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BacktraceError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/backtrace.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let s = format!("{}", err); [INFO] [stdout] | ^^^ `BacktraceError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `BacktraceError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `UnitError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tests.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let s = format!("{}", UnitError); [INFO] [stdout] | ^^^^^^^^^ `UnitError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `UnitError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `RecordError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tests.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let s = format!("{}", RecordError { code: 0 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `RecordError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `RecordError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TupleError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tests.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let s = format!("{}", TupleError(2)); [INFO] [stdout] | ^^^^^^^^^^^^^ `TupleError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `TupleError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cause` found for struct `WrapTupleError` in the current scope [INFO] [stdout] --> tests/wraps.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 30 | struct WrapTupleError(#[fail(cause)] io::Error); [INFO] [stdout] | --------------------- method `cause` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | err.cause() [INFO] [stdout] | ^^^^^ method not found in `WrapTupleError` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cause`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `EnumError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tests.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let s = format!("{}", EnumError::StructVariant { code: 2 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `EnumError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `EnumError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `EnumError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tests.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let s = format!("{}", EnumError::TupleVariant("foobar")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `EnumError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `EnumError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `failure_derive_without_backtrace` (test "custom_type_bounds") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `EnumError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tests.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let s = format!("{}", EnumError::UnitVariant); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `EnumError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `EnumError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cause` found for struct `WrapBacktraceError` in the current scope [INFO] [stdout] --> tests/wraps.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 45 | struct WrapBacktraceError { [INFO] [stdout] | ------------------------- method `cause` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | err.cause() [INFO] [stdout] | ^^^^^ method not found in `WrapBacktraceError` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cause`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `failure_derive_without_backtrace` (test "no_derive_display") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `backtrace` found for struct `BacktraceError` in the current scope [INFO] [stdout] --> tests/backtrace.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 9 | struct BacktraceError { [INFO] [stdout] | --------------------- method `backtrace` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | assert!(err.backtrace().is_some()); [INFO] [stdout] | ^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BacktraceTupleError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/backtrace.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let s = format!("{}", err); [INFO] [stdout] | ^^^ `BacktraceTupleError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `BacktraceTupleError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backtrace` found for struct `WrapBacktraceError` in the current scope [INFO] [stdout] --> tests/wraps.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 45 | struct WrapBacktraceError { [INFO] [stdout] | ------------------------- method `backtrace` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | assert!(err.backtrace().is_some()); [INFO] [stdout] | ^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backtrace` found for struct `BacktraceTupleError` in the current scope [INFO] [stdout] --> tests/backtrace.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 27 | struct BacktraceTupleError(Backtrace); [INFO] [stdout] | -------------------------- method `backtrace` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 34 | assert!(err.backtrace().is_some()); [INFO] [stdout] | ^^^^^^^^^ method not found in `BacktraceTupleError` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `failure_derive_without_backtrace` (test "tests") due to 19 previous errors [INFO] [stdout] error[E0277]: `BacktraceEnumError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/backtrace.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let s = format!("{}", err); [INFO] [stdout] | ^^^ `BacktraceEnumError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `BacktraceEnumError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cause` found for enum `WrapEnumError` in the current scope [INFO] [stdout] --> tests/wraps.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 67 | enum WrapEnumError { [INFO] [stdout] | ------------------ method `cause` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 83 | err.cause() [INFO] [stdout] | ^^^^^ method not found in `WrapEnumError` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cause`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backtrace` found for enum `BacktraceEnumError` in the current scope [INFO] [stdout] --> tests/backtrace.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 38 | enum BacktraceEnumError { [INFO] [stdout] | ----------------------- method `backtrace` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 55 | assert!(err.backtrace().is_some()); [INFO] [stdout] | ^^^^^^^^^ method not found in `BacktraceEnumError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BacktraceEnumError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/backtrace.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let s = format!("{}", err); [INFO] [stdout] | ^^^ `BacktraceEnumError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `BacktraceEnumError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backtrace` found for enum `WrapEnumError` in the current scope [INFO] [stdout] --> tests/wraps.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 67 | enum WrapEnumError { [INFO] [stdout] | ------------------ method `backtrace` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 87 | assert!(err.backtrace().is_none()); [INFO] [stdout] | ^^^^^^^^^ method not found in `WrapEnumError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backtrace` found for enum `BacktraceEnumError` in the current scope [INFO] [stdout] --> tests/backtrace.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 38 | enum BacktraceEnumError { [INFO] [stdout] | ----------------------- method `backtrace` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 59 | assert!(err.backtrace().is_some()); [INFO] [stdout] | ^^^^^^^^^ method not found in `BacktraceEnumError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `BacktraceEnumError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/backtrace.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let s = format!("{}", err); [INFO] [stdout] | ^^^ `BacktraceEnumError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `BacktraceEnumError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cause` found for enum `WrapEnumError` in the current scope [INFO] [stdout] --> tests/wraps.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 67 | enum WrapEnumError { [INFO] [stdout] | ------------------ method `cause` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 94 | err.cause() [INFO] [stdout] | ^^^^^ method not found in `WrapEnumError` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cause`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backtrace` found for enum `BacktraceEnumError` in the current scope [INFO] [stdout] --> tests/backtrace.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 38 | enum BacktraceEnumError { [INFO] [stdout] | ----------------------- method `backtrace` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 63 | assert!(err.backtrace().is_none()); [INFO] [stdout] | ^^^^^^^^^ method not found in `BacktraceEnumError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backtrace` found for enum `WrapEnumError` in the current scope [INFO] [stdout] --> tests/wraps.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 67 | enum WrapEnumError { [INFO] [stdout] | ------------------ method `backtrace` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 98 | assert!(err.backtrace().is_some()); [INFO] [stdout] | ^^^^^^^^^ method not found in `WrapEnumError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `failure_derive_without_backtrace` (test "backtrace") due to 18 previous errors [INFO] [stderr] error: could not compile `failure_derive_without_backtrace` (test "wraps") due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "a38255704b1854bf9172c11e46dc5a5bf6cef5d75a573431e9c8214a0368facc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38255704b1854bf9172c11e46dc5a5bf6cef5d75a573431e9c8214a0368facc", kill_on_drop: false }` [INFO] [stdout] a38255704b1854bf9172c11e46dc5a5bf6cef5d75a573431e9c8214a0368facc [INFO] checking failure_derive_without_backtrace-0.1.2 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate failure_derive_without_backtrace 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate failure_derive_without_backtrace 0.1.2 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] started tweaking crates.io crate failure_derive_without_backtrace 0.1.2 [INFO] finished tweaking crates.io crate failure_derive_without_backtrace 0.1.2 [INFO] tweaked toml for crates.io crate failure_derive_without_backtrace 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.84) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.36) [INFO] [stderr] Adding syn v0.14.9 (latest: v2.0.66) [INFO] [stderr] Adding synstructure v0.9.0 (latest: v0.13.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dc635d31fda45cd4a6aa50d3fee300d9ce57c4840df7e4f3eb44b863ab0e817 [INFO] running `Command { std: "docker" "start" "-a" "1dc635d31fda45cd4a6aa50d3fee300d9ce57c4840df7e4f3eb44b863ab0e817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dc635d31fda45cd4a6aa50d3fee300d9ce57c4840df7e4f3eb44b863ab0e817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc635d31fda45cd4a6aa50d3fee300d9ce57c4840df7e4f3eb44b863ab0e817", kill_on_drop: false }` [INFO] [stdout] 1dc635d31fda45cd4a6aa50d3fee300d9ce57c4840df7e4f3eb44b863ab0e817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06fc82cabb8f86d98dc7e1f95fc6a6c6748dc84863ffbfcc00115f5c8ac51c55 [INFO] running `Command { std: "docker" "start" "-a" "06fc82cabb8f86d98dc7e1f95fc6a6c6748dc84863ffbfcc00115f5c8ac51c55", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "06fc82cabb8f86d98dc7e1f95fc6a6c6748dc84863ffbfcc00115f5c8ac51c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06fc82cabb8f86d98dc7e1f95fc6a6c6748dc84863ffbfcc00115f5c8ac51c55", kill_on_drop: false }` [INFO] [stdout] 06fc82cabb8f86d98dc7e1f95fc6a6c6748dc84863ffbfcc00115f5c8ac51c55