[INFO] cloning repository https://github.com/Moharum1/oliv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Moharum1/oliv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoharum1%2Foliv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoharum1%2Foliv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76e405f0e07919f67fe7851ed94dcb4c142e2f55 [INFO] checking Moharum1/oliv against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoharum1%2Foliv" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Moharum1/oliv on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Moharum1/oliv [INFO] finished tweaking git repo https://github.com/Moharum1/oliv [INFO] tweaked toml for git repo https://github.com/Moharum1/oliv written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Moharum1/oliv 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_float_eq v1.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0336f784d75393d5c6adc7c977e54d31c7eb49802ba3977b52b87d826ac1d023 [INFO] running `Command { std: "docker" "start" "-a" "0336f784d75393d5c6adc7c977e54d31c7eb49802ba3977b52b87d826ac1d023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0336f784d75393d5c6adc7c977e54d31c7eb49802ba3977b52b87d826ac1d023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0336f784d75393d5c6adc7c977e54d31c7eb49802ba3977b52b87d826ac1d023", kill_on_drop: false }` [INFO] [stdout] 0336f784d75393d5c6adc7c977e54d31c7eb49802ba3977b52b87d826ac1d023 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3906b79ff898ed3f74a35d04f8ccf7037bd139aff887ea2799771d6bf68e324 [INFO] running `Command { std: "docker" "start" "-a" "c3906b79ff898ed3f74a35d04f8ccf7037bd139aff887ea2799771d6bf68e324", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking assert_float_eq v1.1.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking oliv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `assert_float_eq::assert_f32_near` [INFO] [stdout] --> src/engine/math/matrix.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use assert_float_eq::assert_f32_near; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_u8` are never used [INFO] [stdout] --> src/engine/colors.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Color{ [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub(crate) fn new(r:f32, g:f32, b:f32) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn to_u8(&self) -> [u8; 3] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Canvas` is never constructed [INFO] [stdout] --> src/engine/canvas.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | Canvas{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write_pixel`, and `to_ppm` are never used [INFO] [stdout] --> src/engine/canvas.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Canvas{ [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub(crate) fn new(w:usize, h:usize) -> Canvas { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn write_pixel(&mut self, x:usize, y:usize, color: Color){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn to_ppm(&self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/engine/math/vector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl CoOrdinate{ [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new_vector(x:f32, y:f32, z:f32) -> CoOrdinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn new_point(x:f32, y:f32, z:f32) -> CoOrdinate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn negate(&mut self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn magnitude(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn normalize(&mut self) -> CoOrdinate{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn dot(&self, rhs: &CoOrdinate) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn cross(&self, rhs: &CoOrdinate) -> CoOrdinate { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDENTITY_MAT4X4` is never used [INFO] [stdout] --> src/engine/math/matrix.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const IDENTITY_MAT4X4: [[f32; 4]; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix3X3` is never constructed [INFO] [stdout] --> src/engine/math/matrix.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct Matrix3X3{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub_matrix`, `minor`, `co_factor`, and `determinant` are never used [INFO] [stdout] --> src/engine/math/matrix.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Matrix3X3{ [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 34 | fn sub_matrix(&self, x_row: usize, x_column: usize) -> Matrix2X2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn minor(&self, x_row: usize, x_column: usize) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn co_factor(&self, x_row: usize, x_column: usize) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn determinant(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix2X2` is never constructed [INFO] [stdout] --> src/engine/math/matrix.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Matrix2X2{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `determinant` is never used [INFO] [stdout] --> src/engine/math/matrix.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Matrix2X2{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 91 | fn determinant(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transpose`, `sub_matrix`, `minor`, `co_factor`, `determinant`, and `inverse` are never used [INFO] [stdout] --> src/engine/math/matrix.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Matrix4X4{ [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn transpose(&self) -> Matrix4X4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn sub_matrix(&self, x_row: usize, x_column: usize) -> Matrix3X3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn minor(&self, x_row: usize, x_column: usize) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn co_factor(&self, x_row: usize, x_column: usize) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn determinant(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn inverse(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RoundToTwoDecimalPlaces` is never used [INFO] [stdout] --> src/engine/math/operations.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) trait RoundToTwoDecimalPlaces { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Projectile` is never constructed [INFO] [stdout] --> src/tests/projectile.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Projectile{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Environment` is never constructed [INFO] [stdout] --> src/tests/projectile.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Environment{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayGround` is never constructed [INFO] [stdout] --> src/tests/projectile.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct PlayGround{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> src/tests/projectile.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl PlayGround { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 20 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat_c` [INFO] [stdout] --> src/engine/math/matrix.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let mat_c = mat_a.clone() * mat_b.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mat_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dot` and `cross` are never used [INFO] [stdout] --> src/engine/math/vector.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl CoOrdinate{ [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn dot(&self, rhs: &CoOrdinate) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn cross(&self, rhs: &CoOrdinate) -> CoOrdinate { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDENTITY_MAT4X4` is never used [INFO] [stdout] --> src/engine/math/matrix.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const IDENTITY_MAT4X4: [[f32; 4]; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "c3906b79ff898ed3f74a35d04f8ccf7037bd139aff887ea2799771d6bf68e324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3906b79ff898ed3f74a35d04f8ccf7037bd139aff887ea2799771d6bf68e324", kill_on_drop: false }` [INFO] [stdout] c3906b79ff898ed3f74a35d04f8ccf7037bd139aff887ea2799771d6bf68e324