[INFO] fetching crate oceanpkg 0.0.11... [INFO] checking oceanpkg-0.0.11 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate oceanpkg 0.0.11 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate oceanpkg 0.0.11 [INFO] finished tweaking crates.io crate oceanpkg 0.0.11 [INFO] tweaked toml for crates.io crate oceanpkg 0.0.11 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oceanpkg 0.0.11 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 241 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.3) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.26) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oceanpkg-shared v0.1.1 [INFO] [stderr] Downloaded linfo v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a088ab4d82dfbfac273888d3e45578fe1186cae1c6243db00d70c8e46b173d1 [INFO] running `Command { std: "docker" "start" "-a" "6a088ab4d82dfbfac273888d3e45578fe1186cae1c6243db00d70c8e46b173d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a088ab4d82dfbfac273888d3e45578fe1186cae1c6243db00d70c8e46b173d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a088ab4d82dfbfac273888d3e45578fe1186cae1c6243db00d70c8e46b173d1", kill_on_drop: false }` [INFO] [stdout] 6a088ab4d82dfbfac273888d3e45578fe1186cae1c6243db00d70c8e46b173d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ccdb63c9418900eeda8d3c68e1630c85bf87b7463933289f5f9a201dff6d216 [INFO] running `Command { std: "docker" "start" "-a" "2ccdb63c9418900eeda8d3c68e1630c85bf87b7463933289f5f9a201dff6d216", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking oceanpkg-shared v0.1.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking linfo v0.1.3 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking oceanpkg v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/drop/kind/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 6 | metadata: Metadata, [INFO] [stdout] 7 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/drop/kind/exe.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct FindError<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 67 | target: &'a InstallTarget, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/drop/kind/font.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Font { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | metadata: Metadata, [INFO] [stdout] 7 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Font` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/flexible.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 25 | $t_vis struct $t $(<$l>)? { [INFO] [stdout] | ________________________- [INFO] [stdout] 26 | | $(#[doc = $s_doc])+ [INFO] [stdout] 27 | | $s_vis $s: $s_ty, [INFO] [stdout] ... | [INFO] [stdout] 37 | |/ fn deserialize(de: D) -> Result [INFO] [stdout] 38 | || where [INFO] [stdout] 39 | || D: serde::Deserializer<'de> [INFO] [stdout] | ||___________________________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... | [INFO] [stdout] 68 | | impl $(<$l>)? Detailed for $t $(<$l>)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^--------^^^^-^^ [INFO] [stdout] | |________________________________|___________| [INFO] [stdout] | | `DepInfo` is not local [INFO] [stdout] | `Detailed` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/drop/manifest/deps.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / flexible! { [INFO] [stdout] 11 | | /// The value associated with an element listed in the `dependencies` key in the [INFO] [stdout] 12 | | /// manifest. [INFO] [stdout] 13 | | /// [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `flexible` defines the non-local `impl`, and may need to be changed [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flexible` (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/flexible.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 25 | $t_vis struct $t $(<$l>)? { [INFO] [stdout] | _______________________- [INFO] [stdout] 26 | | $(#[doc = $s_doc])+ [INFO] [stdout] 27 | | $s_vis $s: $s_ty, [INFO] [stdout] ... | [INFO] [stdout] 37 | / fn deserialize(de: D) -> Result [INFO] [stdout] 38 | where [INFO] [stdout] 39 | | D: serde::Deserializer<'de> [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... [INFO] [stdout] 68 | | impl $(<$l>)? Detailed for $t $(<$l>)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^--------^^^^-^^ [INFO] [stdout] | |_______________________________|___________| [INFO] [stdout] | | `Git` is not local [INFO] [stdout] | `Detailed` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/drop/source/git.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / flexible! { [INFO] [stdout] 10 | | /// Information about a git repository where a drop or dependency can be found. [INFO] [stdout] 11 | | #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize)] [INFO] [stdout] 12 | | pub struct Git { [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `flexible` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `flexible` (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/flexible.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 99 | $t_vis enum $t $(<$l>)? { [INFO] [stdout] | _____________________- [INFO] [stdout] 100 | | $(#[doc = $s_doc])+ [INFO] [stdout] 101 | | $s($s_ty), [INFO] [stdout] ... | [INFO] [stdout] 111 | / fn deserialize(de: D) -> Result [INFO] [stdout] 112 | where [INFO] [stdout] 113 | | D: serde::Deserializer<'de> [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... [INFO] [stdout] 142 | | impl $(<$l>)? Detailed for $t $(<$l>)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^--------^^^^-^^ [INFO] [stdout] | |_______________________________|___________| [INFO] [stdout] | | `Version` is not local [INFO] [stdout] | `Detailed` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/drop/version.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / flexible! { [INFO] [stdout] 10 | | /// A drop version. [INFO] [stdout] 11 | | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 12 | | pub enum Version { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `flexible` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `flexible` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/drop/kind/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 6 | metadata: Metadata, [INFO] [stdout] 7 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/drop/kind/exe.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct FindError<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 67 | target: &'a InstallTarget, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/drop/kind/font.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Font { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | metadata: Metadata, [INFO] [stdout] 7 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Font` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/flexible.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 25 | $t_vis struct $t $(<$l>)? { [INFO] [stdout] | ________________________- [INFO] [stdout] 26 | | $(#[doc = $s_doc])+ [INFO] [stdout] 27 | | $s_vis $s: $s_ty, [INFO] [stdout] ... | [INFO] [stdout] 37 | |/ fn deserialize(de: D) -> Result [INFO] [stdout] 38 | || where [INFO] [stdout] 39 | || D: serde::Deserializer<'de> [INFO] [stdout] | ||___________________________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... | [INFO] [stdout] 68 | | impl $(<$l>)? Detailed for $t $(<$l>)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^--------^^^^-^^ [INFO] [stdout] | |________________________________|___________| [INFO] [stdout] | | `DepInfo` is not local [INFO] [stdout] | `Detailed` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/drop/manifest/deps.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / flexible! { [INFO] [stdout] 11 | | /// The value associated with an element listed in the `dependencies` key in the [INFO] [stdout] 12 | | /// manifest. [INFO] [stdout] 13 | | /// [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `flexible` defines the non-local `impl`, and may need to be changed [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flexible` (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/flexible.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 25 | $t_vis struct $t $(<$l>)? { [INFO] [stdout] | _______________________- [INFO] [stdout] 26 | | $(#[doc = $s_doc])+ [INFO] [stdout] 27 | | $s_vis $s: $s_ty, [INFO] [stdout] ... | [INFO] [stdout] 37 | / fn deserialize(de: D) -> Result [INFO] [stdout] 38 | where [INFO] [stdout] 39 | | D: serde::Deserializer<'de> [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... [INFO] [stdout] 68 | | impl $(<$l>)? Detailed for $t $(<$l>)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^--------^^^^-^^ [INFO] [stdout] | |_______________________________|___________| [INFO] [stdout] | | `Git` is not local [INFO] [stdout] | `Detailed` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/drop/source/git.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / flexible! { [INFO] [stdout] 10 | | /// Information about a git repository where a drop or dependency can be found. [INFO] [stdout] 11 | | #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize)] [INFO] [stdout] 12 | | pub struct Git { [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `flexible` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `flexible` (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/flexible.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 99 | $t_vis enum $t $(<$l>)? { [INFO] [stdout] | _____________________- [INFO] [stdout] 100 | | $(#[doc = $s_doc])+ [INFO] [stdout] 101 | | $s($s_ty), [INFO] [stdout] ... | [INFO] [stdout] 111 | / fn deserialize(de: D) -> Result [INFO] [stdout] 112 | where [INFO] [stdout] 113 | | D: serde::Deserializer<'de> [INFO] [stdout] | |___________________________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... [INFO] [stdout] 142 | | impl $(<$l>)? Detailed for $t $(<$l>)? { [INFO] [stdout] | | ^^^^^^^^^^^^^^--------^^^^-^^ [INFO] [stdout] | |_______________________________|___________| [INFO] [stdout] | | `Version` is not local [INFO] [stdout] | `Detailed` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/drop/version.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / flexible! { [INFO] [stdout] 10 | | /// A drop version. [INFO] [stdout] 11 | | #[derive(Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 12 | | pub enum Version { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `flexible` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `flexible` (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 24.69s [INFO] running `Command { std: "docker" "inspect" "2ccdb63c9418900eeda8d3c68e1630c85bf87b7463933289f5f9a201dff6d216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccdb63c9418900eeda8d3c68e1630c85bf87b7463933289f5f9a201dff6d216", kill_on_drop: false }` [INFO] [stdout] 2ccdb63c9418900eeda8d3c68e1630c85bf87b7463933289f5f9a201dff6d216