[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] building HibikineKage/ray-trace against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHibikineKage%2Fray-trace" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HibikineKage/ray-trace on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "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-6-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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building HibikineKage/ray-trace against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHibikineKage%2Fray-trace" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HibikineKage/ray-trace on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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-6-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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building HibikineKage/ray-trace against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHibikineKage%2Fray-trace" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HibikineKage/ray-trace on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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-6-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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded matrixmultiply v0.2.2 [INFO] [stderr] Downloaded gif v0.10.1 [INFO] [stderr] Downloaded image v0.21.2 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded num-derive v0.2.4 [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.14 [INFO] [stderr] Downloaded alga v0.9.0 [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded rayon v1.1.0 [INFO] [stderr] Downloaded nalgebra v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cb92b75b01d6530d33bdf05411037817696b1eabd5fe8e2392b0b2b5a85b290 [INFO] running `Command { std: "docker" "start" "-a" "7cb92b75b01d6530d33bdf05411037817696b1eabd5fe8e2392b0b2b5a85b290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cb92b75b01d6530d33bdf05411037817696b1eabd5fe8e2392b0b2b5a85b290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb92b75b01d6530d33bdf05411037817696b1eabd5fe8e2392b0b2b5a85b290", kill_on_drop: false }` [INFO] [stdout] 7cb92b75b01d6530d33bdf05411037817696b1eabd5fe8e2392b0b2b5a85b290 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 649877f413289a7d9b8fc572cc8fab1ac120d06c80376a837ff151c6f2753f46 [INFO] running `Command { std: "docker" "start" "-a" "649877f413289a7d9b8fc572cc8fab1ac120d06c80376a837ff151c6f2753f46", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling libm v0.1.2 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.2.2 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling alga v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling nalgebra v0.18.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.2 [INFO] [stderr] Compiling 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: `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: 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: method `origin` is never used [INFO] [stdout] --> src/camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CameraUVWBuilder { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn origin(&mut self, origin: Vector3) -> &mut CameraUVWBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraLookAtBuilder` is never constructed [INFO] [stdout] --> src/camera.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct CameraLookAtBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/camera.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl CameraLookAtBuilder { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> CameraLookAtBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn lookfrom(&mut self, lookfrom: Vector3) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn lookat(&mut self, lookat: Vector3) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn vup(&mut self, vup: Vector3) -> &mut Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn vfov(&mut self, vfov: f32) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn aspect(&mut self, aspect: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn finalize(&self) -> Camera { [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: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.14s [INFO] running `Command { std: "docker" "inspect" "649877f413289a7d9b8fc572cc8fab1ac120d06c80376a837ff151c6f2753f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649877f413289a7d9b8fc572cc8fab1ac120d06c80376a837ff151c6f2753f46", kill_on_drop: false }` [INFO] [stdout] 649877f413289a7d9b8fc572cc8fab1ac120d06c80376a837ff151c6f2753f46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d16bd825b4ecf76409bf6cc2c961b821934d31de21b51ca6d970b76af8e4d166 [INFO] running `Command { std: "docker" "start" "-a" "d16bd825b4ecf76409bf6cc2c961b821934d31de21b51ca6d970b76af8e4d166", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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: 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: method `origin` is never used [INFO] [stdout] --> src/camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CameraUVWBuilder { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn origin(&mut self, origin: Vector3) -> &mut CameraUVWBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraLookAtBuilder` is never constructed [INFO] [stdout] --> src/camera.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct CameraLookAtBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/camera.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl CameraLookAtBuilder { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> CameraLookAtBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn lookfrom(&mut self, lookfrom: Vector3) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn lookat(&mut self, lookat: Vector3) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn vup(&mut self, vup: Vector3) -> &mut Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn vfov(&mut self, vfov: f32) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn aspect(&mut self, aspect: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn finalize(&self) -> Camera { [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: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "d16bd825b4ecf76409bf6cc2c961b821934d31de21b51ca6d970b76af8e4d166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16bd825b4ecf76409bf6cc2c961b821934d31de21b51ca6d970b76af8e4d166", kill_on_drop: false }` [INFO] [stdout] d16bd825b4ecf76409bf6cc2c961b821934d31de21b51ca6d970b76af8e4d166