[INFO] fetching crate oceanpkg 0.0.11... [INFO] checking oceanpkg-0.0.11 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate oceanpkg 0.0.11 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oceanpkg 0.0.11 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 240 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68bc843883963bc9ea31c8e515a6866510451a43b7b8a0d9c9e93edb66b2e0d3 [INFO] running `Command { std: "docker" "start" "-a" "68bc843883963bc9ea31c8e515a6866510451a43b7b8a0d9c9e93edb66b2e0d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68bc843883963bc9ea31c8e515a6866510451a43b7b8a0d9c9e93edb66b2e0d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68bc843883963bc9ea31c8e515a6866510451a43b7b8a0d9c9e93edb66b2e0d3", kill_on_drop: false }` [INFO] [stdout] 68bc843883963bc9ea31c8e515a6866510451a43b7b8a0d9c9e93edb66b2e0d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 894290a8aced5a134fc1116ebc25a9595f569be9fb93a293f2d243cda9352961 [INFO] running `Command { std: "docker" "start" "-a" "894290a8aced5a134fc1116ebc25a9595f569be9fb93a293f2d243cda9352961", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking oceanpkg-shared v0.1.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking tar v0.4.44 [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 zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [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 45.08s [INFO] running `Command { std: "docker" "inspect" "894290a8aced5a134fc1116ebc25a9595f569be9fb93a293f2d243cda9352961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894290a8aced5a134fc1116ebc25a9595f569be9fb93a293f2d243cda9352961", kill_on_drop: false }` [INFO] [stdout] 894290a8aced5a134fc1116ebc25a9595f569be9fb93a293f2d243cda9352961