[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] building topertz/rust_game against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [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 f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded fontdue v0.7.3 [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] [stderr] Downloaded macroquad v0.4.5 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 277e2482c49f7a8ba165ee3b0a1fa8468600ba9a24294826746e8b71051d92ef [INFO] running `Command { std: "docker" "start" "-a" "277e2482c49f7a8ba165ee3b0a1fa8468600ba9a24294826746e8b71051d92ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "277e2482c49f7a8ba165ee3b0a1fa8468600ba9a24294826746e8b71051d92ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277e2482c49f7a8ba165ee3b0a1fa8468600ba9a24294826746e8b71051d92ef", kill_on_drop: false }` [INFO] [stdout] 277e2482c49f7a8ba165ee3b0a1fa8468600ba9a24294826746e8b71051d92ef [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 143cdb2fd3da05c808f9ff97fdf18cba69fc44969959c59e50c43921b89443b4 [INFO] running `Command { std: "docker" "start" "-a" "143cdb2fd3da05c808f9ff97fdf18cba69fc44969959c59e50c43921b89443b4", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.5 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.52s [INFO] running `Command { std: "docker" "inspect" "143cdb2fd3da05c808f9ff97fdf18cba69fc44969959c59e50c43921b89443b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143cdb2fd3da05c808f9ff97fdf18cba69fc44969959c59e50c43921b89443b4", kill_on_drop: false }` [INFO] [stdout] 143cdb2fd3da05c808f9ff97fdf18cba69fc44969959c59e50c43921b89443b4 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 9899e19e46b6ff1a2ff72f4696091f49fd69ad26b64c236630595cce71997f0d [INFO] running `Command { std: "docker" "start" "-a" "9899e19e46b6ff1a2ff72f4696091f49fd69ad26b64c236630595cce71997f0d", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "9899e19e46b6ff1a2ff72f4696091f49fd69ad26b64c236630595cce71997f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9899e19e46b6ff1a2ff72f4696091f49fd69ad26b64c236630595cce71997f0d", kill_on_drop: false }` [INFO] [stdout] 9899e19e46b6ff1a2ff72f4696091f49fd69ad26b64c236630595cce71997f0d