[INFO] cloning repository https://github.com/gabrieeeell/rust_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/gabrieeeell/rust_physics_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieeeell%2Frust_physics_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieeeell%2Frust_physics_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4be85c7f68643509db0aa5a7d99f9f1bea2aaffb [INFO] testing gabrieeeell/rust_physics_engine against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieeeell%2Frust_physics_engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gabrieeeell/rust_physics_engine [INFO] finished tweaking git repo https://github.com/gabrieeeell/rust_physics_engine [INFO] tweaked toml for git repo https://github.com/gabrieeeell/rust_physics_engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gabrieeeell/rust_physics_engine on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gabrieeeell/rust_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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin_glx_sys v0.6.1 [INFO] [stderr] Downloaded wayland-cursor v0.31.10 [INFO] [stderr] Downloaded dpi v0.1.2 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.8 [INFO] [stderr] Downloaded cursor-icon v1.2.0 [INFO] [stderr] Downloaded wayland-client v0.31.10 [INFO] [stderr] Downloaded glutin v0.32.3 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.8 [INFO] [stderr] Downloaded wayland-backend v0.3.10 [INFO] [stderr] Downloaded quick-xml v0.37.5 [INFO] [stderr] Downloaded wayland-protocols v0.32.8 [INFO] [stderr] Downloaded winit v0.30.11 [INFO] [stderr] Downloaded glium v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee6740b580e71b1b9ac02f0a1a71402aa74e7928a427e6ff656d4ecdc3a6cb4e [INFO] running `Command { std: "docker" "start" "-a" "ee6740b580e71b1b9ac02f0a1a71402aa74e7928a427e6ff656d4ecdc3a6cb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee6740b580e71b1b9ac02f0a1a71402aa74e7928a427e6ff656d4ecdc3a6cb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6740b580e71b1b9ac02f0a1a71402aa74e7928a427e6ff656d4ecdc3a6cb4e", kill_on_drop: false }` [INFO] [stdout] ee6740b580e71b1b9ac02f0a1a71402aa74e7928a427e6ff656d4ecdc3a6cb4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aeec502f6c01a3f1133d8e1fe38b5e3b8e893fa3dfe98f038b9b2128405ffff [INFO] running `Command { std: "docker" "start" "-a" "8aeec502f6c01a3f1133d8e1fe38b5e3b8e893fa3dfe98f038b9b2128405ffff", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ab_glyph v0.2.30 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling glium v0.36.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.8 [INFO] [stderr] Compiling wayland-cursor v0.31.10 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.8 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling crash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArrayStorage` and `Const` [INFO] [stdout] --> src/forms.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{ArrayStorage, Const, Matrix4, Vector3, Vector4}; [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: `nalgebra::Matrix4` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector3` and `Vector4` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniforms` [INFO] [stdout] --> src/main.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let uniforms = uniform! { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniforms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut square_1 = Shapes::new_square([-0.50, 0.25], [-0.25, -0.25], (1.0, 0.0, 0.0), &display); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut square_2 = Shapes::new_square([0.25, 0.25], [0.50, -0.25], (0.0, 0.0, 0.0), &display); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/objects_interactions.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn check_collision(object_1: &Shapes, object_2: &Shapes) -> 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "8aeec502f6c01a3f1133d8e1fe38b5e3b8e893fa3dfe98f038b9b2128405ffff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aeec502f6c01a3f1133d8e1fe38b5e3b8e893fa3dfe98f038b9b2128405ffff", kill_on_drop: false }` [INFO] [stdout] 8aeec502f6c01a3f1133d8e1fe38b5e3b8e893fa3dfe98f038b9b2128405ffff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da1c707065bda145213a734f94706708e014e190fec5675fa8425019030290ac [INFO] running `Command { std: "docker" "start" "-a" "da1c707065bda145213a734f94706708e014e190fec5675fa8425019030290ac", kill_on_drop: false }` [INFO] [stderr] Compiling crash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArrayStorage` and `Const` [INFO] [stdout] --> src/forms.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{ArrayStorage, Const, Matrix4, Vector3, Vector4}; [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: `nalgebra::Matrix4` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector3` and `Vector4` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniforms` [INFO] [stdout] --> src/main.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let uniforms = uniform! { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniforms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut square_1 = Shapes::new_square([-0.50, 0.25], [-0.25, -0.25], (1.0, 0.0, 0.0), &display); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut square_2 = Shapes::new_square([0.25, 0.25], [0.50, -0.25], (0.0, 0.0, 0.0), &display); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/objects_interactions.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn check_collision(object_1: &Shapes, object_2: &Shapes) -> 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "da1c707065bda145213a734f94706708e014e190fec5675fa8425019030290ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1c707065bda145213a734f94706708e014e190fec5675fa8425019030290ac", kill_on_drop: false }` [INFO] [stdout] da1c707065bda145213a734f94706708e014e190fec5675fa8425019030290ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f39a8b17a49bf8a84291a5da3e1b970d3e7c05f1e79405064ba7af2971d72f5 [INFO] running `Command { std: "docker" "start" "-a" "6f39a8b17a49bf8a84291a5da3e1b970d3e7c05f1e79405064ba7af2971d72f5", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ArrayStorage` and `Const` [INFO] [stderr] --> src/forms.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | use nalgebra::{ArrayStorage, Const, Matrix4, Vector3, Vector4}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `nalgebra::Matrix4` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use nalgebra::Matrix4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Vector3` and `Vector4` [INFO] [stderr] --> src/main.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | use nalgebra::{Vector3, Vector4}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/main.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | let mut t: f32 = 0.0; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uniforms` [INFO] [stderr] --> src/main.rs:85:29 [INFO] [stderr] | [INFO] [stderr] 85 | let uniforms = uniform! { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniforms` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let mut square_1 = Shapes::new_square([-0.50, 0.25], [-0.25, -0.25], (1.0, 0.0, 0.0), &display); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let mut square_2 = Shapes::new_square([0.25, 0.25], [0.50, -0.25], (0.0, 0.0, 0.0), &display); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | let mut t: f32 = 0.0; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `check_collision` is never used [INFO] [stderr] --> src/objects_interactions.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn check_collision(object_1: &Shapes, object_2: &Shapes) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 13 | fn main() { [INFO] [stderr] | --------- move the `impl` block outside of this function `main` [INFO] [stderr] ... [INFO] [stderr] 22 | implement_vertex!(Vertex, position); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Vertex` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 13 | fn main() { [INFO] [stderr] | --------- move the `impl` block outside of this function `main` [INFO] [stderr] ... [INFO] [stderr] 22 | implement_vertex!(Vertex, position); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Vertex` is not local [INFO] [stderr] | `Vertex` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `crash` (bin "crash" test) generated 11 warnings (run `cargo fix --bin "crash" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/crash-63b34c71f827ec02) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f39a8b17a49bf8a84291a5da3e1b970d3e7c05f1e79405064ba7af2971d72f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f39a8b17a49bf8a84291a5da3e1b970d3e7c05f1e79405064ba7af2971d72f5", kill_on_drop: false }` [INFO] [stdout] 6f39a8b17a49bf8a84291a5da3e1b970d3e7c05f1e79405064ba7af2971d72f5