[INFO] fetching crate thiserror_core2 1.0.23... [INFO] checking thiserror_core2-1.0.23 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate thiserror_core2 1.0.23 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate thiserror_core2 1.0.23 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate thiserror_core2 1.0.23 [INFO] finished tweaking crates.io crate thiserror_core2 1.0.23 [INFO] tweaked toml for crates.io crate thiserror_core2 1.0.23 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.23 [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded ref-cast-impl v1.0.6 [INFO] [stderr] Downloaded dissimilar v1.0.2 [INFO] [stderr] Downloaded trybuild v1.0.41 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded ref-cast v1.0.6 [INFO] [stderr] Downloaded core2 v0.3.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5de73cafb5cec304999aa45ca7117cf739ec83e678a4ee72341f956586bb2583 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5de73cafb5cec304999aa45ca7117cf739ec83e678a4ee72341f956586bb2583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5de73cafb5cec304999aa45ca7117cf739ec83e678a4ee72341f956586bb2583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de73cafb5cec304999aa45ca7117cf739ec83e678a4ee72341f956586bb2583", kill_on_drop: false }` [INFO] [stdout] 5de73cafb5cec304999aa45ca7117cf739ec83e678a4ee72341f956586bb2583 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c97463671fb9e0867b6b3ae2de33f2692ed79c09f2f3040c9401654aa652e7b0 [INFO] running `Command { std: "docker" "start" "-a" "c97463671fb9e0867b6b3ae2de33f2692ed79c09f2f3040c9401654aa652e7b0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling trybuild v1.0.41 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking core2 v0.3.0-alpha.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror_core2 v1.0.23 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> tests/test_transparent.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core2::error::Error as _` [INFO] [stdout] --> tests/test_transparent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core2::error::Error as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core2::io` [INFO] [stdout] --> tests/test_transparent.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core2::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror_core2::Error` [INFO] [stdout] --> tests/test_transparent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thiserror_core2::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core2::io` [INFO] [stdout] --> tests/test_error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core2::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_source.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core2::io` [INFO] [stdout] --> tests/test_source.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core2::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_expr.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_expr.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> tests/test_display.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&u64` in the current scope [INFO] [stdout] --> tests/test_expr.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | #[error("cannot shift {} by {maximum} or more bits (got {current})", if *.is_left { "left" } else { "right" })] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&u64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_dyn_error` found for struct `Box<(dyn core2::error::Error + Send + 'static)>` in the current scope [INFO] [stdout] --> tests/test_source.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | source: Box, [INFO] [stdout] | ^^^^^^ method not found in `Box<(dyn core2::error::Error + Send + 'static)>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::AsDynError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thiserror_core2` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&String` in the current scope [INFO] [stdout] --> tests/test_expr.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | "toolchain '{name}' does not contain component {component}{}", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&String` in the current scope [INFO] [stdout] --> tests/test_display.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | #[error("braced error: {msg}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&usize` in the current scope [INFO] [stdout] --> tests/test_display.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #[error("tuple error: {0}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&usize` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&usize` in the current scope [INFO] [stdout] --> tests/test_display.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[error("braced error: {id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&usize` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&usize` in the current scope [INFO] [stdout] --> tests/test_display.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | #[error("tuple error: {0}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&usize` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&&'static str` in the current scope [INFO] [stdout] --> tests/test_display.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | #[error("{0}")] [INFO] [stdout] | ^^^^^ method not found in `&&'static str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&String` in the current scope [INFO] [stdout] --> tests/test_display.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | #[error("{}: {0}", match .1 { [INFO] [stdout] | ^^^^^^^^^ method not found in `&String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&usize` in the current scope [INFO] [stdout] --> tests/test_display.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | #[error("a={a} :: b={} :: c={c} :: d={d}", 1, c = 2, d = 3)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&usize` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&usize` in the current scope [INFO] [stdout] --> tests/test_display.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | #[error("error {0}")] [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&usize` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&char` in the current scope [INFO] [stdout] --> tests/test_display.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | "error {0}", [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&char` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&&'static str` in the current scope [INFO] [stdout] --> tests/test_display.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | #[error("braced raw error: {r#fn}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&&'static str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&&'static str` in the current scope [INFO] [stdout] --> tests/test_display.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | #[error("braced raw error: {r#fn}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&&'static str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_display` found for reference `&&'static str` in the current scope [INFO] [stdout] --> tests/test_display.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | #[error("braced raw error: {r#func}, {func}", func = "U")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&&'static str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use thiserror_core2::private::DisplayAsDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c97463671fb9e0867b6b3ae2de33f2692ed79c09f2f3040c9401654aa652e7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97463671fb9e0867b6b3ae2de33f2692ed79c09f2f3040c9401654aa652e7b0", kill_on_drop: false }` [INFO] [stdout] c97463671fb9e0867b6b3ae2de33f2692ed79c09f2f3040c9401654aa652e7b0