[INFO] fetching crate thiserror-core 1.0.50...
[INFO] testing thiserror-core-1.0.50 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate thiserror-core 1.0.50 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate thiserror-core 1.0.50 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate thiserror-core 1.0.50
[INFO] finished tweaking crates.io crate thiserror-core 1.0.50
[INFO] tweaked toml for crates.io crate thiserror-core 1.0.50 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 39 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0404232ff59de58064d9eb733503bf3ec9d86c5cf9ba41486401a8cb5c884b04
[INFO] running `Command { std: "docker" "start" "-a" "0404232ff59de58064d9eb733503bf3ec9d86c5cf9ba41486401a8cb5c884b04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0404232ff59de58064d9eb733503bf3ec9d86c5cf9ba41486401a8cb5c884b04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0404232ff59de58064d9eb733503bf3ec9d86c5cf9ba41486401a8cb5c884b04", kill_on_drop: false }`
[INFO] [stdout] 0404232ff59de58064d9eb733503bf3ec9d86c5cf9ba41486401a8cb5c884b04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3045e9c945ebc5b37c7800eece47970f9e59b3b6c6ee8da51e8d613a5de580f7
[INFO] running `Command { std: "docker" "start" "-a" "3045e9c945ebc5b37c7800eece47970f9e59b3b6c6ee8da51e8d613a5de580f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling thiserror-core v1.0.50 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling thiserror-core-impl v1.0.50
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 | #![cfg_attr(error_generic_member_access, feature(error_generic_member_access))]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:244:7
[INFO] [stdout]     |
[INFO] [stdout] 244 | #[cfg(error_generic_member_access)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:256:11
[INFO] [stdout]     |
[INFO] [stdout] 256 |     #[cfg(error_generic_member_access)]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.61s
[INFO] running `Command { std: "docker" "inspect" "3045e9c945ebc5b37c7800eece47970f9e59b3b6c6ee8da51e8d613a5de580f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3045e9c945ebc5b37c7800eece47970f9e59b3b6c6ee8da51e8d613a5de580f7", kill_on_drop: false }`
[INFO] [stdout] 3045e9c945ebc5b37c7800eece47970f9e59b3b6c6ee8da51e8d613a5de580f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5a4877bd2d01b4260d6722de635061025f02d924d841c78d46c470517ad5476
[INFO] running `Command { std: "docker" "start" "-a" "a5a4877bd2d01b4260d6722de635061025f02d924d841c78d46c470517ad5476", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling target-triple v0.1.3
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling dissimilar v1.0.9
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 | #![cfg_attr(error_generic_member_access, feature(error_generic_member_access))]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:244:7
[INFO] [stdout]     |
[INFO] [stdout] 244 | #[cfg(error_generic_member_access)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:256:11
[INFO] [stdout]     |
[INFO] [stdout] 256 |     #[cfg(error_generic_member_access)]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling trybuild v1.0.101
[INFO] [stderr]    Compiling thiserror-core v1.0.50 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_generics.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_deprecated.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_source.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_error.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 | #![cfg_attr(error_generic_member_access, feature(error_generic_member_access))]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:244:7
[INFO] [stdout]     |
[INFO] [stdout] 244 | #[cfg(error_generic_member_access)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access`
[INFO] [stdout]    --> src/lib.rs:256:11
[INFO] [stdout]     |
[INFO] [stdout] 256 |     #[cfg(error_generic_member_access)]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error_generic_member_access)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_transparent.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_expr.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_display.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_generics.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[error("{0:?}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_generics.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |     #[error("enum from generic")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_generics.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Source(#[from] EnumDebugGeneric<E>),
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[source]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_source.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[error("implicit source")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_generics.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 |     #[error("{0} {1:?}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[error("cannot shift {} by {maximum} or more bits (got {current})", if *.is_left { "left" } else { "right" })]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 |     #[source]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_generics.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[error("{0}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_transparent.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[error(transparent)]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_source.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[error("explicit source")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[error("#error {}", (.0).iter().copied().collect::<Vec<_>>().join(" "))]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_generics.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 |     #[error("{1:?}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |         #[source]
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[error("overflow while parsing {}integer literal",
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_source.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[source]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_source.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[error("boxed source")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |         #[error("E0")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[error("overflow while parsing {}integer literal", match .is_signed {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Tuple(#[source] io::Error),
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[error("E1")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |         E1(#[from] io::Error),
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_source.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[source]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 |     #[error(
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_source.rs:63:7
[INFO] [stdout]    |
[INFO] [stdout] 63 |     #[error("Something")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |         #[error("this failed")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_source.rs:64:15
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Variant(#[from] io::Error)
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[error("braced error: {msg}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_generics.rs:115:7
[INFO] [stdout]     |
[INFO] [stdout] 115 |     #[error(transparent)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_generics.rs:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 | #[error("{underlying:?}")]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 |         #[error(transparent)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]    --> tests/test_generics.rs:144:7
[INFO] [stdout]     |
[INFO] [stdout] 144 |     #[from]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_deprecated.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[error("...")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[error("braced error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 |     #[error(transparent)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |     #[error("tuple error: {0}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct Any(#[from] anyhow::Error);
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:45:7
[INFO] [stdout]    |
[INFO] [stdout] 45 |     #[error("unit error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_generics.rs:160:3
[INFO] [stdout]     |
[INFO] [stdout] 160 | #[error(transparent)]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[error(transparent)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 |         #[error("braced error: {id}")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |         #[error("tuple error: {0}")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |         #[error("unexpected token: {:?}", token)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:59:11
[INFO] [stdout]    |
[INFO] [stdout] 59 |         #[error("unit error")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 71 |     #[error("{MSG}: {id:?} (code {CODE:?})")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 |     #[error("{0}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |       assert(
[INFO] [stdout]    |       ------ required by a bound introduced by this call
[INFO] [stdout] 64 |           "cannot shift left by 32 or more bits (got 50)",
[INFO] [stdout] 65 | /         CompilerError::TooManyShiftBits {
[INFO] [stdout] 66 | |             is_left: true,
[INFO] [stdout] 67 | |             maximum: 32,
[INFO] [stdout] 68 | |             current: 50,
[INFO] [stdout] 69 | |         },
[INFO] [stdout]    | |_________^ `CompilerError` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:72:28
[INFO] [stdout]    |
[INFO] [stdout] 72 |     assert("#error A B C", CompilerError::User(vec!["A", "B", "C"]));
[INFO] [stdout]    |     ------                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `CompilerError` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:88:11
[INFO] [stdout]    |
[INFO] [stdout] 88 |         #[error("other error")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |       assert(
[INFO] [stdout]    |       ------ required by a bound introduced by this call
[INFO] [stdout] 75 |           "overflow while parsing signed integer literal",
[INFO] [stdout] 76 | /         CompilerError::IntegerOverflow {
[INFO] [stdout] 77 | |             is_signed: Some(true),
[INFO] [stdout] 78 | |         },
[INFO] [stdout]    | |_________^ `CompilerError` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `RustupError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |       assert(
[INFO] [stdout]    |       ------ required by a bound introduced by this call
[INFO] [stdout] 85 |           "toolchain 'nightly' does not contain component clipy; did you mean 'clippy'?",
[INFO] [stdout] 86 | /         RustupError::UnknownComponent {
[INFO] [stdout] 87 | |             name: "nightly".to_owned(),
[INFO] [stdout] 88 | |             component: "clipy".to_owned(),
[INFO] [stdout] 89 | |             suggestion: Some("clippy".to_owned()),
[INFO] [stdout] 90 | |         },
[INFO] [stdout]    | |_________^ `RustupError` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `RustupError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:99:7
[INFO] [stdout]    |
[INFO] [stdout] 99 |     #[error("fn main() {{}}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:108:7
[INFO] [stdout]     |
[INFO] [stdout] 108 |     #[error("1 + 1 = {}", 1 + 1)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_error") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:116:7
[INFO] [stdout]     |
[INFO] [stdout] 116 |     #[error("!bool = {}", not(.0))]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:130:7
[INFO] [stdout]     |
[INFO] [stdout] 130 |     #[error("{}: {0}", match .1 {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `EnumCompound<DisplayOnly, DebugOnly, NoFormat>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_generics.rs:93:30
[INFO] [stdout]    |
[INFO] [stdout] 93 |     assert_eq!(format!("{}", instance), "display only DebugOnly");
[INFO] [stdout]    |                              ^^^^^^^^ `EnumCompound<DisplayOnly, DebugOnly, NoFormat>` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `EnumCompound<DisplayOnly, DebugOnly, NoFormat>`
[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: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:150:7
[INFO] [stdout]     |
[INFO] [stdout] 150 |     #[error("{}", {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:179:7
[INFO] [stdout]     |
[INFO] [stdout] 179 |     #[error("...")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:188:7
[INFO] [stdout]     |
[INFO] [stdout] 188 |     #[error("a={a} :: b={} :: c={c} :: d={d}", 1, c = 2, d = 3)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `ImplicitSource` in the current scope
[INFO] [stdout]   --> tests/test_source.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct ImplicitSource {
[INFO] [stdout]    | ------------------------- method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           ^^^^^^ field, not a method
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] help: remove the arguments
[INFO] [stdout]    |
[INFO] [stdout] 30 -     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout] 30 +     error.source.unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 30 |     error.source.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_deprecated") due to 2 previous errors
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:201:11
[INFO] [stdout]     |
[INFO] [stdout] 201 |         #[error("error {0}")]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `EnumCompound<DisplayOnly, DebugOnly, NoFormat>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_generics.rs:96:30
[INFO] [stdout]    |
[INFO] [stdout] 96 |     assert_eq!(format!("{}", instance), "display only");
[INFO] [stdout]    |                              ^^^^^^^^ `EnumCompound<DisplayOnly, DebugOnly, NoFormat>` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `EnumCompound<DisplayOnly, DebugOnly, NoFormat>`
[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: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:203:11
[INFO] [stdout]     |
[INFO] [stdout] 203 |         #[error("error {0}", '?')]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:214:7
[INFO] [stdout]     |
[INFO] [stdout] 214 |     #[error(
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_expr") due to 10 previous errors
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:231:7
[INFO] [stdout]     |
[INFO] [stdout] 231 |     #[error("{}", .0.data)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `EnumCompound<DisplayOnly, DebugOnly, NoFormat>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_generics.rs:99:30
[INFO] [stdout]    |
[INFO] [stdout] 99 |     assert_eq!(format!("{}", instance), "DebugOnly");
[INFO] [stdout]    |                              ^^^^^^^^ `EnumCompound<DisplayOnly, DebugOnly, NoFormat>` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `EnumCompound<DisplayOnly, DebugOnly, NoFormat>`
[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: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:245:19
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 #[error("{0:?}")]
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     decl_error!(Repro(u8));
[INFO] [stdout]     |     ---------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `decl_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `ExplicitSource` in the current scope
[INFO] [stdout]   --> tests/test_source.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ExplicitSource {
[INFO] [stdout]    | ------------------------- method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           ^^^^^^ field, not a method
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] help: remove the arguments
[INFO] [stdout]    |
[INFO] [stdout] 40 -     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout] 40 +     error.source.unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 40 |     error.io.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:250:15
[INFO] [stdout]     |
[INFO] [stdout] 250 |             #[error("{0:?}")]
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     decl_error!(Repro(u8));
[INFO] [stdout]     |     ---------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `decl_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:266:7
[INFO] [stdout]     |
[INFO] [stdout] 266 |     #[error("braced raw error: {r#fn}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:278:11
[INFO] [stdout]     |
[INFO] [stdout] 278 |         #[error("braced raw error: {r#fn}")]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:289:11
[INFO] [stdout]     |
[INFO] [stdout] 289 |         #[error("braced raw error: {r#func}, {func}", func = "U")]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:299:7
[INFO] [stdout]     |
[INFO] [stdout] 299 |     #[error("error: {type}", type = 1)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_transparent_struct::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------ method `to_string` not found for this struct because it doesn't satisfy `test_transparent_struct::Error: ToString` or `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     assert_eq!("E0", error.to_string());
[INFO] [stdout]    |                            ^^^^^^^^^ `test_transparent_struct::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_struct::Error: ToString`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:728:1
[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 `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `BoxedSource` in the current scope
[INFO] [stdout]   --> tests/test_source.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct BoxedSource {
[INFO] [stdout]    | ---------------------- method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 47 |     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           ^^^^^^ field, not a method
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] help: remove the arguments
[INFO] [stdout]    |
[INFO] [stdout] 47 -     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout] 47 +     error.source.unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 47 |     error.source.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> tests/test_display.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{self, Display};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `test_transparent_struct::Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------ method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     assert!(error.source().is_none());
[INFO] [stdout]    |                   ^^^^^^ method not found in `Error`
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_generics") due to 14 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_transparent.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let error = Error(ErrorKind::from(io));
[INFO] [stdout]    |                       --------------- ^^ expected `ErrorKind`, found `Error`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] help: try wrapping the expression in `test_transparent_struct::ErrorKind::E1`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let error = Error(ErrorKind::from(test_transparent_struct::ErrorKind::E1(io)));
[INFO] [stdout]    |                                       +++++++++++++++++++++++++++++++++++++++  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_source") due to 11 previous errors
[INFO] [stdout] error[E0599]: `test_transparent_struct::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------ method `to_string` not found for this struct because it doesn't satisfy `test_transparent_struct::Error: ToString` or `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     assert_eq!("E1", error.to_string());
[INFO] [stdout]    |                            ^^^^^^^^^ `test_transparent_struct::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_struct::Error: ToString`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:728:1
[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 `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `test_transparent_struct::Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------ method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           ^^^^^^ method not found in `Error`
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_transparent_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:41:37
[INFO] [stdout]    |
[INFO] [stdout] 33 |     enum Error {
[INFO] [stdout]    |     ---------- method `to_string` not found for this enum because it doesn't satisfy `test_transparent_enum::Error: ToString` or `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 41 |     assert_eq!("this failed", error.to_string());
[INFO] [stdout]    |                                     ^^^^^^^^^ `test_transparent_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_enum::Error: ToString`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:728:1
[INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error`
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/string.rs:2666:5
[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 `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_transparent_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |     enum Error {
[INFO] [stdout]    |     ---------- method `to_string` not found for this enum because it doesn't satisfy `test_transparent_enum::Error: ToString` or `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     assert_eq!("outer", error.to_string());
[INFO] [stdout]    |                               ^^^^^^^^^ `test_transparent_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_enum::Error: ToString`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:728:1
[INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error`
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/string.rs:2666:5
[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 `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_braced::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert("braced error: T", Error { msg });
[INFO] [stdout]    |     ------                    ^^^^^^^^^^^^^ `test_braced::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_braced::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_braced_unused::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |     assert("braced error", Error { extra: 0 });
[INFO] [stdout]    |     ------                 ^^^^^^^^^^^^^^^^^^ `test_braced_unused::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_braced_unused::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_tuple::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |     assert("tuple error: 0", Error(0));
[INFO] [stdout]    |     ------                   ^^^^^^^^ `test_tuple::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_tuple::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for enum `test_transparent_enum::Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |     enum Error {
[INFO] [stdout]    |     ---------- method `source` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 |     assert_eq!("inner", error.source().unwrap().to_string());
[INFO] [stdout]    |                               ^^^^^^ method not found in `Error`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `source` exists on the type `anyhow::Error`
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/error.rs:81:5
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_unit::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     assert("unit error", Error);
[INFO] [stdout]    |     ------               ^^^^^ `test_unit::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_unit::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:63:31
[INFO] [stdout]    |
[INFO] [stdout] 63 |     assert("braced error: 0", Error::Braced { id: 0 });
[INFO] [stdout]    |     ------                    ^^^^^^^^^^^^^^^^^^^^^^^ `test_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_enum::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_transparent.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let error = Any::from(anyhow!("inner").context("outer"));
[INFO] [stdout]    |                 --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Any`, found `Error`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] help: try wrapping the expression in `test_anyhow::Any`
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let error = Any::from(test_anyhow::Any(anyhow!("inner").context("outer")));
[INFO] [stdout]    |                           +++++++++++++++++                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:64:30
[INFO] [stdout]    |
[INFO] [stdout] 64 |     assert("tuple error: 0", Error::Tuple(0));
[INFO] [stdout]    |     ------                   ^^^^^^^^^^^^^^^ `test_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_enum::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 65 |     assert("unit error", Error::Unit);
[INFO] [stdout]    |     ------               ^^^^^^^^^^^ `test_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_enum::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_constants::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     assert("failed to do: \"\" (code 9)", Error { id: "" });
[INFO] [stdout]    |     ------                                ^^^^^^^^^^^^^^^^ `test_constants::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_constants::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_inherit::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:92:26
[INFO] [stdout]    |
[INFO] [stdout] 92 |     assert("some error", Error::Some("some error"));
[INFO] [stdout]    |     ------               ^^^^^^^^^^^^^^^^^^^^^^^^^ `test_inherit::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_inherit::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_inherit::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |     assert("other error", Error::Other("..."));
[INFO] [stdout]    |     ------                ^^^^^^^^^^^^^^^^^^^ `test_inherit::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_inherit::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_anyhow::Any` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct Any(#[from] anyhow::Error);
[INFO] [stdout]    |     ---------- method `to_string` not found for this struct because it doesn't satisfy `test_anyhow::Any: ToString` or `test_anyhow::Any: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 55 |     assert_eq!("outer", error.to_string());
[INFO] [stdout]    |                               ^^^^^^^^^ `test_anyhow::Any` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_anyhow::Any: std::fmt::Display`
[INFO] [stdout]            which is required by `test_anyhow::Any: ToString`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:728:1
[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 `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_brace_escape::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:102:28
[INFO] [stdout]     |
[INFO] [stdout] 102 |     assert("fn main() {}", Error);
[INFO] [stdout]     |     ------                 ^^^^^ `test_brace_escape::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_brace_escape::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_expr::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:110:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |     assert("1 + 1 = 2", Error);
[INFO] [stdout]     |     ------              ^^^^^ `test_expr::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_expr::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_nested::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |     assert("!bool = false", Error(true));
[INFO] [stdout]     |     ------                  ^^^^^^^^^^^ `test_nested::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_nested::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_match::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 137 |         "error occurred with 1: ...",
[INFO] [stdout] 138 |         Error("...".to_owned(), Some(1)),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_match::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_match::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_match::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 141 |         "there was an empty error: ...",
[INFO] [stdout] 142 |         Error("...".to_owned(), None),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_match::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_match::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_nested_display::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 166 |         "error occurred with 1: ...",
[INFO] [stdout] 167 |         Error("...".to_owned(), Some(1)),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_nested_display::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_nested_display::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_nested_display::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 170 |         "there was an empty error: ...",
[INFO] [stdout] 171 |         Error("...".to_owned(), None),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_nested_display::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_nested_display::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_mixed::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:194:40
[INFO] [stdout]     |
[INFO] [stdout] 194 |     assert("a=0 :: b=1 :: c=2 :: d=3", Error { a: 0, d: 0 });
[INFO] [stdout]     |     ------                             ^^^^^^^^^^^^^^^^^^^^ `test_mixed::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_mixed::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_ints::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:207:23
[INFO] [stdout]     |
[INFO] [stdout] 207 |     assert("error 9", Error::Tuple(9, 0));
[INFO] [stdout]     |     ------            ^^^^^^^^^^^^^^^^^^ `test_ints::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_ints::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `test_anyhow::Any` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct Any(#[from] anyhow::Error);
[INFO] [stdout]    |     ---------- method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     assert_eq!("inner", error.source().unwrap().to_string());
[INFO] [stdout]    |                               ^^^^^^ method not found in `Any`
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 56 |     assert_eq!("inner", error.0.source().unwrap().to_string());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_ints::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:208:23
[INFO] [stdout]     |
[INFO] [stdout] 208 |     assert("error ?", Error::Struct { v: 0 });
[INFO] [stdout]     |     ------            ^^^^^^^^^^^^^^^^^^^^^^ `test_ints::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_ints::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_trailing_comma::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:220:23
[INFO] [stdout]     |
[INFO] [stdout] 220 |     assert("error ?", Error('?'));
[INFO] [stdout]     |     ------            ^^^^^^^^^^ `test_trailing_comma::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_trailing_comma::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_field::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:234:17
[INFO] [stdout]     |
[INFO] [stdout] 234 |     assert("0", Error(Inner { data: 0 }));
[INFO] [stdout]     |     ------      ^^^^^^^^^^^^^^^^^^^^^^^^ `test_field::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_field::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Error0` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:259:17
[INFO] [stdout]     |
[INFO] [stdout] 259 |     assert("0", Error0::Repro(0));
[INFO] [stdout]     |     ------      ^^^^^^^^^^^^^^^^ `Error0` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `Error0`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_string` exists for struct `Error<'_>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/test_transparent.rs:76:53
[INFO] [stdout]    |
[INFO] [stdout] 63 |     struct Error<'a> {
[INFO] [stdout]    |     ---------------- method `to_string` not found for this struct because it doesn't satisfy `test_non_static::Error<'_>: ToString` or `test_non_static::Error<'_>: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 76 |     assert_eq!("unexpected token: \"error\"", error.to_string());
[INFO] [stdout]    |                                                     ^^^^^^^^^ method cannot be called on `Error<'_>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_non_static::Error<'_>: std::fmt::Display`
[INFO] [stdout]            which is required by `test_non_static::Error<'_>: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:728:1
[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 `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Error1` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:260:17
[INFO] [stdout]     |
[INFO] [stdout] 260 |     assert("0", Error1::Repro(0));
[INFO] [stdout]     |     ------      ^^^^^^^^^^^^^^^^ `Error1` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `Error1`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_raw::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:271:35
[INFO] [stdout]     |
[INFO] [stdout] 271 |     assert("braced raw error: T", Error { r#fn: "T" });
[INFO] [stdout]     |     ------                        ^^^^^^^^^^^^^^^^^^^ `test_raw::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_raw::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_raw_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:282:35
[INFO] [stdout]     |
[INFO] [stdout] 282 |     assert("braced raw error: T", Error::Braced { r#fn: "T" });
[INFO] [stdout]     |     ------                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_raw_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_raw_enum::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_raw_conflict::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:293:38
[INFO] [stdout]     |
[INFO] [stdout] 293 |     assert("braced raw error: T, U", Error::Braced { r#func: "T" });
[INFO] [stdout]     |     ------                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_raw_conflict::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_raw_conflict::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_keyword::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:302:24
[INFO] [stdout]     |
[INFO] [stdout] 302 |     assert("error: 1", Error);
[INFO] [stdout]     |     ------             ^^^^^ `test_keyword::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_keyword::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout] 6   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `test_non_static::Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |     struct Error<'a> {
[INFO] [stdout]    |     ---------------- method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 77 |     assert!(error.source().is_none());
[INFO] [stdout]    |                   ^^^^^^ method not found in `Error<'_>`
[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 `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_transparent") due to 24 previous errors
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_display") due to 56 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a5a4877bd2d01b4260d6722de635061025f02d924d841c78d46c470517ad5476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5a4877bd2d01b4260d6722de635061025f02d924d841c78d46c470517ad5476", kill_on_drop: false }`
[INFO] [stdout] a5a4877bd2d01b4260d6722de635061025f02d924d841c78d46c470517ad5476
