[INFO] cloning repository https://github.com/kesleta/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/kesleta/Rust-Physics-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkesleta%2FRust-Physics-Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkesleta%2FRust-Physics-Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3761cf70f0323ec6c5167424f7908d7acc87055 [INFO] testing kesleta/Rust-Physics-Engine against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkesleta%2FRust-Physics-Engine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kesleta/Rust-Physics-Engine on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kesleta/Rust-Physics-Engine [INFO] finished tweaking git repo https://github.com/kesleta/Rust-Physics-Engine [INFO] tweaked toml for git repo https://github.com/kesleta/Rust-Physics-Engine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kesleta/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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96534f185046b9c2816df25b78ee3e23615dfe7f47114c0c6b30503fe871b257 [INFO] running `Command { std: "docker" "start" "-a" "96534f185046b9c2816df25b78ee3e23615dfe7f47114c0c6b30503fe871b257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96534f185046b9c2816df25b78ee3e23615dfe7f47114c0c6b30503fe871b257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96534f185046b9c2816df25b78ee3e23615dfe7f47114c0c6b30503fe871b257", kill_on_drop: false }` [INFO] [stdout] 96534f185046b9c2816df25b78ee3e23615dfe7f47114c0c6b30503fe871b257 [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12465b925447bc3de5963d2921b3783250d6af63be37f79909b076fc5629bf85 [INFO] running `Command { std: "docker" "start" "-a" "12465b925447bc3de5963d2921b3783250d6af63be37f79909b076fc5629bf85", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.149 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.149 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wgpu-core v0.11.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling ash v0.33.3+1.2.191 [INFO] [stderr] Compiling wgpu-types v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.7 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling euclid v0.22.7 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling lyon_geom v0.17.7 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling x11-dl v2.20.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling vek v0.10.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wide v0.7.5 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling pennereq v0.3.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling notosans v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling naga v0.7.3 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling wgpu-hal v0.11.5 [INFO] [stderr] Compiling nalgebra v0.31.4 [INFO] [stderr] Compiling glam v0.17.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling nannou_core v0.18.0 [INFO] [stderr] Compiling nannou_mesh v0.18.0 [INFO] [stderr] Compiling wgpu v0.11.1 [INFO] [stderr] Compiling nannou_wgpu v0.18.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling nannou v0.18.1 [INFO] [stderr] Compiling physics-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/constraint/anchor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pose::Pose` [INFO] [stdout] --> src/constraint/constraint_set.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{object_set_state::ObjectSetState, pose::Pose}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::DVector` [INFO] [stdout] --> src/constraint/rod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::DVector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pose::Pose` and `self` [INFO] [stdout] --> src/constraint/rod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::{self, object_set_state::ObjectSetState, pose::Pose}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pose::Pose` [INFO] [stdout] --> src/constraint/mod.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::{pose::Pose, object_set_state::ObjectSetState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/physics_system.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | constraint_solver::{self, solve}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `quad_damping::QuadDamper` and `self` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | gravity::{self, Gravity}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | linear_damping::LinearDamper, [INFO] [stdout] 13 | quad_damping::QuadDamper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::gradient` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use nannou::{color::gradient, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/constraint/anchor.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_jacobian_block(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/constraint/rod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let dist = (position2 - position1).magnitude(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_x` [INFO] [stdout] --> src/constraint/rod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let d_x = position2.x - position1.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_y` [INFO] [stdout] --> src/constraint/rod.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let d_y = position2.y - position1.y; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spring` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let spring = Spring::new(0, 1, 300.0, 30.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_constraint_vector`, `get_constraint_dot_vector`, `get_jacobian_matrix`, and `get_jacobian_dot_matrix` are never used [INFO] [stdout] --> src/constraint/constraint_set.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ConstraintSet { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_constraint_vector(&self, state: &ObjectSetState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_constraint_dot_vector(&self, state: &ObjectSetState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_jacobian_matrix(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_jacobian_dot_matrix(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/force/quad_damping.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl QuadDamper { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(strength: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_kinetic` is never used [INFO] [stdout] --> src/object/object_set.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ObjectSet { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_kinetic(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_energy` is never used [INFO] [stdout] --> src/physics_system.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PhysicsSystem { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_energy(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_positions` is never used [INFO] [stdout] --> src/state/object_set_state.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ObjectSetState { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "12465b925447bc3de5963d2921b3783250d6af63be37f79909b076fc5629bf85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12465b925447bc3de5963d2921b3783250d6af63be37f79909b076fc5629bf85", kill_on_drop: false }` [INFO] [stdout] 12465b925447bc3de5963d2921b3783250d6af63be37f79909b076fc5629bf85 [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff0594ecf4a6599c99ff8afa12cdf92472dd5ce71355c154bf391b8011282860 [INFO] running `Command { std: "docker" "start" "-a" "ff0594ecf4a6599c99ff8afa12cdf92472dd5ce71355c154bf391b8011282860", kill_on_drop: false }` [INFO] [stderr] Compiling physics-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/constraint/anchor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pose::Pose` [INFO] [stdout] --> src/constraint/constraint_set.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{object_set_state::ObjectSetState, pose::Pose}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::DVector` [INFO] [stdout] --> src/constraint/rod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::DVector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pose::Pose` and `self` [INFO] [stdout] --> src/constraint/rod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::{self, object_set_state::ObjectSetState, pose::Pose}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pose::Pose` [INFO] [stdout] --> src/constraint/mod.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::{pose::Pose, object_set_state::ObjectSetState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/physics_system.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | constraint_solver::{self, solve}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `quad_damping::QuadDamper` and `self` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | gravity::{self, Gravity}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | linear_damping::LinearDamper, [INFO] [stdout] 13 | quad_damping::QuadDamper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::gradient` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use nannou::{color::gradient, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/constraint/anchor.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_jacobian_block(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/constraint/rod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let dist = (position2 - position1).magnitude(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_x` [INFO] [stdout] --> src/constraint/rod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let d_x = position2.x - position1.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_y` [INFO] [stdout] --> src/constraint/rod.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let d_y = position2.y - position1.y; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spring` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let spring = Spring::new(0, 1, 300.0, 30.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_constraint_vector`, `get_constraint_dot_vector`, `get_jacobian_matrix`, and `get_jacobian_dot_matrix` are never used [INFO] [stdout] --> src/constraint/constraint_set.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ConstraintSet { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_constraint_vector(&self, state: &ObjectSetState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_constraint_dot_vector(&self, state: &ObjectSetState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_jacobian_matrix(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_jacobian_dot_matrix(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/force/quad_damping.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl QuadDamper { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(strength: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_kinetic` is never used [INFO] [stdout] --> src/object/object_set.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ObjectSet { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_kinetic(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_energy` is never used [INFO] [stdout] --> src/physics_system.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PhysicsSystem { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_energy(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_positions` is never used [INFO] [stdout] --> src/state/object_set_state.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ObjectSetState { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.63s [INFO] running `Command { std: "docker" "inspect" "ff0594ecf4a6599c99ff8afa12cdf92472dd5ce71355c154bf391b8011282860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0594ecf4a6599c99ff8afa12cdf92472dd5ce71355c154bf391b8011282860", kill_on_drop: false }` [INFO] [stdout] ff0594ecf4a6599c99ff8afa12cdf92472dd5ce71355c154bf391b8011282860 [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 216e3340b94c80dc03b9de2487385cf74156a1b4e6f37213e037fe81289b45f1 [INFO] running `Command { std: "docker" "start" "-a" "216e3340b94c80dc03b9de2487385cf74156a1b4e6f37213e037fe81289b45f1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::f64::consts::PI` [INFO] [stderr] --> src/constraint/anchor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::f64::consts::PI; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `pose::Pose` [INFO] [stderr] --> src/constraint/constraint_set.rs:1:54 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::state::{object_set_state::ObjectSetState, pose::Pose}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nalgebra::DVector` [INFO] [stderr] --> src/constraint/rod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use nalgebra::DVector; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `pose::Pose` and `self` [INFO] [stderr] --> src/constraint/rod.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::state::{self, object_set_state::ObjectSetState, pose::Pose}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pose::Pose` [INFO] [stderr] --> src/constraint/mod.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::state::{pose::Pose, object_set_state::ObjectSetState}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/physics_system.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | constraint_solver::{self, solve}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `quad_damping::QuadDamper` and `self` [INFO] [stderr] --> src/main.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | gravity::{self, Gravity}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | linear_damping::LinearDamper, [INFO] [stderr] 13 | quad_damping::QuadDamper, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `color::gradient` [INFO] [stderr] --> src/main.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | use nannou::{color::gradient, prelude::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/constraint/anchor.rs:31:34 [INFO] [stderr] | [INFO] [stderr] 31 | fn get_jacobian_block(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dist` [INFO] [stderr] --> src/constraint/rod.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let dist = (position2 - position1).magnitude(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d_x` [INFO] [stderr] --> src/constraint/rod.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | let d_x = position2.x - position1.x; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d_y` [INFO] [stderr] --> src/constraint/rod.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let d_y = position2.y - position1.y; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `spring` [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let spring = Spring::new(0, 1, 300.0, 30.0); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spring` [INFO] [stderr] [INFO] [stderr] warning: methods `get_constraint_vector`, `get_constraint_dot_vector`, `get_jacobian_matrix`, and `get_jacobian_dot_matrix` are never used [INFO] [stderr] --> src/constraint/constraint_set.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl ConstraintSet { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn get_constraint_vector(&self, state: &ObjectSetState) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn get_constraint_dot_vector(&self, state: &ObjectSetState) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn get_jacobian_matrix(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn get_jacobian_dot_matrix(&self, state: &ObjectSetState) -> Vec<(usize, usize, f64)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/force/quad_damping.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl QuadDamper { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 11 | pub fn new(strength: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_kinetic` is never used [INFO] [stderr] --> src/object/object_set.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl ObjectSet { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn get_kinetic(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_energy` is never used [INFO] [stderr] --> src/physics_system.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl PhysicsSystem { [INFO] [stderr] | ----------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn get_energy(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_positions` is never used [INFO] [stderr] --> src/state/object_set_state.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl ObjectSetState { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn get_positions(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `physics-engine` (bin "physics-engine" test) generated 18 warnings (run `cargo fix --bin "physics-engine" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/physics_engine-706c86c5458bc0fe) [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" "216e3340b94c80dc03b9de2487385cf74156a1b4e6f37213e037fe81289b45f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "216e3340b94c80dc03b9de2487385cf74156a1b4e6f37213e037fe81289b45f1", kill_on_drop: false }` [INFO] [stdout] 216e3340b94c80dc03b9de2487385cf74156a1b4e6f37213e037fe81289b45f1