[INFO] cloning repository https://github.com/shaver/stf-planner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaver/stf-planner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaver%2Fstf-planner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaver%2Fstf-planner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 071db182eb054ba8ed30a808130df8c9269f4dbd [INFO] testing shaver/stf-planner against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaver%2Fstf-planner" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaver/stf-planner on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaver/stf-planner [INFO] finished tweaking git repo https://github.com/shaver/stf-planner [INFO] tweaked toml for git repo https://github.com/shaver/stf-planner written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shaver/stf-planner 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.53 [INFO] [stderr] Downloaded csv v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34b68650e20f8d7d994fa6f4687402c6284bfcf8f4d01063b6912174188dd216 [INFO] running `Command { std: "docker" "start" "-a" "34b68650e20f8d7d994fa6f4687402c6284bfcf8f4d01063b6912174188dd216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34b68650e20f8d7d994fa6f4687402c6284bfcf8f4d01063b6912174188dd216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b68650e20f8d7d994fa6f4687402c6284bfcf8f4d01063b6912174188dd216", kill_on_drop: false }` [INFO] [stdout] 34b68650e20f8d7d994fa6f4687402c6284bfcf8f4d01063b6912174188dd216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bb600648aa00c678ddb5894ab26ce56617158c7456adbb95fc8c6db48254403 [INFO] running `Command { std: "docker" "start" "-a" "2bb600648aa00c678ddb5894ab26ce56617158c7456adbb95fc8c6db48254403", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling csv v1.0.6 [INFO] [stderr] Compiling stf-data v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `description`, `cost`, and `type_` are never read [INFO] [stdout] --> src/jobs.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Talent { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub cost: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub type_: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Talent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/jobs.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Job { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ships.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ShipComponent { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | size: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | #[serde(rename="Current Mass")] mass: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pilot: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[serde(rename="Ship Ops")] ship_ops: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | gunnery: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | electronics: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | navigation: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | cargo: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | #[serde(rename="Max Crew")] max_crew: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | #[serde(rename="Max Officers")] max_officers: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | armour: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | shield: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | #[serde(rename="Jump Cost")] jump_cost: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | #[serde(rename="Fuel Tank")] fuel_tank: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | guest: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | prison: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | medical: u32 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShipComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ShipComponentMap` is never used [INFO] [stdout] --> src/ships.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type ShipComponentMap = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_csv_reader` is never used [INFO] [stdout] --> src/ships.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn make_csv_reader(rdr: T) -> csv::Reader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_ship_components_from_reader` is never used [INFO] [stdout] --> src/ships.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn load_ship_components_from_reader(rdr: T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_ship_components` is never used [INFO] [stdout] --> src/ships.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn load_ship_components(components_file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/jobs.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TalentRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/jobs.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_JobSkillRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/ships.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ShipComponent` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.75s [INFO] running `Command { std: "docker" "inspect" "2bb600648aa00c678ddb5894ab26ce56617158c7456adbb95fc8c6db48254403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb600648aa00c678ddb5894ab26ce56617158c7456adbb95fc8c6db48254403", kill_on_drop: false }` [INFO] [stdout] 2bb600648aa00c678ddb5894ab26ce56617158c7456adbb95fc8c6db48254403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be783d152589ef11fe4861a827cb1de38be5e2812bfef644b1bca0051cd20f20 [INFO] running `Command { std: "docker" "start" "-a" "be783d152589ef11fe4861a827cb1de38be5e2812bfef644b1bca0051cd20f20", kill_on_drop: false }` [INFO] [stderr] Compiling stf-data v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `description` and `cost` are never read [INFO] [stdout] --> src/jobs.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Talent { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub cost: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Talent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ships.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ShipComponent { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | gunnery: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | cargo: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | #[serde(rename="Max Crew")] max_crew: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | shield: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | #[serde(rename="Jump Cost")] jump_cost: u32, [INFO] [stdout] 32 | #[serde(rename="Fuel Tank")] fuel_tank: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | guest: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | prison: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShipComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_ship_components` is never used [INFO] [stdout] --> src/ships.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn load_ship_components(components_file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/jobs.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TalentRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/jobs.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_JobSkillRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/ships.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ShipComponent` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "be783d152589ef11fe4861a827cb1de38be5e2812bfef644b1bca0051cd20f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be783d152589ef11fe4861a827cb1de38be5e2812bfef644b1bca0051cd20f20", kill_on_drop: false }` [INFO] [stdout] be783d152589ef11fe4861a827cb1de38be5e2812bfef644b1bca0051cd20f20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a438cb559321f01fc76f6cba1a702eb070bbbbc5ba76b03e3a006c46053aa749 [INFO] running `Command { std: "docker" "start" "-a" "a438cb559321f01fc76f6cba1a702eb070bbbbc5ba76b03e3a006c46053aa749", kill_on_drop: false }` [INFO] [stderr] warning: fields `description` and `cost` are never read [INFO] [stderr] --> src/jobs.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Talent { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | pub description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 22 | pub cost: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Talent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/ships.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct ShipComponent { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | gunnery: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | cargo: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | #[serde(rename="Max Crew")] max_crew: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | shield: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 31 | #[serde(rename="Jump Cost")] jump_cost: u32, [INFO] [stderr] 32 | #[serde(rename="Fuel Tank")] fuel_tank: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 33 | guest: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 34 | prison: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ShipComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `load_ship_components` is never used [INFO] [stderr] --> src/ships.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn load_ship_components(components_file: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stderr] --> src/jobs.rs:74:17 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TalentRecord` [INFO] [stderr] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stderr] --> src/jobs.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_JobSkillRecord` [INFO] [stderr] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stderr] --> src/ships.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Default, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ShipComponent` [INFO] [stderr] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stf-data` (bin "stf-data" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stf_data-b112d15d178c80a3) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test jobs::tests::test_load_skills ... ok [INFO] [stdout] test jobs::tests::test_load_talents ... ok [INFO] [stdout] test ships::tests::test_load_ship_components ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a438cb559321f01fc76f6cba1a702eb070bbbbc5ba76b03e3a006c46053aa749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a438cb559321f01fc76f6cba1a702eb070bbbbc5ba76b03e3a006c46053aa749", kill_on_drop: false }` [INFO] [stdout] a438cb559321f01fc76f6cba1a702eb070bbbbc5ba76b03e3a006c46053aa749