[INFO] cloning repository https://github.com/Nucleartaxi/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nucleartaxi/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNucleartaxi%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNucleartaxi%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd55c6235f0da04149e9da29926248451e053ebf [INFO] building Nucleartaxi/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%2FNucleartaxi%2Fraytracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nucleartaxi/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/Nucleartaxi/raytracer [INFO] finished tweaking git repo https://github.com/Nucleartaxi/raytracer [INFO] tweaked toml for git repo https://github.com/Nucleartaxi/raytracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nucleartaxi/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 68d792863428a2003d8b5bcdbbef7782092974b538b5c60f077baedd98895739 [INFO] running `Command { std: "docker" "start" "-a" "68d792863428a2003d8b5bcdbbef7782092974b538b5c60f077baedd98895739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68d792863428a2003d8b5bcdbbef7782092974b538b5c60f077baedd98895739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d792863428a2003d8b5bcdbbef7782092974b538b5c60f077baedd98895739", kill_on_drop: false }` [INFO] [stdout] 68d792863428a2003d8b5bcdbbef7782092974b538b5c60f077baedd98895739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3a18a8ff35c63838f2751b4e94e06d10259c30b09175e0bfbeb7f4594dae07cb [INFO] running `Command { std: "docker" "start" "-a" "3a18a8ff35c63838f2751b4e94e06d10259c30b09175e0bfbeb7f4594dae07cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::material` [INFO] [stdout] --> src/ray.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::material; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> (bool, Color, Ray) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for s in 0..SAMPLES_PER_PIXEL { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_image` is never used [INFO] [stdout] --> src/image.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn create_test_image(v: &mut Vec, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec3.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_x(&mut self, x: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_y(&mut self, y: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_z(&mut self, z: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn multiply(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn divide(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new_random() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multiply_by` is never used [INFO] [stdout] --> src/color.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn multiply_by(&self, x: f64) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty`, `hit_sphere`, and `quadrant` are never used [INFO] [stdout] --> src/ray.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn new_empty() -> Ray { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn hit_sphere(&self, center: vec3::Vec3, radius: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn quadrant(&self) -> color::Color { //generates quadrant background based on sign of ray direction [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(ir: f64) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.88s [INFO] running `Command { std: "docker" "inspect" "3a18a8ff35c63838f2751b4e94e06d10259c30b09175e0bfbeb7f4594dae07cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a18a8ff35c63838f2751b4e94e06d10259c30b09175e0bfbeb7f4594dae07cb", kill_on_drop: false }` [INFO] [stdout] 3a18a8ff35c63838f2751b4e94e06d10259c30b09175e0bfbeb7f4594dae07cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 426bef728d82bdf02939e2ab46e75f1ae4fefd035ea14aa9b9b2b3af0f51c9f8 [INFO] running `Command { std: "docker" "start" "-a" "426bef728d82bdf02939e2ab46e75f1ae4fefd035ea14aa9b9b2b3af0f51c9f8", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::material` [INFO] [stdout] --> src/ray.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::material; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> (bool, Color, Ray) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for s in 0..SAMPLES_PER_PIXEL { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_image` is never used [INFO] [stdout] --> src/image.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn create_test_image(v: &mut Vec, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_random` is never used [INFO] [stdout] --> src/vec3.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Vec3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new_random() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multiply_by` is never used [INFO] [stdout] --> src/color.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn multiply_by(&self, x: f64) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_write_color` is never used [INFO] [stdout] --> src/color.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_write_color() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty`, `hit_sphere`, and `quadrant` are never used [INFO] [stdout] --> src/ray.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn new_empty() -> Ray { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn hit_sphere(&self, center: vec3::Vec3, radius: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn quadrant(&self) -> color::Color { //generates quadrant background based on sign of ray direction [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(ir: f64) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "426bef728d82bdf02939e2ab46e75f1ae4fefd035ea14aa9b9b2b3af0f51c9f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426bef728d82bdf02939e2ab46e75f1ae4fefd035ea14aa9b9b2b3af0f51c9f8", kill_on_drop: false }` [INFO] [stdout] 426bef728d82bdf02939e2ab46e75f1ae4fefd035ea14aa9b9b2b3af0f51c9f8