[INFO] cloning repository https://github.com/topertz/rust_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/topertz/rust_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopertz%2Frust_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopertz%2Frust_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89120e58034ddbe6bfe9bf8b9190bb040864d2eb [INFO] checking topertz/rust_game against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopertz%2Frust_game" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/topertz/rust_game on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/topertz/rust_game [INFO] finished tweaking git repo https://github.com/topertz/rust_game [INFO] tweaked toml for git repo https://github.com/topertz/rust_game written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/topertz/rust_game 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47a714c5b53fdd7475a524aa0a8dbac851f740267805f649362a35d1dff3775f [INFO] running `Command { std: "docker" "start" "-a" "47a714c5b53fdd7475a524aa0a8dbac851f740267805f649362a35d1dff3775f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47a714c5b53fdd7475a524aa0a8dbac851f740267805f649362a35d1dff3775f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a714c5b53fdd7475a524aa0a8dbac851f740267805f649362a35d1dff3775f", kill_on_drop: false }` [INFO] [stdout] 47a714c5b53fdd7475a524aa0a8dbac851f740267805f649362a35d1dff3775f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3205b13b654c19f48eaf277defc68b0408715a5463eb70f28bff0336f7767259 [INFO] running `Command { std: "docker" "start" "-a" "3205b13b654c19f48eaf277defc68b0408715a5463eb70f28bff0336f7767259", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Checking rust_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `hardness` is never read [INFO] [stdout] --> src/main.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Solid { hardness: u8 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, 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 `coarseness` is never read [INFO] [stdout] --> src/main.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | Powder { coarseness: f32 }, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viscosity` is never read [INFO] [stdout] --> src/main.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | Liquid { viscosity: f32 }, [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viscosity` is never read [INFO] [stdout] --> src/main.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Gas { viscosity: f32 }, [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viscosity` is never read [INFO] [stdout] --> src/main.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | Plasma { viscosity: f32 }, [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_particle` is never used [INFO] [stdout] --> src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn solve_particle( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coarseness`, `hardness`, `viscosity`, `phase`, and `flammability` are never read [INFO] [stdout] --> src/main.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 295 | struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 296 | mass: f32, [INFO] [stdout] 297 | coarseness: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 298 | hardness: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 299 | viscosity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 300 | phase: Phase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 301 | flammability: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CELL_AREA_WIDTH` is never used [INFO] [stdout] --> src/main.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | const CELL_AREA_WIDTH: f32 = 100.0 * CELLSIZE as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CELL_AREA_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | const CELL_AREA_HEIGHT: f32 = 125.0 * CELLSIZE as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hardness` is never read [INFO] [stdout] --> src/main.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Solid { hardness: u8 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, 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 `coarseness` is never read [INFO] [stdout] --> src/main.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | Powder { coarseness: f32 }, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viscosity` is never read [INFO] [stdout] --> src/main.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | Liquid { viscosity: f32 }, [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viscosity` is never read [INFO] [stdout] --> src/main.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Gas { viscosity: f32 }, [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viscosity` is never read [INFO] [stdout] --> src/main.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | Plasma { viscosity: f32 }, [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_particle` is never used [INFO] [stdout] --> src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn solve_particle( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coarseness`, `hardness`, `viscosity`, `phase`, and `flammability` are never read [INFO] [stdout] --> src/main.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 295 | struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 296 | mass: f32, [INFO] [stdout] 297 | coarseness: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 298 | hardness: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 299 | viscosity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 300 | phase: Phase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 301 | flammability: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CELL_AREA_WIDTH` is never used [INFO] [stdout] --> src/main.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | const CELL_AREA_WIDTH: f32 = 100.0 * CELLSIZE as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CELL_AREA_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | const CELL_AREA_HEIGHT: f32 = 125.0 * CELLSIZE as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.43s [INFO] running `Command { std: "docker" "inspect" "3205b13b654c19f48eaf277defc68b0408715a5463eb70f28bff0336f7767259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3205b13b654c19f48eaf277defc68b0408715a5463eb70f28bff0336f7767259", kill_on_drop: false }` [INFO] [stdout] 3205b13b654c19f48eaf277defc68b0408715a5463eb70f28bff0336f7767259