[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] checking shaver/stf-planner against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaver%2Fstf-planner" "/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/shaver/stf-planner on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-0-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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.90 [INFO] [stderr] Downloaded csv-core v0.1.5 [INFO] [stderr] Downloaded serde_derive v1.0.90 [INFO] [stderr] Downloaded syn v0.15.30 [INFO] [stderr] Downloaded libc v0.2.51 [INFO] [stderr] Downloaded csv v1.0.6 [INFO] [stderr] Downloaded redox_syscall v0.1.53 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 581f4b0b7ea47b0039169a2dffe94ec1fdebd30e0061d0a5ebf2a58f27ef3f48 [INFO] running `Command { std: "docker" "start" "-a" "581f4b0b7ea47b0039169a2dffe94ec1fdebd30e0061d0a5ebf2a58f27ef3f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "581f4b0b7ea47b0039169a2dffe94ec1fdebd30e0061d0a5ebf2a58f27ef3f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581f4b0b7ea47b0039169a2dffe94ec1fdebd30e0061d0a5ebf2a58f27ef3f48", kill_on_drop: false }` [INFO] [stdout] 581f4b0b7ea47b0039169a2dffe94ec1fdebd30e0061d0a5ebf2a58f27ef3f48 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e6833b5a8df5d35f4aa9b17a2db39d50963618d37ee172c1f06bf366456906 [INFO] running `Command { std: "docker" "start" "-a" "15e6833b5a8df5d35f4aa9b17a2db39d50963618d37ee172c1f06bf366456906", 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 serde v1.0.90 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Checking csv v1.0.6 [INFO] [stderr] Checking stf-data v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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: 5 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.92s [INFO] running `Command { std: "docker" "inspect" "15e6833b5a8df5d35f4aa9b17a2db39d50963618d37ee172c1f06bf366456906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e6833b5a8df5d35f4aa9b17a2db39d50963618d37ee172c1f06bf366456906", kill_on_drop: false }` [INFO] [stdout] 15e6833b5a8df5d35f4aa9b17a2db39d50963618d37ee172c1f06bf366456906 [INFO] checking shaver/stf-planner against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaver%2Fstf-planner" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaver/stf-planner on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-0-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78d551f771859e0b7a4f9059e634ba44d505eea36efc417fde0b72efadf2c6c2 [INFO] running `Command { std: "docker" "start" "-a" "78d551f771859e0b7a4f9059e634ba44d505eea36efc417fde0b72efadf2c6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78d551f771859e0b7a4f9059e634ba44d505eea36efc417fde0b72efadf2c6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d551f771859e0b7a4f9059e634ba44d505eea36efc417fde0b72efadf2c6c2", kill_on_drop: false }` [INFO] [stdout] 78d551f771859e0b7a4f9059e634ba44d505eea36efc417fde0b72efadf2c6c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb5e693cffe9da831fd6471284cdb2b7b65847be51b56884dd87f801e3db289 [INFO] running `Command { std: "docker" "start" "-a" "ffb5e693cffe9da831fd6471284cdb2b7b65847be51b56884dd87f801e3db289", 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 serde v1.0.90 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Checking csv v1.0.6 [INFO] [stderr] Checking stf-data v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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] error: 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 neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: `#[warn(dead_code)]` on by default [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] error: 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 neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stf-data` (bin "stf-data") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stf-data` (bin "stf-data" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ffb5e693cffe9da831fd6471284cdb2b7b65847be51b56884dd87f801e3db289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb5e693cffe9da831fd6471284cdb2b7b65847be51b56884dd87f801e3db289", kill_on_drop: false }` [INFO] [stdout] ffb5e693cffe9da831fd6471284cdb2b7b65847be51b56884dd87f801e3db289