[INFO] cloning repository https://github.com/teunvw14/renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teunvw14/renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteunvw14%2Frenderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteunvw14%2Frenderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e16090d04b80b0f02d1cf661335850732017c736 [INFO] testing teunvw14/renderer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteunvw14%2Frenderer" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teunvw14/renderer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teunvw14/renderer [INFO] finished tweaking git repo https://github.com/teunvw14/renderer [INFO] tweaked toml for git repo https://github.com/teunvw14/renderer written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/teunvw14/renderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a41860cbda7e2140d1bfab3afdc42f34a5890cd4269ece0e319a58e6fa47bf4c [INFO] running `Command { std: "docker" "start" "-a" "a41860cbda7e2140d1bfab3afdc42f34a5890cd4269ece0e319a58e6fa47bf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a41860cbda7e2140d1bfab3afdc42f34a5890cd4269ece0e319a58e6fa47bf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a41860cbda7e2140d1bfab3afdc42f34a5890cd4269ece0e319a58e6fa47bf4c", kill_on_drop: false }` [INFO] [stdout] a41860cbda7e2140d1bfab3afdc42f34a5890cd4269ece0e319a58e6fa47bf4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28765c014f375876dfaea52c9c6c6c7222d1410a511b00b41d100ca1019a9ba9 [INFO] running `Command { std: "docker" "start" "-a" "28765c014f375876dfaea52c9c6c6c7222d1410a511b00b41d100ca1019a9ba9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.8.3 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rgb v0.8.31 [INFO] [stderr] Compiling wgpu-hal v0.12.3 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling pixels v0.9.0 [INFO] [stderr] Compiling winit_input_helper v0.11.0 [INFO] [stderr] Compiling renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SphericalCoordinates` [INFO] [stdout] --> src/camera.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::{Resolution, SphericalCoordinates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/input.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/objects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `Read` [INFO] [stdout] --> src/objects.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, BufWriter, Read}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/objects.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/objects.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/renderer.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3` [INFO] [stdout] --> src/util.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vector::{vec3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serializer`, `ser::SerializeStruct` [INFO] [stdout] --> src/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{ser::SerializeStruct, Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f32::consts::PI` [INFO] [stdout] --> src/vector.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | f32::consts::PI, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImagePlane` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use camera::{Camera, ImagePlane}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multithreading` [INFO] [stdout] --> src/input.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | multithreading: &mut bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_multithreading` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/camera.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn translate(&mut self, by: Vec3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_view_direction` [INFO] [stdout] --> src/camera.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_view_direction(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_field_of_view_horizontal` [INFO] [stdout] --> src/camera.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_field_of_view_horizontal(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closed` [INFO] [stdout] --> src/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Closed(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Open` [INFO] [stdout] --> src/util.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Open(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HalfOpenR` [INFO] [stdout] --> src/util.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | HalfOpenR(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HalfOpenL` [INFO] [stdout] --> src/util.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | HalfOpenL(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SmallerThan` [INFO] [stdout] --> src/util.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | SmallerThan(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SmallerEqual` [INFO] [stdout] --> src/util.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | SmallerEqual(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LargerEqual` [INFO] [stdout] --> src/util.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | LargerEqual(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_object_as_file_json` [INFO] [stdout] --> src/util.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn save_object_as_file_json(object: O, path: P) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_object_as_file_bin` [INFO] [stdout] --> src/util.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn save_object_as_file_bin(object: O, path: P) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_object_from_file_bin` [INFO] [stdout] --> src/util.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn load_object_from_file_bin(path: P) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vec2` [INFO] [stdout] --> src/vector.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vec2` [INFO] [stdout] --> src/vector.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vec2(x: f32, y: f32) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_to` [INFO] [stdout] --> src/vector.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn distance_to(&self, other: Self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_x_rad` [INFO] [stdout] --> src/vector.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn rotate_x_rad(&mut self, angle: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | std::io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "28765c014f375876dfaea52c9c6c6c7222d1410a511b00b41d100ca1019a9ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28765c014f375876dfaea52c9c6c6c7222d1410a511b00b41d100ca1019a9ba9", kill_on_drop: false }` [INFO] [stdout] 28765c014f375876dfaea52c9c6c6c7222d1410a511b00b41d100ca1019a9ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2924c4ca57bdfef17ba95d18299d56a980bec4fb5a9b94d3b5aeb88f53843ba [INFO] running `Command { std: "docker" "start" "-a" "d2924c4ca57bdfef17ba95d18299d56a980bec4fb5a9b94d3b5aeb88f53843ba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SphericalCoordinates` [INFO] [stdout] --> src/camera.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::{Resolution, SphericalCoordinates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/input.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/objects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `Read` [INFO] [stdout] --> src/objects.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, BufWriter, Read}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/objects.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/objects.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/renderer.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serializer`, `ser::SerializeStruct` [INFO] [stdout] --> src/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{ser::SerializeStruct, Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImagePlane` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use camera::{Camera, ImagePlane}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multithreading` [INFO] [stdout] --> src/input.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | multithreading: &mut bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_multithreading` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/camera.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn translate(&mut self, by: Vec3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_view_direction` [INFO] [stdout] --> src/camera.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_view_direction(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_field_of_view_horizontal` [INFO] [stdout] --> src/camera.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_field_of_view_horizontal(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closed` [INFO] [stdout] --> src/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Closed(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Open` [INFO] [stdout] --> src/util.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Open(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HalfOpenR` [INFO] [stdout] --> src/util.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | HalfOpenR(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HalfOpenL` [INFO] [stdout] --> src/util.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | HalfOpenL(f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SmallerThan` [INFO] [stdout] --> src/util.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | SmallerThan(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SmallerEqual` [INFO] [stdout] --> src/util.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | SmallerEqual(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LargerEqual` [INFO] [stdout] --> src/util.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | LargerEqual(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RealRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_object_as_file_json` [INFO] [stdout] --> src/util.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn save_object_as_file_json(object: O, path: P) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_object_as_file_bin` [INFO] [stdout] --> src/util.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn save_object_as_file_bin(object: O, path: P) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_object_from_file_bin` [INFO] [stdout] --> src/util.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn load_object_from_file_bin(path: P) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vec2` [INFO] [stdout] --> src/vector.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vec2` [INFO] [stdout] --> src/vector.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vec2(x: f32, y: f32) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_to` [INFO] [stdout] --> src/vector.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn distance_to(&self, other: Self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_x_rad` [INFO] [stdout] --> src/vector.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn rotate_x_rad(&mut self, angle: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | std::io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 01s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/renderer-222609da7e862633) [INFO] running `Command { std: "docker" "inspect" "d2924c4ca57bdfef17ba95d18299d56a980bec4fb5a9b94d3b5aeb88f53843ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2924c4ca57bdfef17ba95d18299d56a980bec4fb5a9b94d3b5aeb88f53843ba", kill_on_drop: false }` [INFO] [stdout] d2924c4ca57bdfef17ba95d18299d56a980bec4fb5a9b94d3b5aeb88f53843ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53a6a8cbf07afb2e2180551bc93479f5e2237f47f4c2a50079cc7fd3c3af8ffc [INFO] running `Command { std: "docker" "start" "-a" "53a6a8cbf07afb2e2180551bc93479f5e2237f47f4c2a50079cc7fd3c3af8ffc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "53a6a8cbf07afb2e2180551bc93479f5e2237f47f4c2a50079cc7fd3c3af8ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a6a8cbf07afb2e2180551bc93479f5e2237f47f4c2a50079cc7fd3c3af8ffc", kill_on_drop: false }` [INFO] [stdout] 53a6a8cbf07afb2e2180551bc93479f5e2237f47f4c2a50079cc7fd3c3af8ffc