[INFO] cloning repository https://github.com/josephch405/rust-raytrace-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josephch405/rust-raytrace-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 576f04c33d37ea9910c307498b3be01a68becbf3 [INFO] building josephch405/rust-raytrace-challenge 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%2Fjosephch405%2Frust-raytrace-challenge" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/josephch405/rust-raytrace-challenge 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/josephch405/rust-raytrace-challenge [INFO] finished tweaking git repo https://github.com/josephch405/rust-raytrace-challenge [INFO] tweaked toml for git repo https://github.com/josephch405/rust-raytrace-challenge written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/josephch405/rust-raytrace-challenge 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dd3a3bc95d19ee5c62d5cd9b9dec075e571e8c883daae57620757a3fcfd990de [INFO] running `Command { std: "docker" "start" "-a" "dd3a3bc95d19ee5c62d5cd9b9dec075e571e8c883daae57620757a3fcfd990de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd3a3bc95d19ee5c62d5cd9b9dec075e571e8c883daae57620757a3fcfd990de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd3a3bc95d19ee5c62d5cd9b9dec075e571e8c883daae57620757a3fcfd990de", kill_on_drop: false }` [INFO] [stdout] dd3a3bc95d19ee5c62d5cd9b9dec075e571e8c883daae57620757a3fcfd990de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8de0fdff330a4bfcc402480651b47fde2fcead48861ac41c3c2ec96033175730 [INFO] running `Command { std: "docker" "start" "-a" "8de0fdff330a4bfcc402480651b47fde2fcead48861ac41c3c2ec96033175730", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/canvas.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Canvas { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, w: u64, h: u64) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `subtract`, `multiply`, and `multiply_color` are never used [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 17 | pub fn add(&self, other: Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn multiply_color(&self, c: Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I4` is never used [INFO] [stdout] --> src/matrix.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const I4: Matrix4 = [ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `mm`, `t`, `I`, `invertible`, and `eq` are never used [INFO] [stdout] --> src/matrix.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 63 | impl M4 { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 64 | pub fn mm(m1: Matrix4, m2: Matrix4) -> Matrix4 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn t(m: Matrix4) -> Matrix4 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub const I: Matrix4 = I4; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn eq(a: Matrix4, b: Matrix4) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale` is never used [INFO] [stdout] --> src/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn scale(x: f32, y: f32, z: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_x` is never used [INFO] [stdout] --> src/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn rotate_x(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_y` is never used [INFO] [stdout] --> src/matrix.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn rotate_y(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_z` is never used [INFO] [stdout] --> src/matrix.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn rotate_z(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shear` is never used [INFO] [stdout] --> src/matrix.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn shear(x_y: f32, x_z: f32, y_x: f32, y_z: f32, z_x: f32, z_y: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chain` is never used [INFO] [stdout] --> src/matrix.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn chain(ms: Vec) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `position` is never used [INFO] [stdout] --> src/ray.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 17 | pub fn position(&self, time: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/shapes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Shape { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 7 | fn intersects(&self, t: Ray) -> Vec; [INFO] [stdout] 8 | fn id(&self) -> isize; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sphere_unit` is never used [INFO] [stdout] --> src/shapes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sphere_unit() -> Sphere { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `t` and `object` are never read [INFO] [stdout] --> src/shapes.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Intersection<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | t: f32, [INFO] [stdout] | ^ [INFO] [stdout] 66 | object: &'a dyn Shape, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intersection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit` is never used [INFO] [stdout] --> src/shapes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn hit(intersections: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `negate`, `multiply`, `divide`, and `cross` are never used [INFO] [stdout] --> src/tuple.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tuple { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn add(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn multiply(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn cross(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "8de0fdff330a4bfcc402480651b47fde2fcead48861ac41c3c2ec96033175730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de0fdff330a4bfcc402480651b47fde2fcead48861ac41c3c2ec96033175730", kill_on_drop: false }` [INFO] [stdout] 8de0fdff330a4bfcc402480651b47fde2fcead48861ac41c3c2ec96033175730 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e2e981134bf588f7b7a494e48cb846139607a7803496b85f562438cc6df5f282 [INFO] running `Command { std: "docker" "start" "-a" "e2e981134bf588f7b7a494e48cb846139607a7803496b85f562438cc6df5f282", kill_on_drop: false }` [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `add`, `subtract`, and `multiply` are never used [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 17 | pub fn add(&self, other: Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `invertible` is never used [INFO] [stdout] --> src/matrix.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 63 | impl M4 { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `negate` and `divide` are never used [INFO] [stdout] --> src/tuple.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tuple { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "e2e981134bf588f7b7a494e48cb846139607a7803496b85f562438cc6df5f282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e981134bf588f7b7a494e48cb846139607a7803496b85f562438cc6df5f282", kill_on_drop: false }` [INFO] [stdout] e2e981134bf588f7b7a494e48cb846139607a7803496b85f562438cc6df5f282