[INFO] cloning repository https://github.com/marcinjahn/simple-physics-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcinjahn/simple-physics-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcinjahn%2Fsimple-physics-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcinjahn%2Fsimple-physics-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 486e4881a3c58e9f39f98699647da4b9704296ba [INFO] checking marcinjahn/simple-physics-engine against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcinjahn%2Fsimple-physics-engine" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcinjahn/simple-physics-engine [INFO] finished tweaking git repo https://github.com/marcinjahn/simple-physics-engine [INFO] tweaked toml for git repo https://github.com/marcinjahn/simple-physics-engine written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcinjahn/simple-physics-engine on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcinjahn/simple-physics-engine 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" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.2 [INFO] [stderr] Downloaded macroquad v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bfb7d9fcecf019cd867ab564a81ff5672254b8eb94e7e486665a04a511dfd57 [INFO] running `Command { std: "docker" "start" "-a" "4bfb7d9fcecf019cd867ab564a81ff5672254b8eb94e7e486665a04a511dfd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bfb7d9fcecf019cd867ab564a81ff5672254b8eb94e7e486665a04a511dfd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bfb7d9fcecf019cd867ab564a81ff5672254b8eb94e7e486665a04a511dfd57", kill_on_drop: false }` [INFO] [stdout] 4bfb7d9fcecf019cd867ab564a81ff5672254b8eb94e7e486665a04a511dfd57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d49fa3b1308fccbaf322dc282f03ee01d7ee6cad817c68a2166dc52c9e3d249 [INFO] running `Command { std: "docker" "start" "-a" "8d49fa3b1308fccbaf322dc282f03ee01d7ee6cad817c68a2166dc52c9e3d249", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling miniquad v0.4.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking macroquad v0.4.7 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking twod-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BLACK` and `GRAY` [INFO] [stdout] --> src/renderer.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::color::{Color, BLACK, GRAY, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CircularConstraint` [INFO] [stdout] --> src/main.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::constraints::{CircularConstraint, RectangularConstraint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK` and `GRAY` [INFO] [stdout] --> src/renderer.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::color::{Color, BLACK, GRAY, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CircularConstraint` [INFO] [stdout] --> src/main.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::constraints::{CircularConstraint, RectangularConstraint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `grid::Cell: Clone` is not satisfied [INFO] [stdout] --> src/grid.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | cells: vec![vec![Cell { balls: vec![] }; grid_width]; grid_height], [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `grid::Cell` [INFO] [stdout] --> src/grid.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `from_elem` [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/alloc/src/vec/mod.rs:3504:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `grid::Cell: Clone` is not satisfied [INFO] [stdout] --> src/grid.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | cells: vec![vec![Cell { balls: vec![] }; grid_width]; grid_height], [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `grid::Cell` [INFO] [stdout] --> src/grid.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `from_elem` [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/alloc/src/vec/mod.rs:3504:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `grid::Cell: Clone` is not satisfied [INFO] [stdout] --> src/grid.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | cells: vec![vec![Cell { balls: vec![] }; grid_width]; grid_height], [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `grid::Cell` [INFO] [stdout] --> src/grid.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Vec` to implement `Clone` [INFO] [stdout] note: required by a bound in `from_elem` [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/alloc/src/vec/mod.rs:3504:0 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `grid::Cell: Clone` is not satisfied [INFO] [stdout] --> src/grid.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | cells: vec![vec![Cell { balls: vec![] }; grid_width]; grid_height], [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `grid::Cell` [INFO] [stdout] --> src/grid.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Vec` to implement `Clone` [INFO] [stdout] note: required by a bound in `from_elem` [INFO] [stdout] --> /rustc/f70ee28831acc074c109afab32d287057c3eca46/library/alloc/src/vec/mod.rs:3504:0 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_index` [INFO] [stdout] --> src/grid.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let width_index = ball.verlet_object.position_current.x / self.cell_size as f32; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_index` [INFO] [stdout] --> src/grid.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let width_index = ball.verlet_object.position_current.x / self.cell_size as f32; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frame_counter` is assigned to, but never used [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut frame_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_frame_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frame_counter` is never read [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | frame_counter += 1; [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: variable `frame_counter` is assigned to, but never used [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut frame_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_frame_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frame_counter` is never read [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | frame_counter += 1; [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `twod-sim` (bin "twod-sim" test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `twod-sim` (bin "twod-sim") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d49fa3b1308fccbaf322dc282f03ee01d7ee6cad817c68a2166dc52c9e3d249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d49fa3b1308fccbaf322dc282f03ee01d7ee6cad817c68a2166dc52c9e3d249", kill_on_drop: false }` [INFO] [stdout] 8d49fa3b1308fccbaf322dc282f03ee01d7ee6cad817c68a2166dc52c9e3d249