[INFO] fetching crate cargo-dl 0.1.5... [INFO] building cargo-dl-0.1.5 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate cargo-dl 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cargo-dl 0.1.5 [INFO] finished tweaking crates.io crate cargo-dl 0.1.5 [INFO] tweaked toml for crates.io crate cargo-dl 0.1.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-dl 0.1.5 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-dl 0.1.5 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64 v0.21.3 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] [stderr] Downloaded stylish-macros v0.1.1 [INFO] [stderr] Downloaded displaydoc v0.2.4 [INFO] [stderr] Downloaded semver v1.0.18 [INFO] [stderr] Downloaded anstyle v1.0.2 [INFO] [stderr] Downloaded brotli-decompressor v2.3.4 [INFO] [stderr] Downloaded indexmap v2.0.0 [INFO] [stderr] Downloaded clap v4.4.4 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded anstyle-wincon v2.1.0 [INFO] [stderr] Downloaded anstream v0.5.0 [INFO] [stderr] Downloaded serde_json v1.0.105 [INFO] [stderr] Downloaded indicatif v0.17.6 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] [stderr] Downloaded tracing-log v0.1.3 [INFO] [stderr] Downloaded smol_str v0.2.0 [INFO] [stderr] Downloaded rustix v0.38.14 [INFO] [stderr] Downloaded hashbrown v0.14.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.47 [INFO] [stderr] Downloaded sharded-slab v0.1.4 [INFO] [stderr] Downloaded culpa v1.0.1 [INFO] [stderr] Downloaded linux-raw-sys v0.4.7 [INFO] [stderr] Downloaded regex-automata v0.3.7 [INFO] [stderr] Downloaded aho-corasick v1.0.4 [INFO] [stderr] Downloaded clap_builder v4.4.4 [INFO] [stderr] Downloaded crates-index v2.10.1 [INFO] [stderr] Downloaded portable-atomic v1.4.3 [INFO] [stderr] Downloaded stylish-ansi v0.1.1 [INFO] [stderr] Downloaded askama_escape v0.10.3 [INFO] [stderr] Downloaded tracing-subscriber v0.3.17 [INFO] [stderr] Downloaded stylish-style v0.1.0 [INFO] [stderr] Downloaded stylish-core v0.1.1 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded stylish-html v0.1.1 [INFO] [stderr] Downloaded stylish v0.1.0 [INFO] [stderr] Downloaded stack_dst v0.6.1 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded tracing-attributes v0.1.26 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded regex v1.9.4 [INFO] [stderr] Downloaded culpa-macros v1.0.1 [INFO] [stderr] Downloaded fn-error-context v0.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.188 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Downloaded tar v0.4.40 [INFO] [stderr] Downloaded stylish-plain v0.1.0 [INFO] [stderr] Downloaded with_builtin_macros v0.0.3 [INFO] [stderr] Downloaded filetime v0.2.22 [INFO] [stderr] Downloaded ureq v2.7.1 [INFO] [stderr] Downloaded serde v1.0.188 [INFO] [stderr] Downloaded flate2 v1.0.27 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded rustls-webpki v0.100.2 [INFO] [stderr] Downloaded thiserror v1.0.47 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b5234637c48d8092df60ebcd9c963cb58a64e0d3ffb2cfd90b6075bd93dcae4 [INFO] running `Command { std: "docker" "start" "-a" "0b5234637c48d8092df60ebcd9c963cb58a64e0d3ffb2cfd90b6075bd93dcae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b5234637c48d8092df60ebcd9c963cb58a64e0d3ffb2cfd90b6075bd93dcae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5234637c48d8092df60ebcd9c963cb58a64e0d3ffb2cfd90b6075bd93dcae4", kill_on_drop: false }` [INFO] [stdout] 0b5234637c48d8092df60ebcd9c963cb58a64e0d3ffb2cfd90b6075bd93dcae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb0b88862e364087c56f4821a58bb73a1e32a3ccc31405d645e1db397aa90169 [INFO] running `Command { std: "docker" "start" "-a" "bb0b88862e364087c56f4821a58bb73a1e32a3ccc31405d645e1db397aa90169", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling stylish-style v0.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling anstyle v1.0.2 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling stack_dst v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling clap_builder v4.4.4 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling indicatif v0.17.6 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Compiling stylish-macros v0.1.1 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.100.2 [INFO] [stderr] Compiling webpki-roots v0.23.1 [INFO] [stderr] Compiling with_builtin_macros v0.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling culpa-macros v1.0.1 [INFO] [stderr] Compiling fn-error-context v0.2.1 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling stylish-core v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling clap v4.4.4 [INFO] [stderr] Compiling culpa v1.0.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling crates-index v2.10.1 [INFO] [stderr] Compiling ureq v2.7.1 [INFO] [stderr] Compiling stylish-ansi v0.1.1 [INFO] [stderr] Compiling stylish v0.1.0 [INFO] [stderr] Compiling cargo-dl v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(thiserror::Error, Copy, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LoggedError` [INFO] [stdout] 93 | struct LoggedError; [INFO] [stdout] | ----------- `LoggedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/crate_name.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(thiserror::Error, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 5 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/package_id_spec.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 10 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "bb0b88862e364087c56f4821a58bb73a1e32a3ccc31405d645e1db397aa90169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0b88862e364087c56f4821a58bb73a1e32a3ccc31405d645e1db397aa90169", kill_on_drop: false }` [INFO] [stdout] bb0b88862e364087c56f4821a58bb73a1e32a3ccc31405d645e1db397aa90169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f193ca93fe7888b9d158ceaf4833846193a5a7600d73c1cb6d7bcd9054595182 [INFO] running `Command { std: "docker" "start" "-a" "f193ca93fe7888b9d158ceaf4833846193a5a7600d73c1cb6d7bcd9054595182", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-dl v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(thiserror::Error, Copy, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LoggedError` [INFO] [stdout] 93 | struct LoggedError; [INFO] [stdout] | ----------- `LoggedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/crate_name.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(thiserror::Error, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 5 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/package_id_spec.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 10 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "f193ca93fe7888b9d158ceaf4833846193a5a7600d73c1cb6d7bcd9054595182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f193ca93fe7888b9d158ceaf4833846193a5a7600d73c1cb6d7bcd9054595182", kill_on_drop: false }` [INFO] [stdout] f193ca93fe7888b9d158ceaf4833846193a5a7600d73c1cb6d7bcd9054595182