[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 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCerberuser%2Fdarkest_dungeon_mod_bundler" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Cerberuser/darkest_dungeon_mod_bundler on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded enum-map v0.6.2 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded enumset_derive v0.5.0 [INFO] [stderr] Downloaded slab v0.4.2 [INFO] [stderr] Downloaded array-macro v1.0.5 [INFO] [stderr] Downloaded simplelog v0.8.0 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded enumset v1.0.0 [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] [stderr] Downloaded enum-map-derive v0.4.3 [INFO] [stderr] Downloaded proc-macro-hack v0.5.16 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded unindent v0.1.6 [INFO] [stderr] Downloaded serde-xml-rs v0.4.0 [INFO] [stderr] Downloaded num v0.2.1 [INFO] [stderr] Downloaded indoc-impl v0.3.6 [INFO] [stderr] Downloaded indoc v0.3.6 [INFO] [stderr] Downloaded generator v0.6.21 [INFO] [stderr] Downloaded lock_api v0.3.4 [INFO] [stderr] Downloaded signal-hook v0.1.15 [INFO] [stderr] Downloaded bytes v0.5.5 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded loom v0.3.4 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded crossterm v0.17.5 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded combine v4.2.1 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded cursive_core v0.1.0 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded serde v1.0.112 [INFO] [stderr] Downloaded serde_json v1.0.55 [INFO] [stderr] Downloaded serde_derive v1.0.112 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded num-complex v0.2.4 [INFO] [stderr] Downloaded arc-swap v0.4.7 [INFO] [stderr] Downloaded cursive v0.15.0 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded ahash v0.3.8 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded itoa v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ad6b15c9ff7da070fc1c4bbe47d720b4c0944802774049dba4659d53edc132b [INFO] running `Command { std: "docker" "start" "-a" "8ad6b15c9ff7da070fc1c4bbe47d720b4c0944802774049dba4659d53edc132b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ad6b15c9ff7da070fc1c4bbe47d720b4c0944802774049dba4659d53edc132b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ad6b15c9ff7da070fc1c4bbe47d720b4c0944802774049dba4659d53edc132b", kill_on_drop: false }` [INFO] [stdout] 8ad6b15c9ff7da070fc1c4bbe47d720b4c0944802774049dba4659d53edc132b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85ae84496da658a745676b56d38e3992460ab95a86b0354e713c9efd93c7b8b8 [INFO] running `Command { std: "docker" "start" "-a" "85ae84496da658a745676b56d38e3992460ab95a86b0354e713c9efd93c7b8b8", kill_on_drop: false }` [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 num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unindent v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking combine v4.2.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking signal-hook v0.1.15 [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 enum-map-derive v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking indoc v0.3.6 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: `#[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 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: 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)]` (part of `#[warn(unused)]`) 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] [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] [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: enum `JsonPathPart` is never used [INFO] [stdout] --> src/bundler/structures/json.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum JsonPathPart { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonPath` is never used [INFO] [stdout] --> src/bundler/structures/json.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type JsonPath = Vec; [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: `#[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 warning originates in the derive macro `Deserialize` (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" "85ae84496da658a745676b56d38e3992460ab95a86b0354e713c9efd93c7b8b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ae84496da658a745676b56d38e3992460ab95a86b0354e713c9efd93c7b8b8", kill_on_drop: false }` [INFO] [stdout] 85ae84496da658a745676b56d38e3992460ab95a86b0354e713c9efd93c7b8b8