[INFO] cloning repository https://github.com/DiagonalSquares/2D-Softbody-Simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DiagonalSquares/2D-Softbody-Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiagonalSquares%2F2D-Softbody-Simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiagonalSquares%2F2D-Softbody-Simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db8fd46d6e3b3d6a718589f51aaffed16bdecb9c [INFO] testing DiagonalSquares/2D-Softbody-Simulation against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiagonalSquares%2F2D-Softbody-Simulation" "/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/DiagonalSquares/2D-Softbody-Simulation [INFO] finished tweaking git repo https://github.com/DiagonalSquares/2D-Softbody-Simulation [INFO] tweaked toml for git repo https://github.com/DiagonalSquares/2D-Softbody-Simulation written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DiagonalSquares/2D-Softbody-Simulation on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DiagonalSquares/2D-Softbody-Simulation 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston v1.0.0 [INFO] [stderr] Downloaded pistoncore-event_loop v1.0.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.45.0 [INFO] [stderr] Downloaded spin_sleep v1.3.2 [INFO] [stderr] Downloaded gfx v0.18.3 [INFO] [stderr] Downloaded gfx_core v0.9.2 [INFO] [stderr] Downloaded piston_window v0.132.0 [INFO] [stderr] Downloaded gfx_gl v0.6.1 [INFO] [stderr] Downloaded draw_state v0.8.0 [INFO] [stderr] Downloaded piston2d-graphics v0.45.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.89.0 [INFO] [stderr] Downloaded gfx_device_gl v0.16.2 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.81.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75ce6347a6868d4df19614bfaeaa1665b4add61cf76a117033e42140fc600bc2 [INFO] running `Command { std: "docker" "start" "-a" "75ce6347a6868d4df19614bfaeaa1665b4add61cf76a117033e42140fc600bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75ce6347a6868d4df19614bfaeaa1665b4add61cf76a117033e42140fc600bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ce6347a6868d4df19614bfaeaa1665b4add61cf76a117033e42140fc600bc2", kill_on_drop: false }` [INFO] [stdout] 75ce6347a6868d4df19614bfaeaa1665b4add61cf76a117033e42140fc600bc2 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f44f79f9a673349a855e03dfcbb8d76517611b8b787cad9baee1ff5bd484b7d6 [INFO] running `Command { std: "docker" "start" "-a" "f44f79f9a673349a855e03dfcbb8d76517611b8b787cad9baee1ff5bd484b7d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling piston-texture v0.9.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling zune-jpeg v0.4.17 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image-webp v0.2.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.3.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling gfx v0.18.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling spin_sleep v1.3.2 [INFO] [stderr] Compiling piston2d-graphics v0.44.0 [INFO] [stderr] Compiling piston2d-graphics v0.45.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v1.0.0 [INFO] [stderr] Compiling pistoncore-event_loop v1.0.0 [INFO] [stderr] Compiling piston v1.0.0 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling piston-gfx_texture v0.45.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.89.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.81.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling pistoncore-glutin_window v0.72.0 [INFO] [stderr] Compiling piston_window v0.132.0 [INFO] [stderr] Compiling soft_body_sim_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [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 imports: `Receiver` and `Sender` [INFO] [stdout] --> src/input.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/input.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::simulation::{self, SoftBodyCollection}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Input_Handler` should have an upper camel case name [INFO] [stdout] --> src/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Input_Handler { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `input`, `render`, and `ui` [INFO] [stdout] --> src/app.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{render, simulation, ui, input}; [INFO] [stdout] | ^^^^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window` [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllButtons` is never constructed [INFO] [stdout] --> src/ui.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct AllButtons { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_triangle` is never used [INFO] [stdout] --> src/simulation.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl SoftBody { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn new_triangle(pos: [f64; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.14s [INFO] running `Command { std: "docker" "inspect" "f44f79f9a673349a855e03dfcbb8d76517611b8b787cad9baee1ff5bd484b7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f44f79f9a673349a855e03dfcbb8d76517611b8b787cad9baee1ff5bd484b7d6", kill_on_drop: false }` [INFO] [stdout] f44f79f9a673349a855e03dfcbb8d76517611b8b787cad9baee1ff5bd484b7d6 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25835e1aff8664727af956f5f292f49c45dcaed1a18c7d6548b28ce8b32c7d4a [INFO] running `Command { std: "docker" "start" "-a" "25835e1aff8664727af956f5f292f49c45dcaed1a18c7d6548b28ce8b32c7d4a", kill_on_drop: false }` [INFO] [stderr] Compiling soft_body_sim_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [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 imports: `Receiver` and `Sender` [INFO] [stdout] --> src/input.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/input.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::simulation::{self, SoftBodyCollection}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Input_Handler` should have an upper camel case name [INFO] [stdout] --> src/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Input_Handler { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `input`, `render`, and `ui` [INFO] [stdout] --> src/app.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{render, simulation, ui, input}; [INFO] [stdout] | ^^^^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window` [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllButtons` is never constructed [INFO] [stdout] --> src/ui.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct AllButtons { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_triangle` is never used [INFO] [stdout] --> src/simulation.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl SoftBody { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn new_triangle(pos: [f64; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "25835e1aff8664727af956f5f292f49c45dcaed1a18c7d6548b28ce8b32c7d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25835e1aff8664727af956f5f292f49c45dcaed1a18c7d6548b28ce8b32c7d4a", kill_on_drop: false }` [INFO] [stdout] 25835e1aff8664727af956f5f292f49c45dcaed1a18c7d6548b28ce8b32c7d4a [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3681dd37136a06eaba7fceb48a66f027792eed2ecd4181816f4d92ef90180eee [INFO] running `Command { std: "docker" "start" "-a" "3681dd37136a06eaba7fceb48a66f027792eed2ecd4181816f4d92ef90180eee", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/input.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Receiver` and `Sender` [INFO] [stderr] --> src/input.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/input.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::simulation::{self, SoftBodyCollection}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Input_Handler` should have an upper camel case name [INFO] [stderr] --> src/input.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Input_Handler { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputHandler` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `input`, `render`, and `ui` [INFO] [stderr] --> src/app.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{render, simulation, ui, input}; [INFO] [stderr] | ^^^^^^ ^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston_window` [INFO] [stderr] --> src/input.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use piston_window::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AllButtons` is never constructed [INFO] [stderr] --> src/ui.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | struct AllButtons { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new_triangle` is never used [INFO] [stderr] --> src/simulation.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 109 | impl SoftBody { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn new_triangle(pos: [f64; 2]) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `App` is never constructed [INFO] [stderr] --> src/app.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct App { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/app.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl App { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] 16 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `soft_body_sim_2d` (bin "soft_body_sim_2d" test) generated 10 warnings (run `cargo fix --bin "soft_body_sim_2d" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/soft_body_sim_2d-69596c79097ddd72) [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" "3681dd37136a06eaba7fceb48a66f027792eed2ecd4181816f4d92ef90180eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3681dd37136a06eaba7fceb48a66f027792eed2ecd4181816f4d92ef90180eee", kill_on_drop: false }` [INFO] [stdout] 3681dd37136a06eaba7fceb48a66f027792eed2ecd4181816f4d92ef90180eee