[INFO] cloning repository https://github.com/MatheoDumont/engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatheoDumont/engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheoDumont%2Fengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheoDumont%2Fengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f04c94fb3e436f686d73e10271fa049e8c0ad69 [INFO] testing MatheoDumont/engine against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheoDumont%2Fengine" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatheoDumont/engine on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MatheoDumont/engine [INFO] finished tweaking git repo https://github.com/MatheoDumont/engine [INFO] tweaked toml for git repo https://github.com/MatheoDumont/engine written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/MatheoDumont/engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc6caaf9381ad2f3105f55e999823cae7746355c4de5c0bfd59963e7e50f5fe3 [INFO] running `Command { std: "docker" "start" "-a" "dc6caaf9381ad2f3105f55e999823cae7746355c4de5c0bfd59963e7e50f5fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc6caaf9381ad2f3105f55e999823cae7746355c4de5c0bfd59963e7e50f5fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6caaf9381ad2f3105f55e999823cae7746355c4de5c0bfd59963e7e50f5fe3", kill_on_drop: false }` [INFO] [stdout] dc6caaf9381ad2f3105f55e999823cae7746355c4de5c0bfd59963e7e50f5fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01e9aabe228ad2f52d725c885505d0c0e0a978498d85ae40107182c7c661b47c [INFO] running `Command { std: "docker" "start" "-a" "01e9aabe228ad2f52d725c885505d0c0e0a978498d85ae40107182c7c661b47c", kill_on_drop: false }` [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `P3`, `Transform`, `Vec3` [INFO] [stdout] --> src/engine/collision/collision_object.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::{Transform, Vec3, P3}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Vec3` [INFO] [stdout] --> src/engine/collision/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::math::{Vec3, P3}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::collision::CollisionObject` [INFO] [stdout] --> src/engine/intersection_algorithms/intersection_wrapper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::collision::CollisionObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Real` [INFO] [stdout] --> src/engine/intersection_algorithms/sphere.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::{Real, P3}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/engine/intersection_algorithms/obb.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::{Vec3, P3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ONE`, `P3`, `Vec3`, `ZERO` [INFO] [stdout] --> src/engine/intersection_algorithms/obb_plane.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::{Vec3, ONE, P3, ZERO}; [INFO] [stdout] | ^^^^ ^^^ ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Vec3` [INFO] [stdout] --> src/engine/intersection_algorithms/plane_sphere.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::{Vec3, P3}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transform`, `Vec3` [INFO] [stdout] --> src/engine/shapes/sphere.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::{Mat3, Real, Transform, Vec3, P3}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Transform`, `Vec3` [INFO] [stdout] --> src/engine/shapes/mod.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::math::{Mat3, Real, Transform, Vec3, P3}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Real`, `ZERO`, `helper` [INFO] [stdout] --> src/engine/contact_algorithms/obb.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{helper, sat, sat::SAT, Real, Vec3, P3, ZERO}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/engine/contact_algorithms/sphere.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Real, Vec3, P3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::collision::CollisionObject` [INFO] [stdout] --> src/engine/contact_algorithms/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::engine::collision::CollisionObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/math/helper.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Real, Vec3, ONE, P3, ZERO}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::Mesh` [INFO] [stdout] --> src/math/sat.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{traits::Mesh, Real, Vec3, P3}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/obb.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | fn inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/plane.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/sphere.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | fn inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactManifold { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactManifold { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obb` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_plane(obb: &OBB, plane: &Plane) -> ContactManifold { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_plane(obb: &OBB, plane: &Plane) -> ContactManifold { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obb` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactManifold { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactManifold { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactManifold { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactManifold { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/shapes/obb.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut new_p = P3::from(&self.transform.translation); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `cross` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/math/sat.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 18 | let cross = shape_axis1.cross(shape_axis2); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut cross` [INFO] [stdout] 19 | cross.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` due to 2 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01e9aabe228ad2f52d725c885505d0c0e0a978498d85ae40107182c7c661b47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e9aabe228ad2f52d725c885505d0c0e0a978498d85ae40107182c7c661b47c", kill_on_drop: false }` [INFO] [stdout] 01e9aabe228ad2f52d725c885505d0c0e0a978498d85ae40107182c7c661b47c