[INFO] cloning repository https://github.com/jlndk/rust-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlndk/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlndk%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlndk%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4271cb4aff825f4196e5f497820b938f0716d92c [INFO] building jlndk/rust-raytracer against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlndk%2Frust-raytracer" "/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/jlndk/rust-raytracer on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jlndk/rust-raytracer [INFO] finished tweaking git repo https://github.com/jlndk/rust-raytracer [INFO] tweaked toml for git repo https://github.com/jlndk/rust-raytracer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jlndk/rust-raytracer 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e94b407f8bd419754eed337d657d08b12cbf10c113defc27edb71046d4bb3cf [INFO] running `Command { std: "docker" "start" "-a" "4e94b407f8bd419754eed337d657d08b12cbf10c113defc27edb71046d4bb3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e94b407f8bd419754eed337d657d08b12cbf10c113defc27edb71046d4bb3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e94b407f8bd419754eed337d657d08b12cbf10c113defc27edb71046d4bb3cf", kill_on_drop: false }` [INFO] [stdout] 4e94b407f8bd419754eed337d657d08b12cbf10c113defc27edb71046d4bb3cf [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b425af2fea163c5f826a8bed072c2a236de7ceb9f4de76582125aaa2d7505592 [INFO] running `Command { std: "docker" "start" "-a" "b425af2fea163c5f826a8bed072c2a236de7ceb9f4de76582125aaa2d7505592", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling term-table v1.3.2 [INFO] [stderr] Compiling indicatif v0.17.0 [INFO] [stderr] Compiling raytracer_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/material.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | true => (1.0 / self.index_of_refraction), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - true => (1.0 / self.index_of_refraction), [INFO] [stdout] 116 + true => 1.0 / self.index_of_refraction, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/material.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/material.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 63 | pub const fn new(albedo: Vec3, fuzz: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 94 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 95 | pub const fn new(index_of_refraction: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scene.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_spheres` is never used [INFO] [stdout] --> src/scene.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn random_spheres() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glowing_sphere` is never used [INFO] [stdout] --> src/scene.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn glowing_sphere() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rand` is never used [INFO] [stdout] --> src/vec3.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Vec3Extension { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 5 | fn rand() -> Vec3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.26s [INFO] running `Command { std: "docker" "inspect" "b425af2fea163c5f826a8bed072c2a236de7ceb9f4de76582125aaa2d7505592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b425af2fea163c5f826a8bed072c2a236de7ceb9f4de76582125aaa2d7505592", kill_on_drop: false }` [INFO] [stdout] b425af2fea163c5f826a8bed072c2a236de7ceb9f4de76582125aaa2d7505592 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02968d64bd328548f5add8136a63a2b8a40c4d499fa1da923ac3afd5bf42a9fd [INFO] running `Command { std: "docker" "start" "-a" "02968d64bd328548f5add8136a63a2b8a40c4d499fa1da923ac3afd5bf42a9fd", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/material.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | true => (1.0 / self.index_of_refraction), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - true => (1.0 / self.index_of_refraction), [INFO] [stdout] 116 + true => 1.0 / self.index_of_refraction, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/material.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/material.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 63 | pub const fn new(albedo: Vec3, fuzz: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 94 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 95 | pub const fn new(index_of_refraction: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scene.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_spheres` is never used [INFO] [stdout] --> src/scene.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn random_spheres() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glowing_sphere` is never used [INFO] [stdout] --> src/scene.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn glowing_sphere() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rand` is never used [INFO] [stdout] --> src/vec3.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Vec3Extension { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 5 | fn rand() -> Vec3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "02968d64bd328548f5add8136a63a2b8a40c4d499fa1da923ac3afd5bf42a9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02968d64bd328548f5add8136a63a2b8a40c4d499fa1da923ac3afd5bf42a9fd", kill_on_drop: false }` [INFO] [stdout] 02968d64bd328548f5add8136a63a2b8a40c4d499fa1da923ac3afd5bf42a9fd