[INFO] cloning repository https://github.com/LukeZimm/3D-Grapher-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LukeZimm/3D-Grapher-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeZimm%2F3D-Grapher-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeZimm%2F3D-Grapher-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcdc7d83c90cc784d5ab10b5a14ddb2ab8b54dd1 [INFO] testing LukeZimm/3D-Grapher-Rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeZimm%2F3D-Grapher-Rust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukeZimm/3D-Grapher-Rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LukeZimm/3D-Grapher-Rust [INFO] finished tweaking git repo https://github.com/LukeZimm/3D-Grapher-Rust [INFO] tweaked toml for git repo https://github.com/LukeZimm/3D-Grapher-Rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/LukeZimm/3D-Grapher-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncollide3d v0.32.0 [INFO] [stderr] Downloaded kiss3d v0.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d42c391a7d76c5f92cf90a36463c265e17c26739be4e317dd3a1dbadf41e86c [INFO] running `Command { std: "docker" "start" "-a" "4d42c391a7d76c5f92cf90a36463c265e17c26739be4e317dd3a1dbadf41e86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d42c391a7d76c5f92cf90a36463c265e17c26739be4e317dd3a1dbadf41e86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d42c391a7d76c5f92cf90a36463c265e17c26739be4e317dd3a1dbadf41e86c", kill_on_drop: false }` [INFO] [stdout] 4d42c391a7d76c5f92cf90a36463c265e17c26739be4e317dd3a1dbadf41e86c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6169126dd2c8c71998ff39ad3b8eb133f33bf9b827221c1d990da6577db4f170 [INFO] running `Command { std: "docker" "start" "-a" "6169126dd2c8c71998ff39ad3b8eb133f33bf9b827221c1d990da6577db4f170", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling wide v0.7.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling ncollide3d v0.32.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling kiss3d v0.32.0 [INFO] [stderr] Compiling grapher-3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kiss3d::camera::Camera` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiss3d::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Point2`, `Vector2` [INFO] [stdout] --> src/main.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use kiss3d::nalgebra::{Matrix4, Point2, Point3, Translation2, Translation3, Vector2}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kiss3d::planar_camera::PlanarCamera` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use kiss3d::planar_camera::PlanarCamera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let camera = camera::FirstPerson::new(eye, at); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_2d` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let camera_2d = planar_camera::FixedView::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sel_pos` is never read [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut sel_pos = (0.0f32, 0.0f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sel_pos` is never read [INFO] [stdout] --> src/main.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | sel_pos = (last_pos.0 - window_size.0, last_pos.1 - window_size.1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | WindowEvent::MouseButton(button, Action::Press, modif) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let qty = if a == 0 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:233:7 [INFO] [stdout] | [INFO] [stdout] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/main.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a2` [INFO] [stdout] --> src/main.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let a2 = 0.506667; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a3` [INFO] [stdout] --> src/main.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let a3 = 0.447143; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modif` [INFO] [stdout] --> src/main.rs:302:52 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn check_click(&mut self, pos: (f32, f32), modif: kiss3d::event::Modifiers) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_modif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | for mut event in window.events().iter() { [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 is never used: `ui` [INFO] [stdout] --> src/main.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.68s [INFO] running `Command { std: "docker" "inspect" "6169126dd2c8c71998ff39ad3b8eb133f33bf9b827221c1d990da6577db4f170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6169126dd2c8c71998ff39ad3b8eb133f33bf9b827221c1d990da6577db4f170", kill_on_drop: false }` [INFO] [stdout] 6169126dd2c8c71998ff39ad3b8eb133f33bf9b827221c1d990da6577db4f170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e4eed43c7b53b8c99e078ab2546503918cc0b1362461dde6b9dd757c2ccbc56 [INFO] running `Command { std: "docker" "start" "-a" "6e4eed43c7b53b8c99e078ab2546503918cc0b1362461dde6b9dd757c2ccbc56", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling grapher-3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kiss3d::camera::Camera` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiss3d::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Point2`, `Vector2` [INFO] [stdout] --> src/main.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use kiss3d::nalgebra::{Matrix4, Point2, Point3, Translation2, Translation3, Vector2}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kiss3d::planar_camera::PlanarCamera` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use kiss3d::planar_camera::PlanarCamera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let camera = camera::FirstPerson::new(eye, at); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_2d` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let camera_2d = planar_camera::FixedView::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sel_pos` is never read [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut sel_pos = (0.0f32, 0.0f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sel_pos` is never read [INFO] [stdout] --> src/main.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | sel_pos = (last_pos.0 - window_size.0, last_pos.1 - window_size.1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | WindowEvent::MouseButton(button, Action::Press, modif) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let qty = if a == 0 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:233:7 [INFO] [stdout] | [INFO] [stdout] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/main.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a2` [INFO] [stdout] --> src/main.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let a2 = 0.506667; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a3` [INFO] [stdout] --> src/main.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let a3 = 0.447143; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modif` [INFO] [stdout] --> src/main.rs:302:52 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn check_click(&mut self, pos: (f32, f32), modif: kiss3d::event::Modifiers) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_modif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | for mut event in window.events().iter() { [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 is never used: `ui` [INFO] [stdout] --> src/main.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "6e4eed43c7b53b8c99e078ab2546503918cc0b1362461dde6b9dd757c2ccbc56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4eed43c7b53b8c99e078ab2546503918cc0b1362461dde6b9dd757c2ccbc56", kill_on_drop: false }` [INFO] [stdout] 6e4eed43c7b53b8c99e078ab2546503918cc0b1362461dde6b9dd757c2ccbc56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd77f197296e1c85c2a0c53def3feb5289ee08aeae4b1986e00438dcfa2b6413 [INFO] running `Command { std: "docker" "start" "-a" "dd77f197296e1c85c2a0c53def3feb5289ee08aeae4b1986e00438dcfa2b6413", 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] [stderr] warning: unused import: `kiss3d::camera::Camera` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use kiss3d::camera::Camera; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Matrix4`, `Point2`, `Vector2` [INFO] [stderr] --> src/main.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | use kiss3d::nalgebra::{Matrix4, Point2, Point3, Translation2, Translation3, Vector2}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kiss3d::planar_camera::PlanarCamera` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use kiss3d::planar_camera::PlanarCamera; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `camera` [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let camera = camera::FirstPerson::new(eye, at); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `camera_2d` [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let camera_2d = planar_camera::FixedView::new(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_2d` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `sel_pos` is never read [INFO] [stderr] --> src/main.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let mut sel_pos = (0.0f32, 0.0f32); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `sel_pos` is never read [INFO] [stderr] --> src/main.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | sel_pos = (last_pos.0 - window_size.0, last_pos.1 - window_size.1); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/main.rs:63:42 [INFO] [stderr] | [INFO] [stderr] 63 | WindowEvent::MouseButton(button, Action::Press, modif) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `qty` [INFO] [stderr] --> src/main.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | let qty = if a == 0 { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window` [INFO] [stderr] --> src/main.rs:233:7 [INFO] [stderr] | [INFO] [stderr] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/main.rs:233:28 [INFO] [stderr] | [INFO] [stderr] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a2` [INFO] [stderr] --> src/main.rs:288:13 [INFO] [stderr] | [INFO] [stderr] 288 | let a2 = 0.506667; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a3` [INFO] [stderr] --> src/main.rs:289:13 [INFO] [stderr] | [INFO] [stderr] 289 | let a3 = 0.447143; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_a3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modif` [INFO] [stderr] --> src/main.rs:302:52 [INFO] [stderr] | [INFO] [stderr] 302 | pub fn check_click(&mut self, pos: (f32, f32), modif: kiss3d::event::Modifiers) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_modif` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | for mut event in window.events().iter() { [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 is never used: `ui` [INFO] [stderr] --> src/main.rs:233:4 [INFO] [stderr] | [INFO] [stderr] 233 | fn ui(window: &mut Window, nodes: &mut Vec) {} [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `grapher-3d` (bin "grapher-3d" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.80s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/grapher_3d-39544f950a0d6033) [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" "dd77f197296e1c85c2a0c53def3feb5289ee08aeae4b1986e00438dcfa2b6413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd77f197296e1c85c2a0c53def3feb5289ee08aeae4b1986e00438dcfa2b6413", kill_on_drop: false }` [INFO] [stdout] dd77f197296e1c85c2a0c53def3feb5289ee08aeae4b1986e00438dcfa2b6413