[INFO] cloning repository https://github.com/LPEdwin/simple_rust_numerics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LPEdwin/simple_rust_numerics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPEdwin%2Fsimple_rust_numerics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPEdwin%2Fsimple_rust_numerics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c45175a0f43ccdac62d1ba068c92dab8f7de6a5 [INFO] building LPEdwin/simple_rust_numerics against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPEdwin%2Fsimple_rust_numerics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LPEdwin/simple_rust_numerics [INFO] finished tweaking git repo https://github.com/LPEdwin/simple_rust_numerics [INFO] tweaked toml for git repo https://github.com/LPEdwin/simple_rust_numerics written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LPEdwin/simple_rust_numerics 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/LPEdwin/simple_rust_numerics 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded rand_pcg v0.9.0 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4adc34f6b1cb96bfe964fefdfe1adc7091b6680ea67ea604b3a03b63992fd20f [INFO] running `Command { std: "docker" "start" "-a" "4adc34f6b1cb96bfe964fefdfe1adc7091b6680ea67ea604b3a03b63992fd20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4adc34f6b1cb96bfe964fefdfe1adc7091b6680ea67ea604b3a03b63992fd20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adc34f6b1cb96bfe964fefdfe1adc7091b6680ea67ea604b3a03b63992fd20f", kill_on_drop: false }` [INFO] [stdout] 4adc34f6b1cb96bfe964fefdfe1adc7091b6680ea67ea604b3a03b63992fd20f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4b671f65249800d2740f8d3346ce16cb0ada594bdf74d34b968594e70a3031d7 [INFO] running `Command { std: "docker" "start" "-a" "4b671f65249800d2740f8d3346ce16cb0ada594bdf74d34b968594e70a3031d7", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand_pcg v0.9.0 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling calculate_pi v0.1.0 (/opt/rustwide/workdir/calculate_pi) [INFO] [stderr] Compiling collision_simulation v0.1.0 (/opt/rustwide/workdir/collision_simulation) [INFO] [stdout] warning: value assigned to `sim_speed` is never read [INFO] [stdout] --> collision_simulation/src/render.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut sim_speed = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> collision_simulation/src/core.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn contains(&self, point: Vector2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> collision_simulation/src/core.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct StaticCollision { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_realtime` is never used [INFO] [stdout] --> collision_simulation/src/render.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn run_realtime(sim: &mut Simulation) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn collision_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mixing_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn mixing_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimal_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn minimal_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> collision_simulation/src/uniform_grid.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl UniformGrid { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(boundary: Rectangle, particles: &[Particle]) -> UniformGrid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.84s [INFO] running `Command { std: "docker" "inspect" "4b671f65249800d2740f8d3346ce16cb0ada594bdf74d34b968594e70a3031d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b671f65249800d2740f8d3346ce16cb0ada594bdf74d34b968594e70a3031d7", kill_on_drop: false }` [INFO] [stdout] 4b671f65249800d2740f8d3346ce16cb0ada594bdf74d34b968594e70a3031d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a69efddff6421b50e2a3e0d24b66100f83cc2b3fd9bb7a178d578490c0712ab4 [INFO] running `Command { std: "docker" "start" "-a" "a69efddff6421b50e2a3e0d24b66100f83cc2b3fd9bb7a178d578490c0712ab4", kill_on_drop: false }` [INFO] [stderr] Compiling calculate_pi v0.1.0 (/opt/rustwide/workdir/calculate_pi) [INFO] [stderr] Compiling collision_simulation v0.1.0 (/opt/rustwide/workdir/collision_simulation) [INFO] [stdout] warning: value assigned to `sim_speed` is never read [INFO] [stdout] --> collision_simulation/src/render.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut sim_speed = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> collision_simulation/src/core.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn contains(&self, point: Vector2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> collision_simulation/src/core.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct StaticCollision { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_realtime` is never used [INFO] [stdout] --> collision_simulation/src/render.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn run_realtime(sim: &mut Simulation) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn collision_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mixing_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn mixing_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimal_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn minimal_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> collision_simulation/src/uniform_grid.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl UniformGrid { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(boundary: Rectangle, particles: &[Particle]) -> UniformGrid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "a69efddff6421b50e2a3e0d24b66100f83cc2b3fd9bb7a178d578490c0712ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a69efddff6421b50e2a3e0d24b66100f83cc2b3fd9bb7a178d578490c0712ab4", kill_on_drop: false }` [INFO] [stdout] a69efddff6421b50e2a3e0d24b66100f83cc2b3fd9bb7a178d578490c0712ab4