[INFO] cloning repository https://github.com/naftulikay/nfty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naftulikay/nfty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaftulikay%2Fnfty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaftulikay%2Fnfty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46f80ddad847f96330779b28564704978ad20198 [INFO] checking naftulikay/nfty/46f80ddad847f96330779b28564704978ad20198 against master#06194cadcd0948a7100b46737f61e82b8c00d632 for pr-117967-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaftulikay%2Fnfty" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naftulikay/nfty on toolchain 06194cadcd0948a7100b46737f61e82b8c00d632 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/naftulikay/nfty [INFO] finished tweaking git repo https://github.com/naftulikay/nfty [INFO] tweaked toml for git repo https://github.com/naftulikay/nfty written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/naftulikay/nfty already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] [stderr] Downloaded syn v0.15.23 [INFO] [stderr] Downloaded log4rs-syslog v3.0.3 [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] [stderr] Downloaded ordered-float v1.0.1 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded redox_users v0.2.0 [INFO] [stderr] Downloaded autocfg v0.1.1 [INFO] [stderr] Downloaded serde-value v0.5.3 [INFO] [stderr] Downloaded dirs v1.0.4 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded smallvec v0.6.7 [INFO] [stderr] Downloaded log4rs v0.8.1 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded openssl-sys v0.9.40 [INFO] [stderr] Downloaded openssl v0.10.16 [INFO] [stderr] Downloaded argon2rs v0.2.5 [INFO] [stderr] Downloaded libssh2-sys v0.2.11 [INFO] [stderr] Downloaded backtrace v0.3.13 [INFO] [stderr] Downloaded serde_yaml v0.8.8 [INFO] [stderr] Downloaded serde_derive v1.0.82 [INFO] [stderr] Downloaded libgit2-sys v0.7.11 [INFO] [stderr] Downloaded serde v1.0.82 [INFO] [stderr] Downloaded askama_derive v0.7.2 [INFO] [stderr] Downloaded askama v0.7.2 [INFO] [stderr] Downloaded askama_shared v0.7.2 [INFO] [stderr] Downloaded curl-sys v0.4.15 [INFO] [stderr] Downloaded git2 v0.7.5 [INFO] [stderr] Downloaded miniz_oxide v0.2.0 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.0 [INFO] [stderr] Downloaded pbr v1.0.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.11 [INFO] [stderr] Downloaded rustfix v0.4.4 [INFO] [stderr] Downloaded openssl-src v111.17.0+1.1.1m [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 332a0b205a097834278fa56399960c1d15f078ee8c2f4c056529c1a860c98333 [INFO] running `Command { std: "docker" "start" "-a" "332a0b205a097834278fa56399960c1d15f078ee8c2f4c056529c1a860c98333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332a0b205a097834278fa56399960c1d15f078ee8c2f4c056529c1a860c98333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332a0b205a097834278fa56399960c1d15f078ee8c2f4c056529c1a860c98333", kill_on_drop: false }` [INFO] [stdout] 332a0b205a097834278fa56399960c1d15f078ee8c2f4c056529c1a860c98333 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f181c6373dc135d5cb5486af2d0d990b4255b843b40399d8a1979ebd451483 [INFO] running `Command { std: "docker" "start" "-a" "b8f181c6373dc135d5cb5486af2d0d990b4255b843b40399d8a1979ebd451483", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking rustc-demangle v0.1.11 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling libssh2-sys v0.2.11 [INFO] [stderr] Compiling curl-sys v0.4.15 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling askama_shared v0.7.2 [INFO] [stderr] Checking log4rs v0.8.1 [INFO] [stderr] Checking rustfix v0.4.4 [INFO] [stderr] Compiling askama_derive v0.7.2 [INFO] [stderr] Checking log4rs-syslog v3.0.3 [INFO] [stderr] Compiling askama v0.7.2 [INFO] [stderr] Compiling nfty v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nfty-derive v0.1.0 (/opt/rustwide/workdir/nfty-derive) [INFO] [stderr] Checking git2 v0.7.5 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/project/parse/ansible.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RoleMetadata` [INFO] [stdout] 10 | pub struct RoleMetadata { [INFO] [stdout] | ------------ `RoleMetadata` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/project/parse/ansible.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GalaxyInfo` [INFO] [stdout] 35 | pub struct GalaxyInfo { [INFO] [stdout] | ---------- `GalaxyInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/project/parse/ansible.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Role` [INFO] [stdout] 42 | #[serde(untagged)] [INFO] [stdout] 43 | pub enum Role { [INFO] [stdout] | ---- `Role` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/project/parse/ansible.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ComplexRole` [INFO] [stdout] 49 | pub struct ComplexRole { [INFO] [stdout] | ----------- `ComplexRole` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/project/parse/ansible.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RoleMetadata` [INFO] [stdout] 10 | pub struct RoleMetadata { [INFO] [stdout] | ------------ `RoleMetadata` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/project/parse/ansible.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GalaxyInfo` [INFO] [stdout] 35 | pub struct GalaxyInfo { [INFO] [stdout] | ---------- `GalaxyInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/project/parse/ansible.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Role` [INFO] [stdout] 42 | #[serde(untagged)] [INFO] [stdout] 43 | pub enum Role { [INFO] [stdout] | ---- `Role` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/project/parse/ansible.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ComplexRole` [INFO] [stdout] 49 | pub struct ComplexRole { [INFO] [stdout] | ----------- `ComplexRole` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.1.1, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b8f181c6373dc135d5cb5486af2d0d990b4255b843b40399d8a1979ebd451483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f181c6373dc135d5cb5486af2d0d990b4255b843b40399d8a1979ebd451483", kill_on_drop: false }` [INFO] [stdout] b8f181c6373dc135d5cb5486af2d0d990b4255b843b40399d8a1979ebd451483