[INFO] cloning repository https://github.com/moxian/cdda-stuffs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moxian/cdda-stuffs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoxian%2Fcdda-stuffs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoxian%2Fcdda-stuffs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87d7f3ed9ab6fc759b2f2bfdf44482d3c989afe4 [INFO] testing moxian/cdda-stuffs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoxian%2Fcdda-stuffs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/moxian/cdda-stuffs [INFO] finished tweaking git repo https://github.com/moxian/cdda-stuffs [INFO] tweaked toml for git repo https://github.com/moxian/cdda-stuffs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/moxian/cdda-stuffs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/moxian/cdda-stuffs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b727fda50da44d6ee7b21edbd4739ed14f30beee6c028add3b0ec596fb9d3051 [INFO] running `Command { std: "docker" "start" "-a" "b727fda50da44d6ee7b21edbd4739ed14f30beee6c028add3b0ec596fb9d3051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b727fda50da44d6ee7b21edbd4739ed14f30beee6c028add3b0ec596fb9d3051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b727fda50da44d6ee7b21edbd4739ed14f30beee6c028add3b0ec596fb9d3051", kill_on_drop: false }` [INFO] [stdout] b727fda50da44d6ee7b21edbd4739ed14f30beee6c028add3b0ec596fb9d3051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e9df5494257d9d8c8339b6e1fbb3961662197b0913ce4edc86582514f4464a6 [INFO] running `Command { std: "docker" "start" "-a" "8e9df5494257d9d8c8339b6e1fbb3961662197b0913ce4edc86582514f4464a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Compiling structopt v0.3.15 [INFO] [stderr] Compiling json5 v0.2.8 [INFO] [stderr] Compiling food v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/schema.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | ThreeList(String, i32, Vec), [INFO] [stdout] | --------- ^^^^^^ ^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ComponentDescRaw` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 84 - ThreeList(String, i32, Vec), [INFO] [stdout] 84 + ThreeList((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ`, `name`, `elec_resist`, and `chip_resist` are never read [INFO] [stdout] --> src/schema.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 204 | #[serde(rename = "type")] [INFO] [stdout] 205 | pub typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub elec_resist: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 217 | #[serde(default)] // blood and friends [INFO] [stdout] 218 | pub chip_resist: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/schema.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub(crate) struct Requirement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 225 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Requirement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_contains_weight` and `moves` are never read [INFO] [stdout] --> src/schema.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 293 | pub(crate) struct PocketNormal { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 294 | pub max_contains_volume: Volume, [INFO] [stdout] 295 | pub max_contains_weight: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | #[serde(default)] // drinking_hat [INFO] [stdout] 297 | pub moves: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PocketNormal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ammo_restriction` is never read [INFO] [stdout] --> src/schema.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub(crate) struct PocketAmmo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 304 | ammo_restriction: Map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PocketAmmo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/schema.rs:311:10 [INFO] [stdout] | [INFO] [stdout] 311 | Ammo(PocketAmmo), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PocketData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 311 - Ammo(PocketAmmo), [INFO] [stdout] 311 + Ammo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `subtype` are never read [INFO] [stdout] --> src/schema.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 455 | pub(crate) struct ItemGroup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 456 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 457 | pub subtype: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemGroup` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/schema.rs:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | Scary(Scary), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 498 - Scary(Scary), [INFO] [stdout] 498 + Scary(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `show_multiplier` is never read [INFO] [stdout] --> src/graphs.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 620 | struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 635 | show_multiplier: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/graphs.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | drop(out_file); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut File` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 606 - drop(out_file); [INFO] [stdout] 606 + let _ = out_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.58s [INFO] running `Command { std: "docker" "inspect" "8e9df5494257d9d8c8339b6e1fbb3961662197b0913ce4edc86582514f4464a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9df5494257d9d8c8339b6e1fbb3961662197b0913ce4edc86582514f4464a6", kill_on_drop: false }` [INFO] [stdout] 8e9df5494257d9d8c8339b6e1fbb3961662197b0913ce4edc86582514f4464a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 665e865e9aa724fc54e1fec1888c95aa7270c9b8ce0abc029634ef07f797f57a [INFO] running `Command { std: "docker" "start" "-a" "665e865e9aa724fc54e1fec1888c95aa7270c9b8ce0abc029634ef07f797f57a", kill_on_drop: false }` [INFO] [stderr] Compiling food v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/schema.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | ThreeList(String, i32, Vec), [INFO] [stdout] | --------- ^^^^^^ ^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ComponentDescRaw` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 84 - ThreeList(String, i32, Vec), [INFO] [stdout] 84 + ThreeList((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ`, `name`, `elec_resist`, and `chip_resist` are never read [INFO] [stdout] --> src/schema.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 204 | #[serde(rename = "type")] [INFO] [stdout] 205 | pub typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub elec_resist: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 217 | #[serde(default)] // blood and friends [INFO] [stdout] 218 | pub chip_resist: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/schema.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub(crate) struct Requirement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 225 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Requirement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_contains_weight` and `moves` are never read [INFO] [stdout] --> src/schema.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 293 | pub(crate) struct PocketNormal { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 294 | pub max_contains_volume: Volume, [INFO] [stdout] 295 | pub max_contains_weight: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | #[serde(default)] // drinking_hat [INFO] [stdout] 297 | pub moves: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PocketNormal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ammo_restriction` is never read [INFO] [stdout] --> src/schema.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub(crate) struct PocketAmmo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 304 | ammo_restriction: Map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PocketAmmo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/schema.rs:311:10 [INFO] [stdout] | [INFO] [stdout] 311 | Ammo(PocketAmmo), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PocketData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 311 - Ammo(PocketAmmo), [INFO] [stdout] 311 + Ammo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `subtype` are never read [INFO] [stdout] --> src/schema.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 455 | pub(crate) struct ItemGroup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 456 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 457 | pub subtype: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemGroup` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/schema.rs:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | Scary(Scary), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 498 - Scary(Scary), [INFO] [stdout] 498 + Scary(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `show_multiplier` is never read [INFO] [stdout] --> src/graphs.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 620 | struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 635 | show_multiplier: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/graphs.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | drop(out_file); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut File` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 606 - drop(out_file); [INFO] [stdout] 606 + let _ = out_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "665e865e9aa724fc54e1fec1888c95aa7270c9b8ce0abc029634ef07f797f57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665e865e9aa724fc54e1fec1888c95aa7270c9b8ce0abc029634ef07f797f57a", kill_on_drop: false }` [INFO] [stdout] 665e865e9aa724fc54e1fec1888c95aa7270c9b8ce0abc029634ef07f797f57a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9199d9656969ce940f102a5bbd2b6ccd1aceec49e349d7d46448d68333ea8a7e [INFO] running `Command { std: "docker" "start" "-a" "9199d9656969ce940f102a5bbd2b6ccd1aceec49e349d7d46448d68333ea8a7e", kill_on_drop: false }` [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/schema.rs:84:15 [INFO] [stderr] | [INFO] [stderr] 84 | ThreeList(String, i32, Vec), [INFO] [stderr] | --------- ^^^^^^ ^^^ ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ComponentDescRaw` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 84 - ThreeList(String, i32, Vec), [INFO] [stderr] 84 + ThreeList((), (), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `typ`, `name`, `elec_resist`, and `chip_resist` are never read [INFO] [stderr] --> src/schema.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 203 | pub(crate) struct Material { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 204 | #[serde(rename = "type")] [INFO] [stderr] 205 | pub typ: String, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 216 | pub elec_resist: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 217 | #[serde(default)] // blood and friends [INFO] [stderr] 218 | pub chip_resist: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `comment` is never read [INFO] [stderr] --> src/schema.rs:225:9 [INFO] [stderr] | [INFO] [stderr] 222 | pub(crate) struct Requirement { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 225 | pub comment: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Requirement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `max_contains_weight` and `moves` are never read [INFO] [stderr] --> src/schema.rs:295:9 [INFO] [stderr] | [INFO] [stderr] 293 | pub(crate) struct PocketNormal { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 294 | pub max_contains_volume: Volume, [INFO] [stderr] 295 | pub max_contains_weight: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 296 | #[serde(default)] // drinking_hat [INFO] [stderr] 297 | pub moves: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PocketNormal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `ammo_restriction` is never read [INFO] [stderr] --> src/schema.rs:304:5 [INFO] [stderr] | [INFO] [stderr] 303 | pub(crate) struct PocketAmmo { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 304 | ammo_restriction: Map, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PocketAmmo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/schema.rs:311:10 [INFO] [stderr] | [INFO] [stderr] 311 | Ammo(PocketAmmo), [INFO] [stderr] | ---- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `PocketData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 311 - Ammo(PocketAmmo), [INFO] [stderr] 311 + Ammo(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `subtype` are never read [INFO] [stderr] --> src/schema.rs:456:9 [INFO] [stderr] | [INFO] [stderr] 455 | pub(crate) struct ItemGroup { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 456 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 457 | pub subtype: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ItemGroup` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/schema.rs:498:15 [INFO] [stderr] | [INFO] [stderr] 498 | Scary(Scary), [INFO] [stderr] | ----- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 498 - Scary(Scary), [INFO] [stderr] 498 + Scary(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `show_multiplier` is never read [INFO] [stderr] --> src/graphs.rs:635:5 [INFO] [stderr] | [INFO] [stderr] 620 | struct Input { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 635 | show_multiplier: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/graphs.rs:606:5 [INFO] [stderr] | [INFO] [stderr] 606 | drop(out_file); [INFO] [stderr] | ^^^^^--------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut File` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 606 - drop(out_file); [INFO] [stderr] 606 + let _ = out_file; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `food` (bin "food" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/food-4c001d3ced493dd3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9199d9656969ce940f102a5bbd2b6ccd1aceec49e349d7d46448d68333ea8a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9199d9656969ce940f102a5bbd2b6ccd1aceec49e349d7d46448d68333ea8a7e", kill_on_drop: false }` [INFO] [stdout] 9199d9656969ce940f102a5bbd2b6ccd1aceec49e349d7d46448d68333ea8a7e