[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 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopertz%2Frust_game" "/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/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/topertz/rust_game on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.82 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19 [INFO] running `Command { std: "docker" "start" "22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking fontdue v0.7.3 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] warning: unused dependency `rand` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | rand = "0.8.5" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rand` [INFO] [stderr] warning: unused dependency `rayon` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | rayon = "1.5.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `rayon` [INFO] [stderr] warning: `rust_game` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.17s [INFO] running `Command { std: "docker" "inspect" "22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19", kill_on_drop: false }` [INFO] [stdout] 22079a04e6bbe73f0e8f10c702c9d7a8e32353de7403059149bcd9a173809b19