[INFO] fetching crate miden-thiserror 1.0.59... [INFO] testing miden-thiserror-1.0.59 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate miden-thiserror 1.0.59 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate miden-thiserror 1.0.59 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate miden-thiserror 1.0.59 [INFO] tweaked toml for crates.io crate miden-thiserror 1.0.59 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate miden-thiserror 1.0.59 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d6e384b36053e5a8b513791228f43931b7c686eb898f5f255a5b68c21711da [INFO] running `Command { std: "docker" "start" "-a" "c4d6e384b36053e5a8b513791228f43931b7c686eb898f5f255a5b68c21711da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d6e384b36053e5a8b513791228f43931b7c686eb898f5f255a5b68c21711da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d6e384b36053e5a8b513791228f43931b7c686eb898f5f255a5b68c21711da", kill_on_drop: false }` [INFO] [stdout] c4d6e384b36053e5a8b513791228f43931b7c686eb898f5f255a5b68c21711da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4110f268e278173acde6ac8a16ca982f1b85aa9819be3d99742ae2744f597fc [INFO] running `Command { std: "docker" "start" "-a" "a4110f268e278173acde6ac8a16ca982f1b85aa9819be3d99742ae2744f597fc", kill_on_drop: false }` [INFO] [stderr] Compiling miden-thiserror v1.0.59 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling miden-thiserror-impl v1.0.59 [INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access` [INFO] [stdout] --> src/lib.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | #![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 31 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 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_in_core` [INFO] [stdout] --> src/lib.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | #![cfg_attr(error_in_core, feature(error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thiserror_nightly_testing` [INFO] [stdout] --> src/lib.rs:242:11 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg(all(thiserror_nightly_testing, not(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(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 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:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg(all(thiserror_nightly_testing, not(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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(all(not(feature = "std"), error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:310:32 [INFO] [stdout] | [INFO] [stdout] 310 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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:333:7 [INFO] [stdout] | [INFO] [stdout] 333 | #[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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/provide.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(all(not(feature = "std"), error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/provide.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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:345:11 [INFO] [stdout] | [INFO] [stdout] 345 | #[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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:348:36 [INFO] [stdout] | [INFO] [stdout] 348 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | #![cfg_attr(error_in_core, feature(error_in_core))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "a4110f268e278173acde6ac8a16ca982f1b85aa9819be3d99742ae2744f597fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4110f268e278173acde6ac8a16ca982f1b85aa9819be3d99742ae2744f597fc", kill_on_drop: false }` [INFO] [stdout] a4110f268e278173acde6ac8a16ca982f1b85aa9819be3d99742ae2744f597fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dec81526ab568343e4247d63ff301486c164964e4cb1136c2ac19dd0f27600d [INFO] running `Command { std: "docker" "start" "-a" "4dec81526ab568343e4247d63ff301486c164964e4cb1136c2ac19dd0f27600d", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling dissimilar v1.0.10 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access` [INFO] [stdout] --> src/lib.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | #![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 31 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 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_in_core` [INFO] [stdout] --> src/lib.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | #![cfg_attr(error_in_core, feature(error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thiserror_nightly_testing` [INFO] [stdout] --> src/lib.rs:242:11 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg(all(thiserror_nightly_testing, not(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(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 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:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg(all(thiserror_nightly_testing, not(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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(all(not(feature = "std"), error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:310:32 [INFO] [stdout] | [INFO] [stdout] 310 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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:333:7 [INFO] [stdout] | [INFO] [stdout] 333 | #[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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/provide.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(all(not(feature = "std"), error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/provide.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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:345:11 [INFO] [stdout] | [INFO] [stdout] 345 | #[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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:348:36 [INFO] [stdout] | [INFO] [stdout] 348 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | #![cfg_attr(error_in_core, feature(error_in_core))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling miden-thiserror v1.0.59 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_path.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[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_backtrace.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_display.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_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: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: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_path.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[error("failed to read '{file}'")] [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 | struct StructPathBuf { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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_source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror::StdError; [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 `error` in this scope [INFO] [stdout] --> tests/test_path.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[error("failed to read '{file}'")] [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 | struct StructPath { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_path.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[error("failed to read '{0}'")] [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] 27 + #[derive(Error)] [INFO] [stdout] 28 | enum EnumPathBuf { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_generic_member_access` [INFO] [stdout] --> src/lib.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | #![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 31 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 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_in_core` [INFO] [stdout] --> src/lib.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | #![cfg_attr(error_in_core, feature(error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thiserror_nightly_testing` [INFO] [stdout] --> src/lib.rs:242:11 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg(all(thiserror_nightly_testing, not(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(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 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:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg(all(thiserror_nightly_testing, not(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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(all(not(feature = "std"), error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:310:32 [INFO] [stdout] | [INFO] [stdout] 310 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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:333:7 [INFO] [stdout] | [INFO] [stdout] 333 | #[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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/provide.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(all(not(feature = "std"), error_in_core))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/provide.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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:345:11 [INFO] [stdout] | [INFO] [stdout] 345 | #[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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error_in_core` [INFO] [stdout] --> src/lib.rs:348:36 [INFO] [stdout] | [INFO] [stdout] 348 | #[cfg(not(any(feature = "std", error_in_core)))] [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_in_core)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error_in_core)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | #![cfg_attr(error_in_core, feature(error_in_core))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_backtrace.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] 7 + #[derive(Error)] [INFO] [stdout] 8 | pub struct Inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thiserror_nightly_testing` [INFO] [stdout] --> tests/test_backtrace.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 31 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 for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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] warning: unexpected `cfg` condition name: `thiserror_nightly_testing` [INFO] [stdout] --> tests/test_backtrace.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[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 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_backtrace.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[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 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_backtrace.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[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 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_backtrace.rs:273:16 [INFO] [stdout] | [INFO] [stdout] 273 | #[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 for more information about checking conditional configuration [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] = 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_display.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[error("braced 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 `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] 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] = 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:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] 9 + #[derive(Error)] [INFO] [stdout] 10 | pub enum CompilerError { [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] = 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: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 `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_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:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[error("#error {}", (.0).iter().copied().collect::>().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] 9 + #[derive(Error)] [INFO] [stdout] 10 | pub enum CompilerError { [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); [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] 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] 54 + #[derive(Error)] [INFO] [stdout] 55 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `StructPathBuf` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_path.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | assert("failed to read '/thiserror'", StructPathBuf { file }); [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 `StructPathBuf` [INFO] [stdout] --> tests/test_path.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct StructPathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_path.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | fn assert(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_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_display.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[error("tuple error: {0}")] [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] 54 + #[derive(Error)] [INFO] [stdout] 55 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_expr.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] 9 + #[derive(Error)] [INFO] [stdout] 10 | pub enum CompilerError { [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); [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: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 `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[E0277]: `EnumPathBuf` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_path.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | assert("failed to read '/thiserror'", EnumPathBuf::Read(file)); [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 `EnumPathBuf` [INFO] [stdout] --> tests/test_path.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | enum EnumPathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_path.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `StructPath` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_path.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | assert("failed to read '/thiserror'", StructPath::ref_cast(path)); [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 `StructPath` [INFO] [stdout] --> tests/test_path.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct StructPath { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&StructPath` to implement `std::fmt::Display` [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_path.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | fn assert(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_expr.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[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] 9 + #[derive(Error)] [INFO] [stdout] 10 | pub enum CompilerError { [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: 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] 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] 54 + #[derive(Error)] [INFO] [stdout] 55 | enum Error { [INFO] [stdout] | [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: 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 `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 `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] = 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] 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: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] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_expr.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[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 RustupError { [INFO] [stdout] | [INFO] [stdout] [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] [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_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 `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] 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_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 `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 `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] = 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_display.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[error("other 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] 86 + #[derive(Error)] [INFO] [stdout] 87 | enum Error { [INFO] [stdout] | [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] = 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_display.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[error("1 + 1 = {}", 1 + 1)] [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] [stderr] error: could not compile `miden-thiserror` (test "test_backtrace") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `miden-thiserror` (test "test_path") due to 7 previous errors [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:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[error("!bool = {}", not(.0))] [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_display.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[error("{}: {0}", match .1 { [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_display.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[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_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_display.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | #[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_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] = 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[E0277]: the trait bound `ErrorStruct: From` is not satisfied [INFO] [stdout] --> tests/test_from.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | assert_impl::(); [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` 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>() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl` [INFO] [stdout] [INFO] [stdout] [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] 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] 200 + #[derive(Error)] [INFO] [stdout] 201 | enum Error { [INFO] [stdout] | [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] 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] 200 + #[derive(Error)] [INFO] [stdout] 201 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ErrorStructOptional: From` is not satisfied [INFO] [stdout] --> tests/test_from.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | assert_impl::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` 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>() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miden-thiserror` (test "test_source") due to 9 previous errors [INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_expr.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 60 | "cannot shift left by 32 or more bits (got 50)", [INFO] [stdout] 61 | / CompilerError::TooManyShiftBits { [INFO] [stdout] 62 | | is_left: true, [INFO] [stdout] 63 | | maximum: 32, [INFO] [stdout] 64 | | current: 50, [INFO] [stdout] 65 | | }, [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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | fn assert(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:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | 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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | fn assert(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:9 [INFO] [stdout] | [INFO] [stdout] 70 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 71 | "overflow while parsing signed integer literal", [INFO] [stdout] 72 | / CompilerError::IntegerOverflow { [INFO] [stdout] 73 | | is_signed: Some(true), [INFO] [stdout] 74 | | }, [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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | fn assert(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:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | #[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_display.rs:231:7 [INFO] [stdout] | [INFO] [stdout] 231 | #[error("{}", .0.data)] [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_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: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [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[E0277]: the trait bound `ErrorTuple: From` is not satisfied [INFO] [stdout] --> tests/test_from.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | assert_impl::(); [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` 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>() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl` [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: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [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[E0277]: the trait bound `ErrorTupleOptional: From` is not satisfied [INFO] [stdout] --> tests/test_from.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | assert_impl::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `ErrorTupleOptional` [INFO] [stdout] --> tests/test_from.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ErrorTupleOptional(#[from] Option); [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>() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ErrorEnum: From` is not satisfied [INFO] [stdout] --> tests/test_from.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | assert_impl::(); [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` 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>() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ErrorEnumOptional: From` is not satisfied [INFO] [stdout] --> tests/test_from.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | assert_impl::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` 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>() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Many: From` is not satisfied [INFO] [stdout] --> tests/test_from.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | assert_impl::(); [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` 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>() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RustupError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_expr.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 81 | "toolchain 'nightly' does not contain component clipy; did you mean 'clippy'?", [INFO] [stdout] 82 | / RustupError::UnknownComponent { [INFO] [stdout] 83 | | name: "nightly".to_owned(), [INFO] [stdout] 84 | | component: "clipy".to_owned(), [INFO] [stdout] 85 | | suggestion: Some("clippy".to_owned()), [INFO] [stdout] 86 | | }, [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:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum RustupError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | fn assert(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:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | #[error("braced raw error: {r#fn}")] [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_display.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | #[error("braced raw error: {r#fn}")] [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] 277 + #[derive(Error)] [INFO] [stdout] 278 | enum 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:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | #[error("braced raw error: {r#func}, {func}", func = "U")] [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] 288 + #[derive(Error)] [INFO] [stdout] 289 | enum Error { [INFO] [stdout] | [INFO] [stdout] [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] = 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_display.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | #[error("brace left {{")] [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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum 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:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | #[error("brace left 2 \x7B\x7B")] [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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 313 | #[error("brace left 3 \u{7B}\u{7B}")] [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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:315:11 [INFO] [stdout] | [INFO] [stdout] 315 | #[error("brace 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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:317:11 [INFO] [stdout] | [INFO] [stdout] 317 | #[error("brace right 2 \x7D\x7D")] [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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:319:11 [INFO] [stdout] | [INFO] [stdout] 319 | #[error("brace right 3 \u{7D}\u{7D}")] [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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miden-thiserror` (test "test_expr") due to 10 previous errors [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:321:11 [INFO] [stdout] | [INFO] [stdout] 321 | #[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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:326:11 [INFO] [stdout] | [INFO] [stdout] 326 | #[error("escape24 \u{78}")] [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] 308 + #[derive(Error)] [INFO] [stdout] 309 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:344:11 [INFO] [stdout] | [INFO] [stdout] 344 | #[error(r#"raw brace left {{"#)] [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] 343 + #[derive(Error)] [INFO] [stdout] 344 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:346:11 [INFO] [stdout] | [INFO] [stdout] 346 | #[error(r#"raw brace left 2 \x7B"#)] [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] 343 + #[derive(Error)] [INFO] [stdout] 344 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:348:11 [INFO] [stdout] | [INFO] [stdout] 348 | #[error(r#"raw brace 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] 343 + #[derive(Error)] [INFO] [stdout] 344 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miden-thiserror` (test "test_from") due to 23 previous errors [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 350 | #[error(r#"raw brace right 2 \x7D"#)] [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] 343 + #[derive(Error)] [INFO] [stdout] 344 | pub enum Error { [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] | ------ ^^^^^^^^^^^^^ 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 `test_braced::Error` [INFO] [stdout] --> tests/test_display.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^ 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 `test_braced_unused::Error` [INFO] [stdout] --> tests/test_display.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^ 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 `test_tuple::Error` [INFO] [stdout] --> tests/test_display.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Error(usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [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] | ------ ^^^^^ 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 `test_unit::Error` [INFO] [stdout] --> tests/test_display.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ 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 `test_enum::Error` [INFO] [stdout] --> tests/test_display.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | assert("tuple error: 0", Error::Tuple(0)); [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 `test_enum::Error` [INFO] [stdout] --> tests/test_display.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^ 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 `test_enum::Error` [INFO] [stdout] --> tests/test_display.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^ 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 `test_constants::Error` [INFO] [stdout] --> tests/test_display.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^ 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 `test_inherit::Error` [INFO] [stdout] --> tests/test_display.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^^ 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 `test_inherit::Error` [INFO] [stdout] --> tests/test_display.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [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] | ------ ^^^^^ 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 `test_brace_escape::Error` [INFO] [stdout] --> tests/test_display.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^ 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 `test_expr::Error` [INFO] [stdout] --> tests/test_display.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^ 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 `test_nested::Error` [INFO] [stdout] --> tests/test_display.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct Error(bool); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `test_match::Error` [INFO] [stdout] --> tests/test_display.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `test_match::Error` [INFO] [stdout] --> tests/test_display.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `test_nested_display::Error` [INFO] [stdout] --> tests/test_display.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `test_nested_display::Error` [INFO] [stdout] --> tests/test_display.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^^^ 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 `test_mixed::Error` [INFO] [stdout] --> tests/test_display.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^ 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 `test_ints::Error` [INFO] [stdout] --> tests/test_display.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | assert("error ?", Error::Struct { v: 0 }); [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 `test_ints::Error` [INFO] [stdout] --> tests/test_display.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miden-thiserror` (test "test_deprecated") due to 2 previous errors [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] | ------ ^^^^^^^^^^ 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 `test_trailing_comma::Error` [INFO] [stdout] --> tests/test_display.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | struct Error(char); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^ 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 `test_field::Error` [INFO] [stdout] --> tests/test_display.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct Error(Inner); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^ 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 `Error0` [INFO] [stdout] --> tests/test_display.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum Error0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | decl_error!(Repro(u8)); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [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[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] | ------ ^^^^^^^^^^^^^^^^ 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 `Error1` [INFO] [stdout] --> tests/test_display.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | pub enum Error1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | decl_error!(Repro(u8)); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [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[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] | ------ ^^^^^^^^^^^^^^^^^^^ 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 `test_raw::Error` [INFO] [stdout] --> tests/test_display.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 `test_raw_enum::Error` [INFO] [stdout] --> tests/test_display.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 `test_raw_conflict::Error` [INFO] [stdout] --> tests/test_display.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(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] | ------ ^^^^^ 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 `test_keyword::Error` [INFO] [stdout] --> tests/test_display.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | assert("brace left {", Error::BraceLeft); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 331 | assert("brace left 2 {", Error::BraceLeft2); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:332:30 [INFO] [stdout] | [INFO] [stdout] 332 | assert("brace left 3 {", Error::BraceLeft3); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:333:29 [INFO] [stdout] | [INFO] [stdout] 333 | assert("brace right }", Error::BraceRight); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | assert("brace right 2 }", Error::BraceRight2); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | assert("brace right 3 }", Error::BraceRight3); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:336:24 [INFO] [stdout] | [INFO] [stdout] 336 | assert("new_line", Error::NewLine); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_str_special_chars::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:337:26 [INFO] [stdout] | [INFO] [stdout] 337 | assert("escape24 x", Error::Escape24); [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 `test_str_special_chars::Error` [INFO] [stdout] --> tests/test_display.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_raw_str::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | assert(r#"raw brace left {"#, Error::BraceLeft); [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 `test_raw_str::Error` [INFO] [stdout] --> tests/test_display.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_raw_str::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:355:40 [INFO] [stdout] | [INFO] [stdout] 355 | assert(r#"raw brace left 2 \x7B"#, Error::BraceLeft2); [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 `test_raw_str::Error` [INFO] [stdout] --> tests/test_display.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_raw_str::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | assert(r#"raw brace right }"#, Error::BraceRight); [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 `test_raw_str::Error` [INFO] [stdout] --> tests/test_display.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_raw_str::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:357:41 [INFO] [stdout] | [INFO] [stdout] 357 | assert(r#"raw brace right 2 \x7D"#, Error::BraceRight2); [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 `test_raw_str::Error` [INFO] [stdout] --> tests/test_display.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [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 `miden-thiserror` (test "test_display") due to 80 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4dec81526ab568343e4247d63ff301486c164964e4cb1136c2ac19dd0f27600d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dec81526ab568343e4247d63ff301486c164964e4cb1136c2ac19dd0f27600d", kill_on_drop: false }` [INFO] [stdout] 4dec81526ab568343e4247d63ff301486c164964e4cb1136c2ac19dd0f27600d