[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] checking moxian/cdda-stuffs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoxian%2Fcdda-stuffs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moxian/cdda-stuffs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded structopt v0.3.15 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded syn-mid v0.5.0 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.69 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded enum-as-inner v0.3.3 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded proc-macro-error v1.0.3 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded hashbrown v0.8.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.69 [INFO] [stderr] Downloaded wasm-bindgen v0.2.69 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded json5 v0.2.8 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded web-sys v0.3.46 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded syn v1.0.35 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.3 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded js-sys v0.3.46 [INFO] [stderr] Downloaded indexmap v1.5.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.69 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded structopt-derive v0.4.8 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded simple_logger v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1514e111dbacb095122250fcfe9e100db8a278dd1764d7017f2fdbe509a5ef0d [INFO] running `Command { std: "docker" "start" "-a" "1514e111dbacb095122250fcfe9e100db8a278dd1764d7017f2fdbe509a5ef0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1514e111dbacb095122250fcfe9e100db8a278dd1764d7017f2fdbe509a5ef0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1514e111dbacb095122250fcfe9e100db8a278dd1764d7017f2fdbe509a5ef0d", kill_on_drop: false }` [INFO] [stdout] 1514e111dbacb095122250fcfe9e100db8a278dd1764d7017f2fdbe509a5ef0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e26ea13d7727daf6f1b2f8c2469db184c5f51b20538e2a81804c691f7fcd74d [INFO] running `Command { std: "docker" "start" "-a" "0e26ea13d7727daf6f1b2f8c2469db184c5f51b20538e2a81804c691f7fcd74d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Checking 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] Checking structopt v0.3.15 [INFO] [stderr] Checking json5 v0.2.8 [INFO] [stderr] Checking 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)]` 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((), (), ()), [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(()), [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(()), [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: 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)]` 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((), (), ()), [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(()), [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(()), [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] [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] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.93s [INFO] running `Command { std: "docker" "inspect" "0e26ea13d7727daf6f1b2f8c2469db184c5f51b20538e2a81804c691f7fcd74d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e26ea13d7727daf6f1b2f8c2469db184c5f51b20538e2a81804c691f7fcd74d", kill_on_drop: false }` [INFO] [stdout] 0e26ea13d7727daf6f1b2f8c2469db184c5f51b20538e2a81804c691f7fcd74d [INFO] checking moxian/cdda-stuffs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoxian%2Fcdda-stuffs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moxian/cdda-stuffs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cb316c2172285d12b3ceb79b519833ae4ea5c0a271e737319f65332776a6bb6 [INFO] running `Command { std: "docker" "start" "-a" "3cb316c2172285d12b3ceb79b519833ae4ea5c0a271e737319f65332776a6bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb316c2172285d12b3ceb79b519833ae4ea5c0a271e737319f65332776a6bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb316c2172285d12b3ceb79b519833ae4ea5c0a271e737319f65332776a6bb6", kill_on_drop: false }` [INFO] [stdout] 3cb316c2172285d12b3ceb79b519833ae4ea5c0a271e737319f65332776a6bb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0f77a43cfe823d473e731eb2dd93fca46029a548c31ccb7037d6414066b55c2 [INFO] running `Command { std: "docker" "start" "-a" "b0f77a43cfe823d473e731eb2dd93fca46029a548c31ccb7037d6414066b55c2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Checking 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] Checking structopt v0.3.15 [INFO] [stderr] Checking json5 v0.2.8 [INFO] [stderr] Checking 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)]` 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((), (), ()), [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(()), [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(()), [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | .map(|x| serde_json::to_value(x).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 352 | .map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | serde_json::from_value(i.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 367 | .map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | // println!("{}", serde_json::to_string_pretty(&i).unwrap()); [INFO] [stdout] 369 | serde_json::from_value(i).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:492:10 [INFO] [stdout] | [INFO] [stdout] 485 | let inp = std::io::BufReader::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | let db: Vec = serde_json::from_reader(inp).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | Some(Db { [INFO] [stdout] | __________^ [INFO] [stdout] 493 | | recipes: parse_recipes(&db), [INFO] [stdout] 494 | | requirements: parse_requirements(&db), [INFO] [stdout] 495 | | materials: parse_materials(&db), [INFO] [stdout] 496 | | itemgroups: parse_itemgroups(&db), [INFO] [stdout] 497 | | raw: db, [INFO] [stdout] 498 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [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)]` 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((), (), ()), [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(()), [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(()), [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | .map(|x| serde_json::to_value(x).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 352 | .map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | serde_json::from_value(i.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 367 | .map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | // println!("{}", serde_json::to_string_pretty(&i).unwrap()); [INFO] [stdout] 369 | serde_json::from_value(i).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:492:10 [INFO] [stdout] | [INFO] [stdout] 485 | let inp = std::io::BufReader::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | let db: Vec = serde_json::from_reader(inp).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | Some(Db { [INFO] [stdout] | __________^ [INFO] [stdout] 493 | | recipes: parse_recipes(&db), [INFO] [stdout] 494 | | requirements: parse_requirements(&db), [INFO] [stdout] 495 | | materials: parse_materials(&db), [INFO] [stdout] 496 | | itemgroups: parse_itemgroups(&db), [INFO] [stdout] 497 | | raw: db, [INFO] [stdout] 498 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] [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] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `food` (bin "food" test) due to 5 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `food` (bin "food") due to 5 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0f77a43cfe823d473e731eb2dd93fca46029a548c31ccb7037d6414066b55c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f77a43cfe823d473e731eb2dd93fca46029a548c31ccb7037d6414066b55c2", kill_on_drop: false }` [INFO] [stdout] b0f77a43cfe823d473e731eb2dd93fca46029a548c31ccb7037d6414066b55c2