[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 master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeZimm%2F3D-Grapher-Rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukeZimm/3D-Grapher-Rust on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e34e303e16c5b6ca12aafa4fc7b48bb863b42f36f1aa16b94db2b8acd4861c5 [INFO] running `Command { std: "docker" "start" "-a" "9e34e303e16c5b6ca12aafa4fc7b48bb863b42f36f1aa16b94db2b8acd4861c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e34e303e16c5b6ca12aafa4fc7b48bb863b42f36f1aa16b94db2b8acd4861c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e34e303e16c5b6ca12aafa4fc7b48bb863b42f36f1aa16b94db2b8acd4861c5", kill_on_drop: false }` [INFO] [stdout] 9e34e303e16c5b6ca12aafa4fc7b48bb863b42f36f1aa16b94db2b8acd4861c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e44b391892ce2b99d11d20284911e72da7b4b8d813be6ee7397e2f881b871ed4 [INFO] running `Command { std: "docker" "start" "-a" "e44b391892ce2b99d11d20284911e72da7b4b8d813be6ee7397e2f881b871ed4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [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 bytemuck v1.7.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wide v0.7.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling ncollide3d v0.32.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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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 `ui` is never used [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 8m 52s [INFO] running `Command { std: "docker" "inspect" "e44b391892ce2b99d11d20284911e72da7b4b8d813be6ee7397e2f881b871ed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44b391892ce2b99d11d20284911e72da7b4b8d813be6ee7397e2f881b871ed4", kill_on_drop: false }` [INFO] [stdout] e44b391892ce2b99d11d20284911e72da7b4b8d813be6ee7397e2f881b871ed4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7879686e5a642e1bbe51ee6dd9862d1c0152da702d0cae1b59f95460e498573d [INFO] running `Command { std: "docker" "start" "-a" "7879686e5a642e1bbe51ee6dd9862d1c0152da702d0cae1b59f95460e498573d", kill_on_drop: false }` [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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 `ui` is never used [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.91s [INFO] running `Command { std: "docker" "inspect" "7879686e5a642e1bbe51ee6dd9862d1c0152da702d0cae1b59f95460e498573d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7879686e5a642e1bbe51ee6dd9862d1c0152da702d0cae1b59f95460e498573d", kill_on_drop: false }` [INFO] [stdout] 7879686e5a642e1bbe51ee6dd9862d1c0152da702d0cae1b59f95460e498573d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b2e9f086c399986d256ffec3c8605e08c1d2b056f1e4e20a08532d2fdd6e8994 [INFO] running `Command { std: "docker" "start" "-a" "b2e9f086c399986d256ffec3c8605e08c1d2b056f1e4e20a08532d2fdd6e8994", kill_on_drop: false }` [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] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [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 `ui` is never used [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 (run `cargo fix --bin "grapher-3d" --tests` to apply 13 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/grapher_3d-4d41fd3ff0c73f50) [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" "b2e9f086c399986d256ffec3c8605e08c1d2b056f1e4e20a08532d2fdd6e8994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e9f086c399986d256ffec3c8605e08c1d2b056f1e4e20a08532d2fdd6e8994", kill_on_drop: false }` [INFO] [stdout] b2e9f086c399986d256ffec3c8605e08c1d2b056f1e4e20a08532d2fdd6e8994