[INFO] cloning repository https://github.com/niklashuss/ray_tracing_in_a_weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niklashuss/ray_tracing_in_a_weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklashuss%2Fray_tracing_in_a_weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklashuss%2Fray_tracing_in_a_weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e55c2151ebdb425934fe3f344fada563bd6f5e13 [INFO] checking niklashuss/ray_tracing_in_a_weekend against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklashuss%2Fray_tracing_in_a_weekend" "/workspace/builds/worker-62/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-62/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niklashuss/ray_tracing_in_a_weekend on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niklashuss/ray_tracing_in_a_weekend [INFO] finished tweaking git repo https://github.com/niklashuss/ray_tracing_in_a_weekend [INFO] tweaked toml for git repo https://github.com/niklashuss/ray_tracing_in_a_weekend written to /workspace/builds/worker-62/source/Cargo.toml [INFO] crate git repo https://github.com/niklashuss/ray_tracing_in_a_weekend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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 inflate v0.4.5 [INFO] [stderr] Downloaded minifb v0.13.0 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded x11-dl v2.18.4 [INFO] [stderr] Downloaded cc v1.0.45 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded autocfg v0.1.6 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded rand v0.7.1 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded orbclient v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26ca74990a4af6dd2b4064fb59950753230342aefb3419145c06f7f6e441ab06 [INFO] running `Command { std: "docker" "start" "-a" "26ca74990a4af6dd2b4064fb59950753230342aefb3419145c06f7f6e441ab06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26ca74990a4af6dd2b4064fb59950753230342aefb3419145c06f7f6e441ab06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ca74990a4af6dd2b4064fb59950753230342aefb3419145c06f7f6e441ab06", kill_on_drop: false }` [INFO] [stdout] 26ca74990a4af6dd2b4064fb59950753230342aefb3419145c06f7f6e441ab06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1bc08a4c9a66056b102131b9c184c27f8793c68efd5fe3c9a60782bbe269984 [INFO] running `Command { std: "docker" "start" "-a" "c1bc08a4c9a66056b102131b9c184c27f8793c68efd5fe3c9a60782bbe269984", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling minifb v0.13.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.1 [INFO] [stderr] Checking path-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot_vec3` [INFO] [stdout] --> src/main.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use vec3::{Vec3, dot_vec3}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot_vec3` [INFO] [stdout] --> src/main.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use vec3::{Vec3, dot_vec3}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | fn primary_ray(ray: Ray, intersectables: &Vec>, near: f32, far: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | fn primary_ray(ray: Ray, intersectables: &Vec>, near: f32, far: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:49 [INFO] [stdout] | [INFO] [stdout] 83 | fn ra_color2(ray: Ray, intersectables: &Vec>, depth: i32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Intersection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:49 [INFO] [stdout] | [INFO] [stdout] 83 | fn ra_color2(ray: Ray, intersectables: &Vec>, depth: i32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Intersection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | let mut intersectables: Vec> = std::vec::Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Intersection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | let mut intersectables: Vec> = std::vec::Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Intersection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/main.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | Some(hit) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | for i in 0..7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let y = rng.gen_range(0.0, 2.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | for s in 0..subsampling_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/main.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | Some(hit) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | for i in 0..7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let y = rng.gen_range(0.0, 2.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | for s in 0..subsampling_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut settings = Settings::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `length` [INFO] [stdout] --> src/vec3.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn length(v: Vec3) -> f32 { [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: `dot` [INFO] [stdout] --> src/vec3.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn dot(&self, other: Vec3) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/vec3.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shadow_ray` [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn shadow_ray(ray: Ray, intersectables: &std::vec::Vec<&dyn Intersection>, near: f32, far: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut settings = Settings::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `length` [INFO] [stdout] --> src/vec3.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn length(v: Vec3) -> f32 { [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: `dot` [INFO] [stdout] --> src/vec3.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn dot(&self, other: Vec3) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/vec3.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shadow_ray` [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn shadow_ray(ray: Ray, intersectables: &std::vec::Vec<&dyn Intersection>, near: f32, far: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.20s [INFO] running `Command { std: "docker" "inspect" "c1bc08a4c9a66056b102131b9c184c27f8793c68efd5fe3c9a60782bbe269984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1bc08a4c9a66056b102131b9c184c27f8793c68efd5fe3c9a60782bbe269984", kill_on_drop: false }` [INFO] [stdout] c1bc08a4c9a66056b102131b9c184c27f8793c68efd5fe3c9a60782bbe269984