[INFO] cloning repository https://github.com/ejunoy/Bouncev2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ejunoy/Bouncev2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fejunoy%2FBouncev2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fejunoy%2FBouncev2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dc5517e5c5fa44fdc9bbf89f1f59ea51aad35cb [INFO] testing ejunoy/Bouncev2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fejunoy%2FBouncev2" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ejunoy/Bouncev2 [INFO] finished tweaking git repo https://github.com/ejunoy/Bouncev2 [INFO] tweaked toml for git repo https://github.com/ejunoy/Bouncev2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ejunoy/Bouncev2 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/ejunoy/Bouncev2 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] caa19e2e385cfa70170c509d3076b180555b238ab32715cf3e4d7cce9c6be2eb [INFO] running `Command { std: "docker" "start" "-a" "caa19e2e385cfa70170c509d3076b180555b238ab32715cf3e4d7cce9c6be2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caa19e2e385cfa70170c509d3076b180555b238ab32715cf3e4d7cce9c6be2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa19e2e385cfa70170c509d3076b180555b238ab32715cf3e4d7cce9c6be2eb", kill_on_drop: false }` [INFO] [stdout] caa19e2e385cfa70170c509d3076b180555b238ab32715cf3e4d7cce9c6be2eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4aec2363952d34a23856d029fbdd330ee1404bd890f1eb164fbeb7d2767e4d79 [INFO] running `Command { std: "docker" "start" "-a" "4aec2363952d34a23856d029fbdd330ee1404bd890f1eb164fbeb7d2767e4d79", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling lyon_geom v0.17.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling pennereq v0.3.1 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling notosans v0.1.0 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling glam v0.17.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling nannou_core v0.19.0 [INFO] [stderr] Compiling nannou_mesh v0.19.0 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling nannou_wgpu v0.19.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling nannou v0.19.0 [INFO] [stderr] Compiling bounce2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/entity/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, result}; [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: `entity::Line` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use entity::Line; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | fn update(app: &App, model: &mut Model, update: Update) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/main.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn update(app: &App, model: &mut Model, update: Update) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOLERANCE` is never used [INFO] [stdout] --> src/entity/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const TOLERANCE: f32 = 5.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/entity/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_position(&self) -> Point2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_initial_position(&mut self, position: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_position(&mut self, position: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_mass(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn set_mass(&mut self, mass: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_velocity(&self) -> Point2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_initial_velocity(&mut self, velocity: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_velocity(&mut self, velocity: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_forces(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn push_force(&mut self, force: &Point2) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn pop_force(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn remove_force(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn translate(&mut self, vector: Point2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_initial_time(&mut self, t: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `polar_curve`, `parametric_curve`, and `polyline` are never used [INFO] [stdout] --> src/entity/mod.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl Shape { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 395 | pub fn new(lines : Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn polar_curve(f: fn (f32) -> f32, inital_time: f32, final_time: f32, steps: usize, elasticity: f32) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn parametric_curve(f: fn (f32)-> f32, g: fn (f32)-> f32, inital_time: f32, final_time: f32, steps: usize, elasticity: f32) -> Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn polyline(vertices: HashMap, elasticity: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | draw.to_frame(app, &frame); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = draw.to_frame(app, &frame); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "4aec2363952d34a23856d029fbdd330ee1404bd890f1eb164fbeb7d2767e4d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aec2363952d34a23856d029fbdd330ee1404bd890f1eb164fbeb7d2767e4d79", kill_on_drop: false }` [INFO] [stdout] 4aec2363952d34a23856d029fbdd330ee1404bd890f1eb164fbeb7d2767e4d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ab219b2594e989529c8dda88b4af33c83ce279cba4a6b88152a9469f2dffccb1 [INFO] running `Command { std: "docker" "start" "-a" "ab219b2594e989529c8dda88b4af33c83ce279cba4a6b88152a9469f2dffccb1", kill_on_drop: false }` [INFO] [stderr] Compiling bounce2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/entity/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, result}; [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: `entity::Line` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use entity::Line; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | fn update(app: &App, model: &mut Model, update: Update) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/main.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn update(app: &App, model: &mut Model, update: Update) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOLERANCE` is never used [INFO] [stdout] --> src/entity/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const TOLERANCE: f32 = 5.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/entity/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_position(&self) -> Point2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_initial_position(&mut self, position: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_position(&mut self, position: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_mass(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn set_mass(&mut self, mass: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_velocity(&self) -> Point2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_initial_velocity(&mut self, velocity: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_velocity(&mut self, velocity: &Point2) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_forces(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn push_force(&mut self, force: &Point2) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn pop_force(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn remove_force(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn translate(&mut self, vector: Point2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_initial_time(&mut self, t: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `polar_curve`, `parametric_curve`, and `polyline` are never used [INFO] [stdout] --> src/entity/mod.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl Shape { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 395 | pub fn new(lines : Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn polar_curve(f: fn (f32) -> f32, inital_time: f32, final_time: f32, steps: usize, elasticity: f32) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn parametric_curve(f: fn (f32)-> f32, g: fn (f32)-> f32, inital_time: f32, final_time: f32, steps: usize, elasticity: f32) -> Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn polyline(vertices: HashMap, elasticity: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | draw.to_frame(app, &frame); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = draw.to_frame(app, &frame); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "ab219b2594e989529c8dda88b4af33c83ce279cba4a6b88152a9469f2dffccb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab219b2594e989529c8dda88b4af33c83ce279cba4a6b88152a9469f2dffccb1", kill_on_drop: false }` [INFO] [stdout] ab219b2594e989529c8dda88b4af33c83ce279cba4a6b88152a9469f2dffccb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1a56ca045df07cca815e349949586c6b4ec823c107f7213cc4a305e25f4233da [INFO] running `Command { std: "docker" "start" "-a" "1a56ca045df07cca815e349949586c6b4ec823c107f7213cc4a305e25f4233da", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `result` [INFO] [stderr] --> src/entity/mod.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `entity::Line` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use entity::Line; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:43:11 [INFO] [stderr] | [INFO] [stderr] 43 | fn update(app: &App, model: &mut Model, update: Update) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update` [INFO] [stderr] --> src/main.rs:43:41 [INFO] [stderr] | [INFO] [stderr] 43 | fn update(app: &App, model: &mut Model, update: Update) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stderr] [INFO] [stderr] warning: constant `TOLERANCE` is never used [INFO] [stderr] --> src/entity/mod.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | const TOLERANCE: f32 = 5.0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/entity/mod.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Entity { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn get_position(&self) -> Point2 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn set_initial_position(&mut self, position: &Point2) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn set_position(&mut self, position: &Point2) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn get_mass(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn set_mass(&mut self, mass: f32) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn get_velocity(&self) -> Point2 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn set_initial_velocity(&mut self, velocity: &Point2) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn set_velocity(&mut self, velocity: &Point2) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn get_forces(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn push_force(&mut self, force: &Point2) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub fn pop_force(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn remove_force(&mut self, index: usize) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | pub fn translate(&mut self, vector: Point2) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn get_time(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn set_initial_time(&mut self, t: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new`, `polar_curve`, `parametric_curve`, and `polyline` are never used [INFO] [stderr] --> src/entity/mod.rs:395:12 [INFO] [stderr] | [INFO] [stderr] 394 | impl Shape { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] 395 | pub fn new(lines : Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 399 | pub fn polar_curve(f: fn (f32) -> f32, inital_time: f32, final_time: f32, steps: usize, elasticity: f32) -> Shape { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 422 | pub fn parametric_curve(f: fn (f32)-> f32, g: fn (f32)-> f32, inital_time: f32, final_time: f32, steps: usize, elasticity: f32) -> Se... [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 470 | pub fn polyline(vertices: HashMap, elasticity: f32) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | draw.to_frame(app, &frame); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 102 | let _ = draw.to_frame(app, &frame); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `bounce2` (bin "bounce2" test) generated 8 warnings (run `cargo fix --bin "bounce2" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bounce2-c325f3e6e572e0f9) [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" "1a56ca045df07cca815e349949586c6b4ec823c107f7213cc4a305e25f4233da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a56ca045df07cca815e349949586c6b4ec823c107f7213cc4a305e25f4233da", kill_on_drop: false }` [INFO] [stdout] 1a56ca045df07cca815e349949586c6b4ec823c107f7213cc4a305e25f4233da