[INFO] fetching crate oceanpkg 0.0.11... [INFO] checking oceanpkg-0.0.11 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate oceanpkg 0.0.11 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oceanpkg 0.0.11 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 245 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.4) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding http v0.1.21 (available: v1.4.0) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.13.2) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.27) [INFO] [stderr] Adding toml v0.5.11 (available: v1.1.0+spec-1.1.0) [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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded try_from v0.3.2 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded want v0.2.0 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded phf_macros v0.8.0 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded reqwest v0.9.24 [INFO] [stderr] Downloaded http v0.1.21 [INFO] [stderr] Downloaded hyper v0.12.36 [INFO] [stderr] Downloaded h2 v0.1.26 [INFO] [stderr] Downloaded linfo v0.1.3 [INFO] [stderr] Downloaded cookie v0.12.0 [INFO] [stderr] Downloaded cookie_store v0.7.0 [INFO] [stderr] Downloaded winreg v0.6.2 [INFO] [stderr] Downloaded hyper-tls v0.3.2 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded serde_urlencoded v0.5.5 [INFO] [stderr] Downloaded futures-cpupool v0.1.8 [INFO] [stderr] Downloaded string v0.2.1 [INFO] [stderr] Downloaded oceanpkg-shared v0.1.1 [INFO] [stderr] Downloaded http-body v0.1.0 [INFO] [stderr] Downloaded tokio-buf v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80075f05ab32484c009666c79fc16915df67b67dc320ef4f3afd5fbeaff2c2ee [INFO] running `Command { std: "docker" "start" "-a" "80075f05ab32484c009666c79fc16915df67b67dc320ef4f3afd5fbeaff2c2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80075f05ab32484c009666c79fc16915df67b67dc320ef4f3afd5fbeaff2c2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80075f05ab32484c009666c79fc16915df67b67dc320ef4f3afd5fbeaff2c2ee", kill_on_drop: false }` [INFO] [stdout] 80075f05ab32484c009666c79fc16915df67b67dc320ef4f3afd5fbeaff2c2ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be4afec6bbfb7862e173a0b300ca8544c94c8cdb34cc8c9bef77ec32a6f4df09 [INFO] running `Command { std: "docker" "start" "-a" "be4afec6bbfb7862e173a0b300ca8544c94c8cdb34cc8c9bef77ec32a6f4df09", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking oceanpkg-shared v0.1.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking tar v0.4.45 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking linfo v0.1.3 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 22.87s [INFO] running `Command { std: "docker" "inspect" "be4afec6bbfb7862e173a0b300ca8544c94c8cdb34cc8c9bef77ec32a6f4df09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be4afec6bbfb7862e173a0b300ca8544c94c8cdb34cc8c9bef77ec32a6f4df09", kill_on_drop: false }` [INFO] [stdout] be4afec6bbfb7862e173a0b300ca8544c94c8cdb34cc8c9bef77ec32a6f4df09