[INFO] cloning repository https://github.com/F1ammetta/groom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/F1ammetta/groom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF1ammetta%2Fgroom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF1ammetta%2Fgroom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a28200dc3baf09b78c4578e8db86488094f803bd [INFO] testing F1ammetta/groom against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF1ammetta%2Fgroom" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/F1ammetta/groom [INFO] finished tweaking git repo https://github.com/F1ammetta/groom [INFO] tweaked toml for git repo https://github.com/F1ammetta/groom written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/F1ammetta/groom on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/F1ammetta/groom 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdfefbca66e7d775dd7ccc2d62f6e6e2178dff493b11e67e73aa134943086650 [INFO] running `Command { std: "docker" "start" "-a" "fdfefbca66e7d775dd7ccc2d62f6e6e2178dff493b11e67e73aa134943086650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdfefbca66e7d775dd7ccc2d62f6e6e2178dff493b11e67e73aa134943086650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdfefbca66e7d775dd7ccc2d62f6e6e2178dff493b11e67e73aa134943086650", kill_on_drop: false }` [INFO] [stdout] fdfefbca66e7d775dd7ccc2d62f6e6e2178dff493b11e67e73aa134943086650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c26d8604ee1466bcac580ae1146bc5a355067e7fdd2f01a93c98d61e9320489 [INFO] running `Command { std: "docker" "start" "-a" "9c26d8604ee1466bcac580ae1146bc5a355067e7fdd2f01a93c98d61e9320489", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling glium v0.36.0 (https://github.com/glium/glium?branch=master#649dfe64) [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.8 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.10 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.8 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.8 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling physim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/camera.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | EuclideanSpace, Matrix, Matrix4, Point3, Quaternion, Rad, Rotation, Vector3, perspective, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::phys::InstanceData` [INFO] [stdout] --> src/events.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::phys::InstanceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vx` [INFO] [stdout] --> src/geo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vx; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quaternion`, `Vector3`, and `Zero` [INFO] [stdout] --> src/mesh.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{Array, Quaternion, Vector3, Zero}; // Assuming you're using `glam` for vectors/quaternions [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/mesh.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{Array, Quaternion, Vector3, Zero}; // Assuming you're using `glam` for vectors/quaternions [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/phys.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut net_force = self.gravity * particle.mass; [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] warning: function `generate_unit_sphere_mesh` is never used [INFO] [stdout] --> src/mesh.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn generate_unit_sphere_mesh(lat_segments: u32, lon_segments: u32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `mass`, and `acceleration` are never read [INFO] [stdout] --> src/phys.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub position: Vector3, [INFO] [stdout] 8 | pub velocity: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub mass: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub acceleration: Vector3, // Can be calculated from forces [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gravity`, `sphere_vertex_count`, and `sphere_index_count` are never read [INFO] [stdout] --> src/phys.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PhysicsWorld { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 57 | pub particles: Vec, [INFO] [stdout] 58 | pub gravity: Vector3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | sphere_vertex_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | sphere_index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/phys.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl PhysicsWorld { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn update(&mut self, dt: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mat.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn as_uniform_value(&self) -> UniformValue { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 9 | fn as_uniform_value(&self) -> UniformValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "9c26d8604ee1466bcac580ae1146bc5a355067e7fdd2f01a93c98d61e9320489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c26d8604ee1466bcac580ae1146bc5a355067e7fdd2f01a93c98d61e9320489", kill_on_drop: false }` [INFO] [stdout] 9c26d8604ee1466bcac580ae1146bc5a355067e7fdd2f01a93c98d61e9320489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b2ec9adf1ea0f286d51ff8d662175c0b2a6746f67c1367edaece4b87c2c963b [INFO] running `Command { std: "docker" "start" "-a" "7b2ec9adf1ea0f286d51ff8d662175c0b2a6746f67c1367edaece4b87c2c963b", kill_on_drop: false }` [INFO] [stderr] Compiling physim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/camera.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | EuclideanSpace, Matrix, Matrix4, Point3, Quaternion, Rad, Rotation, Vector3, perspective, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::phys::InstanceData` [INFO] [stdout] --> src/events.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::phys::InstanceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vx` [INFO] [stdout] --> src/geo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vx; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quaternion`, `Vector3`, and `Zero` [INFO] [stdout] --> src/mesh.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{Array, Quaternion, Vector3, Zero}; // Assuming you're using `glam` for vectors/quaternions [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/mesh.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{Array, Quaternion, Vector3, Zero}; // Assuming you're using `glam` for vectors/quaternions [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/phys.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut net_force = self.gravity * particle.mass; [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] warning: function `generate_unit_sphere_mesh` is never used [INFO] [stdout] --> src/mesh.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn generate_unit_sphere_mesh(lat_segments: u32, lon_segments: u32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `mass`, and `acceleration` are never read [INFO] [stdout] --> src/phys.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub position: Vector3, [INFO] [stdout] 8 | pub velocity: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub mass: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub acceleration: Vector3, // Can be calculated from forces [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gravity`, `sphere_vertex_count`, and `sphere_index_count` are never read [INFO] [stdout] --> src/phys.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PhysicsWorld { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 57 | pub particles: Vec, [INFO] [stdout] 58 | pub gravity: Vector3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | sphere_vertex_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | sphere_index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/phys.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl PhysicsWorld { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn update(&mut self, dt: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mat.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn as_uniform_value(&self) -> UniformValue { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 9 | fn as_uniform_value(&self) -> UniformValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "7b2ec9adf1ea0f286d51ff8d662175c0b2a6746f67c1367edaece4b87c2c963b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2ec9adf1ea0f286d51ff8d662175c0b2a6746f67c1367edaece4b87c2c963b", kill_on_drop: false }` [INFO] [stdout] 7b2ec9adf1ea0f286d51ff8d662175c0b2a6746f67c1367edaece4b87c2c963b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63bd70e02146c1146c58a222be50b78bd9cabd27352d5bd5c53f0b38c7fe898f [INFO] running `Command { std: "docker" "start" "-a" "63bd70e02146c1146c58a222be50b78bd9cabd27352d5bd5c53f0b38c7fe898f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Matrix` [INFO] [stderr] --> src/camera.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | EuclideanSpace, Matrix, Matrix4, Point3, Quaternion, Rad, Rotation, Vector3, perspective, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::phys::InstanceData` [INFO] [stderr] --> src/events.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::phys::InstanceData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::vx` [INFO] [stderr] --> src/geo.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::vx; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Quaternion`, `Vector3`, and `Zero` [INFO] [stderr] --> src/mesh.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use cgmath::{Array, Quaternion, Vector3, Zero}; // Assuming you're using `glam` for vectors/quaternions [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Array` [INFO] [stderr] --> src/mesh.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use cgmath::{Array, Quaternion, Vector3, Zero}; // Assuming you're using `glam` for vectors/quaternions [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/phys.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | let mut net_force = self.gravity * particle.mass; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `generate_unit_sphere_mesh` is never used [INFO] [stderr] --> src/mesh.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn generate_unit_sphere_mesh(lat_segments: u32, lon_segments: u32) -> (Vec, Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `velocity`, `mass`, and `acceleration` are never read [INFO] [stderr] --> src/phys.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Particle { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 7 | pub position: Vector3, [INFO] [stderr] 8 | pub velocity: Vector3, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | pub mass: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | pub acceleration: Vector3, // Can be calculated from forces [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Particle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `gravity`, `sphere_vertex_count`, and `sphere_index_count` are never read [INFO] [stderr] --> src/phys.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct PhysicsWorld { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 57 | pub particles: Vec, [INFO] [stderr] 58 | pub gravity: Vector3, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | sphere_vertex_count: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 62 | sphere_index_count: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `update` is never used [INFO] [stderr] --> src/phys.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl PhysicsWorld { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn update(&mut self, dt: f32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mat.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | fn as_uniform_value(&self) -> UniformValue { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 9 | fn as_uniform_value(&self) -> UniformValue<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `physim` (bin "physim" test) generated 11 warnings (run `cargo fix --bin "physim" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/physim-d4474e2427f3cb09) [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" "63bd70e02146c1146c58a222be50b78bd9cabd27352d5bd5c53f0b38c7fe898f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63bd70e02146c1146c58a222be50b78bd9cabd27352d5bd5c53f0b38c7fe898f", kill_on_drop: false }` [INFO] [stdout] 63bd70e02146c1146c58a222be50b78bd9cabd27352d5bd5c53f0b38c7fe898f