[INFO] fetching crate supply-chain-trust-example-crate-000038 2.0.13... [INFO] testing supply-chain-trust-example-crate-000038-2.0.13 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate supply-chain-trust-example-crate-000038 2.0.13 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000038 2.0.13 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000038 2.0.13 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000038 2.0.13 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000038 2.0.13 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate supply-chain-trust-example-crate-000038 2.0.13 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd0bf683da8ee60a91b6b3d5227840389092323b29e9c51042646d78b0c77ff9 [INFO] running `Command { std: "docker" "start" "-a" "dd0bf683da8ee60a91b6b3d5227840389092323b29e9c51042646d78b0c77ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd0bf683da8ee60a91b6b3d5227840389092323b29e9c51042646d78b0c77ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd0bf683da8ee60a91b6b3d5227840389092323b29e9c51042646d78b0c77ff9", kill_on_drop: false }` [INFO] [stdout] dd0bf683da8ee60a91b6b3d5227840389092323b29e9c51042646d78b0c77ff9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea03bf893ab34cab0ae6ed3438aa548ab9f567ee276e77fa2d8d02418b1d38a [INFO] running `Command { std: "docker" "start" "-a" "aea03bf893ab34cab0ae6ed3438aa548ab9f567ee276e77fa2d8d02418b1d38a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000038 v2.0.13 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "aea03bf893ab34cab0ae6ed3438aa548ab9f567ee276e77fa2d8d02418b1d38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea03bf893ab34cab0ae6ed3438aa548ab9f567ee276e77fa2d8d02418b1d38a", kill_on_drop: false }` [INFO] [stdout] aea03bf893ab34cab0ae6ed3438aa548ab9f567ee276e77fa2d8d02418b1d38a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 531a20dad080220f4a06a97e040013edaba0fbc9b16878662df41e9e99bd7b6f [INFO] running `Command { std: "docker" "start" "-a" "531a20dad080220f4a06a97e040013edaba0fbc9b16878662df41e9e99bd7b6f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dissimilar v1.0.10 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling trybuild v1.0.104 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000038 v2.0.13 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_lints.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: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_lints.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[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_lints.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MyError(#[from] anyhow::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_lints.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[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[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_lints.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[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_lints.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | A(#[from] std::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] 40 + #[derive(Error)] [INFO] [stdout] 41 | pub enum MyError<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_lints.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[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_lints.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[error("{message} {}", .message)] [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_lints.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[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] 66 + #[derive(Error)] [INFO] [stdout] 67 | pub enum DeprecatedEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_lints.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[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] 72 + #[derive(Error)] [INFO] [stdout] 73 | pub enum DeprecatedVariant { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_source.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[error("implicit source")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Error)] [INFO] [stdout] 8 | pub struct ImplicitSource { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_lints.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[error(transparent)] [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] 79 + #[derive(Error)] [INFO] [stdout] 80 | pub enum DeprecatedFrom { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> tests/test_lints.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | #[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] 79 + #[derive(Error)] [INFO] [stdout] 80 | pub enum DeprecatedFrom { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_path.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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_source.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[error("explicit source")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Error)] [INFO] [stdout] 14 | pub struct ExplicitSource { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `source` in this scope [INFO] [stdout] --> tests/test_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_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 `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_source.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[error("{source} ==> {destination}")] [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_path.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[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] 10+ #[derive(Error)] [INFO] [stdout] 11| struct StructPathBuf { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `ImplicitSource` in the current scope [INFO] [stdout] --> tests/test_source.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImplicitSource { [INFO] [stdout] | ------------------------- method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | error.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 30 - error.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] 30 + error.source.unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 30 | error.source.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_path.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 17 + #[derive(Error)] [INFO] [stdout] 18 | struct StructPath { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_path.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[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] 22 + #[derive(Error)] [INFO] [stdout] 23 | enum EnumPathBuf { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `ExplicitSource` in the current scope [INFO] [stdout] --> tests/test_source.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExplicitSource { [INFO] [stdout] | ------------------------- method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | error.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 40 - error.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] 40 + error.source.unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 40 | error.io.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_path.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[error("{tail}")] [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] 29 + #[derive(Error)] [INFO] [stdout] 30 | pub struct UnsizedError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_path.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[error("display:{0} debug:{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] 35 + #[derive(Error)] [INFO] [stdout] 36 | pub enum BothError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `BoxedSource` in the current scope [INFO] [stdout] --> tests/test_source.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct BoxedSource { [INFO] [stdout] | ---------------------- method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | error.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 47 - error.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] 47 + error.source.unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 47 | error.source.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_path.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[error("debug:{0:?} display:{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] 35 + #[derive(Error)] [INFO] [stdout] 36 | pub enum BothError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000038` (test "test_lints") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: `NotSource` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_source.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct NotSource { [INFO] [stdout] | -------------------- method `to_string` not found for this struct because it doesn't satisfy `NotSource: ToString` or `NotSource: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 80 | assert_eq!(error.to_string(), "S ==> D"); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `NotSource` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NotSource: std::fmt::Display` [INFO] [stdout] which is required by `NotSource: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1006:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `NotSource` in the current scope [INFO] [stdout] --> tests/test_source.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct NotSource { [INFO] [stdout] | -------------------- method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 81 | assert!(error.source().is_none()); [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000038` (test "test_source") due to 14 previous errors [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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[E0277]: `StructPathBuf` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_path.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | 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:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct StructPathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_path.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `EnumPathBuf` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_path.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | 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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | enum EnumPathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_path.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | 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:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `source` in this scope [INFO] [stdout] --> tests/test_error.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[source] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `source` in this scope [INFO] [stdout] --> tests/test_error.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[source] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `source` in this scope [INFO] [stdout] --> tests/test_error.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[source] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 42 + #[derive(Error)] [INFO] [stdout] 43 | enum EnumError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `source` in this scope [INFO] [stdout] --> tests/test_error.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Tuple(#[source] io::Error), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 42 + #[derive(Error)] [INFO] [stdout] 43 | enum EnumError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `supply-chain-trust-example-crate-000038` (test "test_path") due to 10 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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_backtrace.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] [stderr] error: could not compile `supply-chain-trust-example-crate-000038` (test "test_error") due to 5 previous errors [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_expr.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[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] 11 + #[derive(Error)] [INFO] [stdout] 12 | pub enum CompilerError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_display.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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_expr.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[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] 11 + #[derive(Error)] [INFO] [stdout] 12 | pub enum CompilerError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_expr.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[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] 11 + #[derive(Error)] [INFO] [stdout] 12 | pub enum CompilerError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_expr.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[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] 11 + #[derive(Error)] [INFO] [stdout] 12 | pub enum CompilerError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_expr.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[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] 41 + #[derive(Error)] [INFO] [stdout] 42 | pub enum RustupError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_expr.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[error("{A} {b}", b = &0 as &dyn Trait)] [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 `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_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_display.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[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_display.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[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 `error` in this scope [INFO] [stdout] --> tests/test_display.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[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_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 `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 `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_display.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[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_display.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[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] 60 + #[derive(Error)] [INFO] [stdout] 61 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_from.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[error("...")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Error)] [INFO] [stdout] 31 | pub enum ErrorEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[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] 60 + #[derive(Error)] [INFO] [stdout] 61 | enum Error { [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_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 `error` in this scope [INFO] [stdout] --> tests/test_display.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[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] 60 + #[derive(Error)] [INFO] [stdout] 61 | enum Error { [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 `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_display.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[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] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[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:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[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] 92 + #[derive(Error)] [INFO] [stdout] 93 | enum Error { [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 `from` in this scope [INFO] [stdout] --> tests/test_from.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | Io(#[from] io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 48 + #[derive(Error)] [INFO] [stdout] 49 | pub enum Many { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[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:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[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] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[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:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[error("{intro}: {0}", intro = 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:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | #[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:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | #[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_backtrace.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 Inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 194 | #[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: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | #[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] 206 + #[derive(Error)] [INFO] [stdout] 207 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | #[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] 206 + #[derive(Error)] [INFO] [stdout] 207 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | #[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:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | #[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:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | #[error("{}", .0.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:258:7 [INFO] [stdout] | [INFO] [stdout] 258 | #[error("{field:p}")] [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:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | #[error("{0:?}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | 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: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | #[error("{0:?}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | 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: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | #[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[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:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | #[error("{x}")] [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:322:7 [INFO] [stdout] | [INFO] [stdout] 322 | #[error("braced raw error: {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[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] [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[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: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:334:11 [INFO] [stdout] | [INFO] [stdout] 334 | #[error("braced raw error: {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] 333 + #[derive(Error)] [INFO] [stdout] 334 | 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:7 [INFO] [stdout] | [INFO] [stdout] 344 | #[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[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: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[error("error: {self:?}")] [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[E0277]: `CompilerError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_expr.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 63 | "cannot shift left by 32 or more bits (got 50)", [INFO] [stdout] 64 | / CompilerError::TooManyShiftBits { [INFO] [stdout] 65 | | is_left: true, [INFO] [stdout] 66 | | maximum: 32, [INFO] [stdout] 67 | | current: 50, [INFO] [stdout] 68 | | }, [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:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | 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:363:11 [INFO] [stdout] | [INFO] [stdout] 363 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | 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:365:11 [INFO] [stdout] | [INFO] [stdout] 365 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | 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:367:11 [INFO] [stdout] | [INFO] [stdout] 367 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_expr.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | 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:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | 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:369:11 [INFO] [stdout] | [INFO] [stdout] 369 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_expr.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 73 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 74 | "overflow while parsing signed integer literal", [INFO] [stdout] 75 | / CompilerError::IntegerOverflow { [INFO] [stdout] 76 | | is_signed: Some(true), [INFO] [stdout] 77 | | }, [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:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RustupError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_expr.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 84 | "toolchain 'nightly' does not contain component clipy; did you mean 'clippy'?", [INFO] [stdout] 85 | / RustupError::UnknownComponent { [INFO] [stdout] 86 | | name: "nightly".to_owned(), [INFO] [stdout] 87 | | component: "clipy".to_owned(), [INFO] [stdout] 88 | | suggestion: Some("clippy".to_owned()), [INFO] [stdout] 89 | | }, [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum RustupError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_assoc_type_equality_constraint::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_expr.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 112 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 113 | "... 0", [INFO] [stdout] 114 | / Error { [INFO] [stdout] 115 | | A: PathBuf::from("..."), [INFO] [stdout] 116 | | }, [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `test_assoc_type_equality_constraint::Error` [INFO] [stdout] --> tests/test_expr.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_expr.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | 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] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:371:11 [INFO] [stdout] | [INFO] [stdout] 371 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | 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:373:11 [INFO] [stdout] | [INFO] [stdout] 373 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | 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:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000038` (test "test_from") due to 23 previous errors [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000038` (test "test_backtrace") due to 2 previous errors [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000038` (test "test_expr") due to 12 previous errors [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_display.rs:380:11 [INFO] [stdout] | [INFO] [stdout] 380 | #[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] 362 + #[derive(Error)] [INFO] [stdout] 363 | 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:398:11 [INFO] [stdout] | [INFO] [stdout] 398 | #[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] 397 + #[derive(Error)] [INFO] [stdout] 398 | 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:400:11 [INFO] [stdout] | [INFO] [stdout] 400 | #[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] 397 + #[derive(Error)] [INFO] [stdout] 398 | 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:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | #[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] 397 + #[derive(Error)] [INFO] [stdout] 398 | 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:404:11 [INFO] [stdout] | [INFO] [stdout] 404 | #[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] 397 + #[derive(Error)] [INFO] [stdout] 398 | 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:434:11 [INFO] [stdout] | [INFO] [stdout] 434 | #[error(fmt = unit)] [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] 433 + #[derive(Error)] [INFO] [stdout] 434 | 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:436:11 [INFO] [stdout] | [INFO] [stdout] 436 | #[error(fmt = pair)] [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] 433 + #[derive(Error)] [INFO] [stdout] 434 | 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:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | #[error(fmt = pair)] [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] 433 + #[derive(Error)] [INFO] [stdout] 434 | 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:440:11 [INFO] [stdout] | [INFO] [stdout] 440 | #[error(fmt = crate::util::octal)] [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] 433 + #[derive(Error)] [INFO] [stdout] 434 | 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:442:11 [INFO] [stdout] | [INFO] [stdout] 442 | #[error(fmt = crate::util::octal::)] [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] 433 + #[derive(Error)] [INFO] [stdout] 434 | 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:444:11 [INFO] [stdout] | [INFO] [stdout] 444 | #[error(fmt = core::fmt::Octal::fmt)] [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] 433 + #[derive(Error)] [INFO] [stdout] 434 | 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:446:11 [INFO] [stdout] | [INFO] [stdout] 446 | #[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] 433 + #[derive(Error)] [INFO] [stdout] 434 | 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:462:7 [INFO] [stdout] | [INFO] [stdout] 462 | #[error(fmt = crate::util::octal)] [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:468:11 [INFO] [stdout] | [INFO] [stdout] 468 | #[error(fmt = core::fmt::Octal::fmt)] [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] 463 + #[derive(Error)] [INFO] [stdout] 464 | 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:470:11 [INFO] [stdout] | [INFO] [stdout] 470 | #[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] 463 + #[derive(Error)] [INFO] [stdout] 464 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_braced::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | 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:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | 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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Error(usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | 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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | 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:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | 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:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | 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:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | 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:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | 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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | 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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | 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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | 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:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | 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:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | struct Error(bool); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 143 | "error occurred with 1: ...", [INFO] [stdout] 144 | 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:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:148:9 [INFO] [stdout] | [INFO] [stdout] 146 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 147 | "there was an empty error: ...", [INFO] [stdout] 148 | 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:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:173:9 [INFO] [stdout] | [INFO] [stdout] 171 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 172 | "error occurred with 1: ...", [INFO] [stdout] 173 | 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:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:177:9 [INFO] [stdout] | [INFO] [stdout] 175 | assert( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 176 | "there was an empty error: ...", [INFO] [stdout] 177 | 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:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct Error(String, Option); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:200:40 [INFO] [stdout] | [INFO] [stdout] 200 | 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:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | 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:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | 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:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_trailing_comma::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | 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:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | struct Error(char); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | 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:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | struct Error(Inner); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_nested_tuple_field::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | assert("0", Error(Inner(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_nested_tuple_field::Error` [INFO] [stdout] --> tests/test_display.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | struct Error(Inner); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Struct` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct Struct { [INFO] [stdout] | ----------------- method `to_string` not found for this struct because it doesn't satisfy `Struct: ToString` or `Struct: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 266 | assert_eq!(s.to_string(), format!("{:p}", s.field)); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Struct: std::fmt::Display` [INFO] [stdout] which is required by `Struct: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1006:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Error0` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | 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:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | pub enum Error0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | 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:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | 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:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | pub enum Error1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | 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:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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_macro_rules_message_from_call_site::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | assert("0", Error::Unnamed(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_macro_rules_message_from_call_site::Error` [INFO] [stdout] --> tests/test_display.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | / decl_error! { [INFO] [stdout] 309 | | #[error("{0}")] [INFO] [stdout] 310 | | Unnamed(u8), [INFO] [stdout] 311 | | #[error("{x}")] [INFO] [stdout] 312 | | Named { x: u8 }, [INFO] [stdout] 313 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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_macro_rules_message_from_call_site::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | assert("0", Error::Named { x: 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_macro_rules_message_from_call_site::Error` [INFO] [stdout] --> tests/test_display.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | / decl_error! { [INFO] [stdout] 309 | | #[error("{0}")] [INFO] [stdout] 310 | | Unnamed(u8), [INFO] [stdout] 311 | | #[error("{x}")] [INFO] [stdout] 312 | | Named { x: u8 }, [INFO] [stdout] 313 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:327:35 [INFO] [stdout] | [INFO] [stdout] 327 | 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:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | struct Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:338:35 [INFO] [stdout] | [INFO] [stdout] 338 | 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:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:347:24 [INFO] [stdout] | [INFO] [stdout] 347 | 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:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_self::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:356:28 [INFO] [stdout] | [INFO] [stdout] 356 | assert("error: 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_self::Error` [INFO] [stdout] --> tests/test_display.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | struct Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:384:28 [INFO] [stdout] | [INFO] [stdout] 384 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:385:30 [INFO] [stdout] | [INFO] [stdout] 385 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:386:30 [INFO] [stdout] | [INFO] [stdout] 386 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:388:31 [INFO] [stdout] | [INFO] [stdout] 388 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:389:31 [INFO] [stdout] | [INFO] [stdout] 389 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:391:26 [INFO] [stdout] | [INFO] [stdout] 391 | 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:408:35 [INFO] [stdout] | [INFO] [stdout] 408 | 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:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:409:40 [INFO] [stdout] | [INFO] [stdout] 409 | 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:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:410:36 [INFO] [stdout] | [INFO] [stdout] 410 | 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:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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:411:41 [INFO] [stdout] | [INFO] [stdout] 411 | 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:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | assert("unit=", 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_fmt_path::Error` [INFO] [stdout] --> tests/test_display.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | assert("pair=10:0", Error::Tuple(10, 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_fmt_path::Error` [INFO] [stdout] --> tests/test_display.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | assert("pair=10:0", Error::Entry { k: 10, 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_fmt_path::Error` [INFO] [stdout] --> tests/test_display.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | assert("0o777", Error::I16(0o777)); [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_fmt_path::Error` [INFO] [stdout] --> tests/test_display.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | assert("0o777", Error::I32 { n: 0o777 }); [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_fmt_path::Error` [INFO] [stdout] --> tests/test_display.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 455 | assert("777", Error::I64(0o777)); [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_fmt_path::Error` [INFO] [stdout] --> tests/test_display.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | assert("...false", Error::Other(false)); [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_fmt_path::Error` [INFO] [stdout] --> tests/test_display.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path_inherited::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:474:21 [INFO] [stdout] | [INFO] [stdout] 474 | assert("0o777", Error::I16(0o777)); [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_fmt_path_inherited::Error` [INFO] [stdout] --> tests/test_display.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path_inherited::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | assert("0o777", Error::I32 { n: 0o777 }); [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_fmt_path_inherited::Error` [INFO] [stdout] --> tests/test_display.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path_inherited::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | assert("777", Error::I64(0o777)); [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_fmt_path_inherited::Error` [INFO] [stdout] --> tests/test_display.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert(expected: &str, value: T) { [INFO] [stdout] | ^^^^^^^ required by this bound in `assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `test_fmt_path_inherited::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_display.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | assert("...false", Error::Other(false)); [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_fmt_path_inherited::Error` [INFO] [stdout] --> tests/test_display.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `assert` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | 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, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000038` (test "test_display") due to 109 previous errors [INFO] running `Command { std: "docker" "inspect" "531a20dad080220f4a06a97e040013edaba0fbc9b16878662df41e9e99bd7b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531a20dad080220f4a06a97e040013edaba0fbc9b16878662df41e9e99bd7b6f", kill_on_drop: false }` [INFO] [stdout] 531a20dad080220f4a06a97e040013edaba0fbc9b16878662df41e9e99bd7b6f