[INFO] fetching crate oceanpkg 0.0.11... [INFO] checking oceanpkg-0.0.11 against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] extracting crate oceanpkg 0.0.11 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate oceanpkg 0.0.11 on toolchain ef5216c337126ffe24d074826f4023948c4a9b8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 231 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding http v0.1.21 (available: v1.2.0) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.12) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.25) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.20) [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" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bcaf0bb37b55e6c53f11651cff714acb994a9afca362efd203aff65588211c8 [INFO] running `Command { std: "docker" "start" "-a" "1bcaf0bb37b55e6c53f11651cff714acb994a9afca362efd203aff65588211c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bcaf0bb37b55e6c53f11651cff714acb994a9afca362efd203aff65588211c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bcaf0bb37b55e6c53f11651cff714acb994a9afca362efd203aff65588211c8", kill_on_drop: false }` [INFO] [stdout] 1bcaf0bb37b55e6c53f11651cff714acb994a9afca362efd203aff65588211c8 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 599b347dc296b6ed7511760ab07c335e78b21c13351b3981acf71610cf54018c [INFO] running `Command { std: "docker" "start" "-a" "599b347dc296b6ed7511760ab07c335e78b21c13351b3981acf71610cf54018c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking oceanpkg-shared v0.1.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking xattr v1.4.0 [INFO] [stderr] Checking tempfile v3.16.0 [INFO] [stderr] Checking tar v0.4.43 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [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] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking linfo v0.1.3 [INFO] [stderr] Checking semver v0.9.0 [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 39.72s [INFO] running `Command { std: "docker" "inspect" "599b347dc296b6ed7511760ab07c335e78b21c13351b3981acf71610cf54018c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599b347dc296b6ed7511760ab07c335e78b21c13351b3981acf71610cf54018c", kill_on_drop: false }` [INFO] [stdout] 599b347dc296b6ed7511760ab07c335e78b21c13351b3981acf71610cf54018c