[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 try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaver%2Fstf-planner" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaver/stf-planner on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "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-6-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" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b686397b4dc640f15265c31b3bea49d894ceeecb94048ac25e55062f2e155e3 [INFO] running `Command { std: "docker" "start" "-a" "5b686397b4dc640f15265c31b3bea49d894ceeecb94048ac25e55062f2e155e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b686397b4dc640f15265c31b3bea49d894ceeecb94048ac25e55062f2e155e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b686397b4dc640f15265c31b3bea49d894ceeecb94048ac25e55062f2e155e3", kill_on_drop: false }` [INFO] [stdout] 5b686397b4dc640f15265c31b3bea49d894ceeecb94048ac25e55062f2e155e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 845629b445a8625e4b0aa6322c8337b48a1ab8c580a58c96bc8ac2838b228825 [INFO] running `Command { std: "docker" "start" "-a" "845629b445a8625e4b0aa6322c8337b48a1ab8c580a58c96bc8ac2838b228825", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/jobs.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/jobs.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/ships.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/jobs.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/jobs.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/ships.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: 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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TalentRecord` [INFO] [stdout] 75 | #[serde(rename_all="PascalCase")] [INFO] [stdout] 76 | struct TalentRecord { [INFO] [stdout] | ------------ `TalentRecord` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_JobSkillRecord` [INFO] [stdout] 103 | struct JobSkillRecord { [INFO] [stdout] | -------------- `JobSkillRecord` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ships.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ShipComponent` [INFO] [stdout] 16 | #[serde(rename_all="PascalCase")] [INFO] [stdout] 17 | pub struct ShipComponent { [INFO] [stdout] | ------------- `ShipComponent` 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: 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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TalentRecord` [INFO] [stdout] 75 | #[serde(rename_all="PascalCase")] [INFO] [stdout] 76 | struct TalentRecord { [INFO] [stdout] | ------------ `TalentRecord` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jobs.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_JobSkillRecord` [INFO] [stdout] 103 | struct JobSkillRecord { [INFO] [stdout] | -------------- `JobSkillRecord` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ships.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ShipComponent` [INFO] [stdout] 16 | #[serde(rename_all="PascalCase")] [INFO] [stdout] 17 | pub struct ShipComponent { [INFO] [stdout] | ------------- `ShipComponent` 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 11.40s [INFO] running `Command { std: "docker" "inspect" "845629b445a8625e4b0aa6322c8337b48a1ab8c580a58c96bc8ac2838b228825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845629b445a8625e4b0aa6322c8337b48a1ab8c580a58c96bc8ac2838b228825", kill_on_drop: false }` [INFO] [stdout] 845629b445a8625e4b0aa6322c8337b48a1ab8c580a58c96bc8ac2838b228825