[INFO] fetching crate thiserror-core 1.0.50...
[INFO] testing thiserror-core-1.0.50 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate thiserror-core 1.0.50 into /workspace/builds/worker-4-tc1/source
[INFO] removed /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate thiserror-core 1.0.50 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 34 packages to highest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-core-impl v1.0.50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be
[INFO] running `Command { std: "docker" "start" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling thiserror-core v1.0.50 (/opt/rustwide/workdir)
[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: `docsrs`, `feature`, and `test` and 34 more
[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 `release` profile [optimized] target(s) in 1.21s
[INFO] running `Command { std: "docker" "inspect" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling target-tuple v1.0.2
[INFO] [stderr]    Compiling toml_parser v1.1.5+spec-1.1.0
[INFO] [stderr]    Compiling toml_datetime v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.1.2
[INFO] [stderr]    Compiling toml_writer v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling dissimilar v1.0.11
[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: `docsrs`, `feature`, and `test` and 34 more
[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 toml v1.1.8+spec-1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling ref-cast-impl v1.0.27
[INFO] [stderr]    Compiling ref-cast v1.0.27
[INFO] [stderr]    Compiling trybuild v1.0.122
[INFO] [stderr]    Compiling thiserror-core v1.0.50 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
[INFO] [stdout]  --> tests/test_option.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(thiserror_nightly_testing, feature(error_generic_member_access))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 34 more
[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(thiserror_nightly_testing)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` 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: `thiserror_nightly_testing`
[INFO] [stdout]  --> tests/test_option.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(thiserror_nightly_testing)]
[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(thiserror_nightly_testing)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` 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: `thiserror_nightly_testing`
[INFO] [stdout]   --> tests/test_option.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[cfg(thiserror_nightly_testing)]
[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(thiserror_nightly_testing)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` 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: `thiserror_nightly_testing`
[INFO] [stdout]    --> tests/test_option.rs:104:16
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[cfg_attr(not(thiserror_nightly_testing), ignore)]
[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(thiserror_nightly_testing)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` 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_source.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_lints.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_from.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[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]    = note: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_lints.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[error("...")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_from.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[error("...")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]   |
[INFO] [stdout] 8 + #[derive(Error)]
[INFO] [stdout] 9 | pub struct ErrorStruct {
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]   |
[INFO] [stdout] 6 + #[derive(Error)]
[INFO] [stdout] 7 | pub enum Error {
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]   |
[INFO] [stdout] 7 + #[derive(Error)]
[INFO] [stdout] 8 | pub struct ImplicitSource {
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Error)]
[INFO] [stdout] 14 | pub struct ExplicitSource {
[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]    = note: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[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]    = note: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]  --> tests/test_from.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[from]
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[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] help: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 42 + #[derive(Error)]
[INFO] [stdout] 43 | enum EnumError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 15 + #[derive(Error)]
[INFO] [stdout] 16 | pub struct ErrorStructOptional {
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(Error)]
[INFO] [stdout] 22 | pub struct BoxedSource {
[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] help: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 42 + #[derive(Error)]
[INFO] [stdout] 43 | enum EnumError {
[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_deprecated") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_lints") due to 2 previous errors
[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]    = note: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Error)]
[INFO] [stdout] 14 | pub enum CompilerError {
[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]    = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Error)]
[INFO] [stdout] 14 | pub enum CompilerError {
[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]    = note: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[from]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Error)]
[INFO] [stdout] 14 | pub enum CompilerError {
[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_from.rs:21:3
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 22 + #[derive(Error)]
[INFO] [stdout] 23 | pub struct ErrorTuple(#[from] io::Error);
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Error)]
[INFO] [stdout] 14 | pub enum CompilerError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_error") due to 5 previous errors
[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] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 43 + #[derive(Error)]
[INFO] [stdout] 44 | pub enum RustupError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ErrorTuple(#[from] io::Error);
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 26 + #[derive(Error)]
[INFO] [stdout] 27 | pub struct ErrorTupleOptional(#[from] Option<io::Error>);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ErrorTupleOptional(#[from] Option<io::Error>);
[INFO] [stdout]    |                                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[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] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 30 + #[derive(Error)]
[INFO] [stdout] 31 | pub enum ErrorEnum {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 |         #[from]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 30 + #[derive(Error)]
[INFO] [stdout] 31 | pub enum ErrorEnum {
[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]    | |_________^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]   --> tests/test_expr.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum CompilerError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[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]    |     ------                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[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]   --> tests/test_expr.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum CompilerError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[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_from.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 39 + #[derive(Error)]
[INFO] [stdout] 40 | pub enum ErrorEnumOptional {
[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]    | |_________^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]   --> tests/test_expr.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum CompilerError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[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]    | |_________^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `RustupError`
[INFO] [stdout]   --> tests/test_expr.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum RustupError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[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 `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |         #[from]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 39 + #[derive(Error)]
[INFO] [stdout] 40 | pub enum ErrorEnumOptional {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:47:3
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 48 + #[derive(Error)]
[INFO] [stdout] 49 | pub enum Many {
[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 `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Any(#[from] anyhow::Error),
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 48 + #[derive(Error)]
[INFO] [stdout] 49 | pub enum Many {
[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 `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Io(#[from] io::Error),
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 48 + #[derive(Error)]
[INFO] [stdout] 49 | pub enum Many {
[INFO] [stdout]    |
[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[E0277]: the trait bound `ErrorStruct: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     assert_impl::<ErrorStruct>();
[INFO] [stdout]    |                   ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<std::io::Error>` is not implemented for `ErrorStruct`
[INFO] [stdout]   --> tests/test_from.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ErrorStruct {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorStructOptional: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |     assert_impl::<ErrorStructOptional>();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<std::io::Error>` is not implemented for `ErrorStructOptional`
[INFO] [stdout]   --> tests/test_from.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ErrorStructOptional {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorTuple: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |     assert_impl::<ErrorTuple>();
[INFO] [stdout]    |                   ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<std::io::Error>` is not implemented for `ErrorTuple`
[INFO] [stdout]   --> tests/test_from.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ErrorTuple(#[from] io::Error);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorTupleOptional: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     assert_impl::<ErrorTupleOptional>();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<std::io::Error>` is not implemented for `ErrorTupleOptional`
[INFO] [stdout]   --> tests/test_from.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ErrorTupleOptional(#[from] Option<io::Error>);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorEnum: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |     assert_impl::<ErrorEnum>();
[INFO] [stdout]    |                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<std::io::Error>` is not implemented for `ErrorEnum`
[INFO] [stdout]   --> tests/test_from.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum ErrorEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorEnumOptional: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |     assert_impl::<ErrorEnumOptional>();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<std::io::Error>` is not implemented for `ErrorEnumOptional`
[INFO] [stdout]   --> tests/test_from.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub enum ErrorEnumOptional {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Many: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |     assert_impl::<Many>();
[INFO] [stdout]    |                   ^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<std::io::Error>` is not implemented for `Many`
[INFO] [stdout]   --> tests/test_from.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub enum Many {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[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] [stderr] error: could not compile `thiserror-core` (test "test_from") due to 23 previous errors
[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] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` (test "test_source") due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be", kill_on_drop: false }`
[INFO] [stdout] 572291fc3b7afe0d316eb24fdde5b3e30259c7e35da30ae1b5a85b311ecaa1be
