[INFO] cloning repository https://github.com/Cerberuser/darkest_dungeon_mod_bundler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cerberuser/darkest_dungeon_mod_bundler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCerberuser%2Fdarkest_dungeon_mod_bundler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCerberuser%2Fdarkest_dungeon_mod_bundler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 242cf7ab1e092bea56cc8e8ed9a0190eb7674696 [INFO] checking Cerberuser/darkest_dungeon_mod_bundler/242cf7ab1e092bea56cc8e8ed9a0190eb7674696 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCerberuser%2Fdarkest_dungeon_mod_bundler" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cerberuser/darkest_dungeon_mod_bundler on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cerberuser/darkest_dungeon_mod_bundler [INFO] finished tweaking git repo https://github.com/Cerberuser/darkest_dungeon_mod_bundler [INFO] tweaked toml for git repo https://github.com/Cerberuser/darkest_dungeon_mod_bundler written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Cerberuser/darkest_dungeon_mod_bundler 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" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded const-random v0.1.8 [INFO] [stderr] Downloaded array-macro v1.0.5 [INFO] [stderr] Downloaded const-random-macro v0.1.8 [INFO] [stderr] Downloaded serde-xml-rs v0.4.0 [INFO] [stderr] Downloaded enumset_derive v0.5.0 [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded generator v0.6.21 [INFO] [stderr] Downloaded arc-swap v0.4.7 [INFO] [stderr] Downloaded serde v1.0.112 [INFO] [stderr] Downloaded crossterm v0.17.5 [INFO] [stderr] Downloaded combine v4.2.1 [INFO] [stderr] Downloaded cursive_core v0.1.0 [INFO] [stderr] Downloaded loom v0.3.4 [INFO] [stderr] Downloaded bytes v0.5.5 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded cursive v0.15.0 [INFO] [stderr] Downloaded serde_derive v1.0.112 [INFO] [stderr] Downloaded enumset v1.0.0 [INFO] [stderr] Downloaded unindent v0.1.6 [INFO] [stderr] Downloaded signal-hook v0.1.15 [INFO] [stderr] Downloaded serde_json v1.0.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11f8be6d43a3fe9751607a57e4c4fa1da5c48d53801e3e89f0ddaa2bfdf9f07c [INFO] running `Command { std: "docker" "start" "-a" "11f8be6d43a3fe9751607a57e4c4fa1da5c48d53801e3e89f0ddaa2bfdf9f07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11f8be6d43a3fe9751607a57e4c4fa1da5c48d53801e3e89f0ddaa2bfdf9f07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f8be6d43a3fe9751607a57e4c4fa1da5c48d53801e3e89f0ddaa2bfdf9f07c", kill_on_drop: false }` [INFO] [stdout] 11f8be6d43a3fe9751607a57e4c4fa1da5c48d53801e3e89f0ddaa2bfdf9f07c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b928474fcffd8b45c920e0e9f2610cd2fed48e495359f3fb104ed168bfc96a6 [INFO] running `Command { std: "docker" "start" "-a" "6b928474fcffd8b45c920e0e9f2610cd2fed48e495359f3fb104ed168bfc96a6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling unindent v0.1.6 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking combine v4.2.1 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking signal-hook v0.1.15 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking crossterm v0.17.5 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling enumset_derive v0.5.0 [INFO] [stderr] Checking enumset v1.0.0 [INFO] [stderr] Checking cursive_core v0.1.0 [INFO] [stderr] Checking cursive v0.15.0 [INFO] [stderr] Checking serde-xml-rs v0.4.0 [INFO] [stderr] Checking darkest_dungeon_mod_bundler v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> src/bundler/deploy.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> src/bundler/deploy.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MapPath` is never used [INFO] [stdout] --> src/bundler/structures.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait MapPath: Ord + Eq {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BTreeMappable` is never used [INFO] [stdout] --> src/bundler/structures.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | trait BTreeMappable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DarkestEntry` is never constructed [INFO] [stdout] --> src/bundler/structures/darkest.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct DarkestEntry(Vec<(String, Vec)>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DarkestEntry` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DarkestFile` is never constructed [INFO] [stdout] --> src/bundler/structures/darkest.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct DarkestFile(Vec<(String, DarkestEntry)>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DarkestFile` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_value` is never used [INFO] [stdout] --> src/bundler/structures/darkest.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn key_value( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment` is never used [INFO] [stdout] --> src/bundler/structures/darkest.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn comment() -> impl Parser [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ItemsParser` is never constructed [INFO] [stdout] --> src/bundler/structures/darkest.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | struct ItemsParser(PhantomData); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bundler/structures/darkest.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl ItemsParser { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 120 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ItemStepResult` is never used [INFO] [stdout] --> src/bundler/structures/darkest.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | enum ItemStepResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `key`, `subkey`, `ident`, `value`, and `parser` are never used [INFO] [stdout] --> src/bundler/structures/darkest.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl DarkestEntry { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 202 | fn key() -> impl Parser [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn subkey() -> impl Parser [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | fn ident() -> impl Parser [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn value() -> impl Parser [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn parser() -> impl Parser [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parser` is never used [INFO] [stdout] --> src/bundler/structures/darkest.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 271 | impl DarkestFile { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 272 | pub fn parser() -> impl Parser [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonFile` is never constructed [INFO] [stdout] --> src/bundler/structures/json.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct JsonFile(Value); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten` is never used [INFO] [stdout] --> src/bundler/structures/json.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn flatten(prefix: JsonPath, value: &Value) -> Vec<(JsonPath, &Value)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_mut` is never used [INFO] [stdout] --> src/bundler/structures/json.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn flatten_mut(prefix: JsonPath, value: &mut Value) -> Vec<(JsonPath, &mut Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_owned` is never used [INFO] [stdout] --> src/bundler/structures/json.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn flatten_owned(prefix: JsonPath, value: Value) -> Vec<(JsonPath, Value)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/loader.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Default, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Project` [INFO] [stdout] 8 | pub struct Project { [INFO] [stdout] | ------- `Project` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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 `Serialize` (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/loader.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Default, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Project` [INFO] [stdout] 8 | pub struct Project { [INFO] [stdout] | ------- `Project` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MapPath` is never used [INFO] [stdout] --> src/bundler/structures.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait MapPath: Ord + Eq {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map` and `map_mut` are never used [INFO] [stdout] --> src/bundler/structures.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 9 | trait BTreeMappable: Sized { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn map(&self) -> BTreeMap; [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | fn map_mut(&mut self) -> BTreeMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten` is never used [INFO] [stdout] --> src/bundler/structures/json.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn flatten(prefix: JsonPath, value: &Value) -> Vec<(JsonPath, &Value)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_mut` is never used [INFO] [stdout] --> src/bundler/structures/json.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn flatten_mut(prefix: JsonPath, value: &mut Value) -> Vec<(JsonPath, &mut Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [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/loader.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Default, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Project` [INFO] [stdout] 8 | pub struct Project { [INFO] [stdout] | ------- `Project` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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 `Serialize` (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/loader.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Default, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Project` [INFO] [stdout] 8 | pub struct Project { [INFO] [stdout] | ------- `Project` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.10s [INFO] running `Command { std: "docker" "inspect" "6b928474fcffd8b45c920e0e9f2610cd2fed48e495359f3fb104ed168bfc96a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b928474fcffd8b45c920e0e9f2610cd2fed48e495359f3fb104ed168bfc96a6", kill_on_drop: false }` [INFO] [stdout] 6b928474fcffd8b45c920e0e9f2610cd2fed48e495359f3fb104ed168bfc96a6