[INFO] fetching crate supply-chain-trust-example-crate-000037 2.0.13... [INFO] building supply-chain-trust-example-crate-000037-2.0.13 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate supply-chain-trust-example-crate-000037 2.0.13 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000037 2.0.13 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000037 2.0.13 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000037 2.0.13 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000037 2.0.13 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate supply-chain-trust-example-crate-000037 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8596c11f4032d1e09b5c37036bad75f4a15a77720af50da2d798f1d24036b1ec [INFO] running `Command { std: "docker" "start" "-a" "8596c11f4032d1e09b5c37036bad75f4a15a77720af50da2d798f1d24036b1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8596c11f4032d1e09b5c37036bad75f4a15a77720af50da2d798f1d24036b1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8596c11f4032d1e09b5c37036bad75f4a15a77720af50da2d798f1d24036b1ec", kill_on_drop: false }` [INFO] [stdout] 8596c11f4032d1e09b5c37036bad75f4a15a77720af50da2d798f1d24036b1ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eec443c5719d255622fd587abb63d8d9a2c2006d2dad487ff92bc7b9c836a70d [INFO] running `Command { std: "docker" "start" "-a" "eec443c5719d255622fd587abb63d8d9a2c2006d2dad487ff92bc7b9c836a70d", 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-000037 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 5.34s [INFO] running `Command { std: "docker" "inspect" "eec443c5719d255622fd587abb63d8d9a2c2006d2dad487ff92bc7b9c836a70d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec443c5719d255622fd587abb63d8d9a2c2006d2dad487ff92bc7b9c836a70d", kill_on_drop: false }` [INFO] [stdout] eec443c5719d255622fd587abb63d8d9a2c2006d2dad487ff92bc7b9c836a70d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b29545a4c2efc9f443b09be50f568ee8984e7b6b99d9fa90ce3ed1f8bdfa84f [INFO] running `Command { std: "docker" "start" "-a" "2b29545a4c2efc9f443b09be50f568ee8984e7b6b99d9fa90ce3ed1f8bdfa84f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling dissimilar v1.0.10 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling indexmap v2.8.0 [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-000037 v2.0.13 (/opt/rustwide/workdir) [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[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_generics.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 `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: 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 `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 `source` in this scope [INFO] [stdout] --> tests/test_error.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[source] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `source` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 42 + #[derive(Error)] [INFO] [stdout] 43 | enum EnumError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_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 `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] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> tests/test_transparent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of 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: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_generics.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[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] 40 + #[derive(Error)] [INFO] [stdout] 41 | pub enum EnumDebugGeneric { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[error("enum from generic")] [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] 55 + #[derive(Error)] [INFO] [stdout] 56 | pub enum EnumFromGeneric { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> tests/test_generics.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | Source(#[from] EnumDebugGeneric), [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] 55 + #[derive(Error)] [INFO] [stdout] 56 | pub enum EnumFromGeneric { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[error("{0} {1:?}")] [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] 74 + #[derive(Error)] [INFO] [stdout] 75 | pub enum EnumCompound { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[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] 74 + #[derive(Error)] [INFO] [stdout] 75 | pub enum EnumCompound { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[error("{1:?}")] [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] 74 + #[derive(Error)] [INFO] [stdout] 75 | pub enum EnumCompound { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[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] 115 + #[derive(Error)] [INFO] [stdout] 116 | pub enum EnumTransparentGeneric { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_transparent.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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_generics.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[error("{underlying:?}")] [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] 132 + #[derive(Error)] [INFO] [stdout] 133 | pub struct StructDebugGeneric { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_transparent.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[error("E0")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] 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 | enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> tests/test_generics.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | #[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_generics.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | #[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] 162 + #[derive(Error)] [INFO] [stdout] 163 | pub struct StructTransparentGeneric(pub E); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_transparent.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[error("E1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] 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 | enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[error("couldn't parse matrix")] [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] 175 + #[derive(Error)] [INFO] [stdout] 176 | pub enum AssociatedTypeError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | #[error("couldn't parse entry: {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] 175 + #[derive(Error)] [INFO] [stdout] 176 | pub enum AssociatedTypeError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000037` (test "test_error") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> tests/test_transparent.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | E1(#[from] io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] 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] 13 + #[derive(Error)] [INFO] [stdout] 14 | enum ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_generics.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 186 | #[error("{thing}", thing = "...")] [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_generics.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[error("0x{thing:x} 0x{thing: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_transparent.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[error("this failed")] [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] 33 + #[derive(Error)] [INFO] [stdout] 34 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_transparent.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] 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] 33 + #[derive(Error)] [INFO] [stdout] 34 | enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_transparent.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[error("this failed: {0}_{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_transparent.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[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] 52 + #[derive(Error)] [INFO] [stdout] 53 | enum Error { [INFO] [stdout] | [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]: `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[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[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]: `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] 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] 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_transparent.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[error(transparent)] [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_transparent.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | struct Any(#[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_transparent.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000037` (test "test_expr") due to 12 previous errors [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_transparent.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | #[error("unexpected token: {:?}", token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 86 + #[derive(Error)] [INFO] [stdout] 87 | enum ErrorKind<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `EnumCompound` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_generics.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(format!("{}", instance), "display only DebugOnly"); [INFO] [stdout] | -- ^^^^^^^^ `EnumCompound` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `EnumCompound` [INFO] [stdout] --> tests/test_generics.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum EnumCompound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `EnumCompound` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_generics.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(format!("{}", instance), "display only"); [INFO] [stdout] | -- ^^^^^^^^ `EnumCompound` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `EnumCompound` [INFO] [stdout] --> tests/test_generics.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum EnumCompound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `EnumCompound` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_generics.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(format!("{}", instance), "DebugOnly"); [INFO] [stdout] | -- ^^^^^^^^ `EnumCompound` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `EnumCompound` [INFO] [stdout] --> tests/test_generics.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum EnumCompound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> tests/test_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]: `test_no_bound_on_named_fmt::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_generics.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 187 | struct Error { [INFO] [stdout] | --------------- method `to_string` not found for this struct because it doesn't satisfy `_: Display` or `_: ToString` [INFO] [stdout] ... [INFO] [stdout] 192 | assert_eq!(error.to_string(), "..."); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_no_bound_on_named_fmt::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_no_bound_on_named_fmt::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_no_bound_on_named_fmt::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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]: `test_multiple_bound::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_generics.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct Error { [INFO] [stdout] | ------------------- method `to_string` not found for this struct because it doesn't satisfy `test_multiple_bound::Error: ToString` or `test_multiple_bound::Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 204 | assert_eq!(error.to_string(), "0xff 0xFF"); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_multiple_bound::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_multiple_bound::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_multiple_bound::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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] 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-000037` (test "test_generics") due to 20 previous errors [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] error[E0599]: `test_transparent_enum::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_transparent.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 33 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `test_transparent_enum::Error: ToString` or `test_transparent_enum::Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 41 | assert_eq!("this failed", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_transparent_enum::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_transparent_enum::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_transparent_enum::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/mod.rs:1006:1 [INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/alloc/src/string.rs:2772:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `test_transparent_struct::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_transparent.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct Error(ErrorKind); [INFO] [stdout] | ------------ method `to_string` not found for this struct because it doesn't satisfy `test_transparent_struct::Error: ToString` or `test_transparent_struct::Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!("E0", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_transparent_struct::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_transparent_struct::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_transparent_struct::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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]: the method `to_string` exists for struct `test_non_static::Error<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_transparent.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 81 | struct Error<'a> { [INFO] [stdout] | ---------------- method `to_string` not found for this struct because it doesn't satisfy `test_non_static::Error<'_>: ToString` or `test_non_static::Error<'_>: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 94 | assert_eq!("unexpected token: \"error\"", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_non_static::Error<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_non_static::Error<'_>: std::fmt::Display` [INFO] [stdout] which is required by `test_non_static::Error<'_>: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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]: `test_transparent_enum_with_default_message::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_transparent.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 52 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `_: Display` or `_: ToString` [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!("this failed: -1_-1", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_transparent_enum_with_default_message::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_transparent_enum_with_default_message::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_transparent_enum_with_default_message::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/mod.rs:1006:1 [INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/alloc/src/string.rs:2772:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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]: `test_transparent_enum_with_default_message::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_transparent.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 52 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `_: Display` or `_: ToString` [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!("outer", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_transparent_enum_with_default_message::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_transparent_enum_with_default_message::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_transparent_enum_with_default_message::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/mod.rs:1006:1 [INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/alloc/src/string.rs:2772:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `test_transparent_enum::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_transparent.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 33 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `test_transparent_enum::Error: ToString` or `test_transparent_enum::Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 44 | assert_eq!("outer", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_transparent_enum::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_transparent_enum::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_transparent_enum::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/mod.rs:1006:1 [INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/alloc/src/string.rs:2772:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_transparent.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let error = Any::from(anyhow!("inner").context("outer")); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Any`, found `Error` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/convert/mod.rs:592:8 [INFO] [stdout] help: try wrapping the expression in `test_anyhow::Any` [INFO] [stdout] | [INFO] [stdout] 72 | let error = Any::from(test_anyhow::Any(anyhow!("inner").context("outer"))); [INFO] [stdout] | +++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `test_non_static::Error<'a>` in the current scope [INFO] [stdout] --> tests/test_transparent.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 81 | struct Error<'a> { [INFO] [stdout] | ---------------- method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | assert!(error.source().is_none()); [INFO] [stdout] | ^^^^^^ method not found in `test_non_static::Error<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `test_transparent_struct::Error` in the current scope [INFO] [stdout] --> tests/test_transparent.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 10 | struct Error(ErrorKind); [INFO] [stdout] | ------------ method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | assert!(error.source().is_none()); [INFO] [stdout] | ^^^^^^ method not found in `test_transparent_struct::Error` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `test_anyhow::Any` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_transparent.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 70 | struct Any(#[from] anyhow::Error); [INFO] [stdout] | ---------- method `to_string` not found for this struct because it doesn't satisfy `test_anyhow::Any: ToString` or `test_anyhow::Any: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!("outer", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_anyhow::Any` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_anyhow::Any: std::fmt::Display` [INFO] [stdout] which is required by `test_anyhow::Any: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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[E0308]: mismatched types [INFO] [stdout] --> tests/test_transparent.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let error = Error(ErrorKind::from(io)); [INFO] [stdout] | --------------- ^^ expected `ErrorKind`, found `Error` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/convert/mod.rs:592:8 [INFO] [stdout] help: try wrapping the expression in `test_transparent_struct::ErrorKind::E1` [INFO] [stdout] | [INFO] [stdout] 25 | let error = Error(ErrorKind::from(test_transparent_struct::ErrorKind::E1(io))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for enum `test_transparent_enum::Error` in the current scope [INFO] [stdout] --> tests/test_transparent.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 33 | enum Error { [INFO] [stdout] | ---------- method `source` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!("inner", error.source().unwrap().to_string()); [INFO] [stdout] | ^^^^^^ method not found in `test_transparent_enum::Error` [INFO] [stdout] | [INFO] [stdout] note: the method `source` exists on the type `anyhow::Error` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/error.rs:111:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for enum `test_transparent_enum_with_default_message::Error` in the current scope [INFO] [stdout] --> tests/test_transparent.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 52 | enum Error { [INFO] [stdout] | ---------- method `source` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 63 | assert_eq!("inner", error.source().unwrap().to_string()); [INFO] [stdout] | ^^^^^^ method not found in `test_transparent_enum_with_default_message::Error` [INFO] [stdout] | [INFO] [stdout] note: the method `source` exists on the type `anyhow::Error` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/error.rs:111:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `test_transparent_struct::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/test_transparent.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct Error(ErrorKind); [INFO] [stdout] | ------------ method `to_string` not found for this struct because it doesn't satisfy `test_transparent_struct::Error: ToString` or `test_transparent_struct::Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!("E1", error.to_string()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `test_transparent_struct::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_transparent_struct::Error: std::fmt::Display` [INFO] [stdout] which is required by `test_transparent_struct::Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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 `test_transparent_struct::Error` in the current scope [INFO] [stdout] --> tests/test_transparent.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 10 | struct Error(ErrorKind); [INFO] [stdout] | ------------ method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | error.source().unwrap().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_transparent_struct::Error` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `test_anyhow::Any` in the current scope [INFO] [stdout] --> tests/test_transparent.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 70 | struct Any(#[from] anyhow::Error); [INFO] [stdout] | ---------- method `source` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!("inner", error.source().unwrap().to_string()); [INFO] [stdout] | ^^^^^^ method not found in `test_anyhow::Any` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `source`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::error::Error` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!("inner", error.0.source().unwrap().to_string()); [INFO] [stdout] | ++ [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] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000037` (test "test_transparent") due to 29 previous errors [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-000037` (test "test_path") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "2b29545a4c2efc9f443b09be50f568ee8984e7b6b99d9fa90ce3ed1f8bdfa84f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b29545a4c2efc9f443b09be50f568ee8984e7b6b99d9fa90ce3ed1f8bdfa84f", kill_on_drop: false }` [INFO] [stdout] 2b29545a4c2efc9f443b09be50f568ee8984e7b6b99d9fa90ce3ed1f8bdfa84f