[INFO] cloning repository https://github.com/HibikineKage/ray-trace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HibikineKage/ray-trace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHibikineKage%2Fray-trace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHibikineKage%2Fray-trace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a4163f0f8abc55d8b0499c7e2481beaaaf31753 [INFO] checking HibikineKage/ray-trace against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHibikineKage%2Fray-trace" "/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/HibikineKage/ray-trace on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HibikineKage/ray-trace [INFO] finished tweaking git repo https://github.com/HibikineKage/ray-trace [INFO] tweaked toml for git repo https://github.com/HibikineKage/ray-trace written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HibikineKage/ray-trace 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] [stderr] Downloaded num-derive v0.2.4 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded generic-array v0.12.0 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded alga v0.9.0 [INFO] [stderr] Downloaded matrixmultiply v0.2.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.14 [INFO] [stderr] Downloaded png v0.14.0 [INFO] [stderr] Downloaded libm v0.1.2 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded syn v0.15.30 [INFO] [stderr] Downloaded nalgebra v0.18.0 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d66fd43f372e342240cf3f0f03a43c4fd294fb2208981594b1e3b9df90999604 [INFO] running `Command { std: "docker" "start" "-a" "d66fd43f372e342240cf3f0f03a43c4fd294fb2208981594b1e3b9df90999604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d66fd43f372e342240cf3f0f03a43c4fd294fb2208981594b1e3b9df90999604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66fd43f372e342240cf3f0f03a43c4fd294fb2208981594b1e3b9df90999604", kill_on_drop: false }` [INFO] [stdout] d66fd43f372e342240cf3f0f03a43c4fd294fb2208981594b1e3b9df90999604 [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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80fe2a5f263f6cb79f02f8d9071feb0174e9a99990e2afbb07e914d1bdeeb3ee [INFO] running `Command { std: "docker" "start" "-a" "80fe2a5f263f6cb79f02f8d9071feb0174e9a99990e2afbb07e914d1bdeeb3ee", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking libm v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking alga v0.9.0 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking nalgebra v0.18.0 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.2 [INFO] [stderr] Checking ray-trace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::PNG` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use image::PNG; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::LOG2_E as LOG2` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f32::consts::LOG2_E as LOG2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::PNG` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use image::PNG; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::MAX as F32_MAX` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::f32::MAX as F32_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::MIN as F32_MIN` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::MIN as F32_MIN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::LOG2_E as LOG2` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f32::consts::LOG2_E as LOG2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::MAX as F32_MAX` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::f32::MAX as F32_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::MIN as F32_MIN` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::MIN as F32_MIN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | world: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | world: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | world: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | world: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI2` is never used [INFO] [stdout] --> src/main.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const PI2: f32 = PI * 2f32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECIP_PI2` is never used [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const RECIP_PI2: f32 = RECIP_PI / 2f32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const EPSILON: f32 = 1e-6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAMMA_FACTOR` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const GAMMA_FACTOR: f32 = 2.2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow3` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn pow3(x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow4` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn pow4(x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow5` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn pow5(x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn clamp(x: &f32, min: &f32, max: &f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saturate` is never used [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn saturate(x: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recip` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn recip(x: &f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn mix(a: &f32, b: &f32, t: &f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn step(edge: &f32, x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smoothstep` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn smoothstep(a: &f32, b: &f32, t: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn radians(deg: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees` is never used [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn degrees(rad: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> src/ray.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HitRec { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub t: f32, [INFO] [stdout] 5 | pub p: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI2` is never used [INFO] [stdout] --> src/main.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const PI2: f32 = PI * 2f32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECIP_PI2` is never used [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const RECIP_PI2: f32 = RECIP_PI / 2f32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const EPSILON: f32 = 1e-6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAMMA_FACTOR` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const GAMMA_FACTOR: f32 = 2.2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow3` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn pow3(x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow4` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn pow4(x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow5` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn pow5(x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn clamp(x: &f32, min: &f32, max: &f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saturate` is never used [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn saturate(x: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recip` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn recip(x: &f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn mix(a: &f32, b: &f32, t: &f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn step(edge: &f32, x: &f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smoothstep` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn smoothstep(a: &f32, b: &f32, t: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn radians(deg: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees` is never used [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn degrees(rad: &f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> src/ray.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HitRec { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub t: f32, [INFO] [stdout] 5 | pub p: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `halfH` should have a snake case name [INFO] [stdout] --> src/camera.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let halfH = (self.vfov.to_radians() / 2f32).tan(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `half_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `halfW` should have a snake case name [INFO] [stdout] --> src/camera.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let halfW = self.aspect * halfH; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `half_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `halfH` should have a snake case name [INFO] [stdout] --> src/camera.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let halfH = (self.vfov.to_radians() / 2f32).tan(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `half_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `halfW` should have a snake case name [INFO] [stdout] --> src/camera.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let halfW = self.aspect * halfH; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `half_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `Command { std: "docker" "inspect" "80fe2a5f263f6cb79f02f8d9071feb0174e9a99990e2afbb07e914d1bdeeb3ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80fe2a5f263f6cb79f02f8d9071feb0174e9a99990e2afbb07e914d1bdeeb3ee", kill_on_drop: false }` [INFO] [stdout] 80fe2a5f263f6cb79f02f8d9071feb0174e9a99990e2afbb07e914d1bdeeb3ee [INFO] checking HibikineKage/ray-trace against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHibikineKage%2Fray-trace" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HibikineKage/ray-trace on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HibikineKage/ray-trace [INFO] finished tweaking git repo https://github.com/HibikineKage/ray-trace [INFO] tweaked toml for git repo https://github.com/HibikineKage/ray-trace written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HibikineKage/ray-trace 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0aa51f931b0991bdc4318840fc55297f7601ff0d01f09985be276e9ee2a3e39 [INFO] running `Command { std: "docker" "start" "-a" "c0aa51f931b0991bdc4318840fc55297f7601ff0d01f09985be276e9ee2a3e39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0aa51f931b0991bdc4318840fc55297f7601ff0d01f09985be276e9ee2a3e39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0aa51f931b0991bdc4318840fc55297f7601ff0d01f09985be276e9ee2a3e39", kill_on_drop: false }` [INFO] [stdout] c0aa51f931b0991bdc4318840fc55297f7601ff0d01f09985be276e9ee2a3e39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14e5a3f780f351244c21f2c15428f7a4d9c353b9000addfd0848c9a54645a38 [INFO] running `Command { std: "docker" "start" "-a" "e14e5a3f780f351244c21f2c15428f7a4d9c353b9000addfd0848c9a54645a38", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking libm v0.1.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 505 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 506 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 507 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 508 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 509 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 511 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e14e5a3f780f351244c21f2c15428f7a4d9c353b9000addfd0848c9a54645a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14e5a3f780f351244c21f2c15428f7a4d9c353b9000addfd0848c9a54645a38", kill_on_drop: false }` [INFO] [stdout] e14e5a3f780f351244c21f2c15428f7a4d9c353b9000addfd0848c9a54645a38