[INFO] cloning repository https://github.com/dannyn/ray_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dannyn/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyn%2Fray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyn%2Fray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6030abc98669e2d5dc7b072507bfc6c029be8313 [INFO] building dannyn/ray_tracer 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%2Fdannyn%2Fray_tracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dannyn/ray_tracer 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/dannyn/ray_tracer [INFO] finished tweaking git repo https://github.com/dannyn/ray_tracer [INFO] tweaked toml for git repo https://github.com/dannyn/ray_tracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dannyn/ray_tracer 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f4f275ce10417a4925ebd63dff44c73a4d2245f8b3f8879d29140bbecf7d7450 [INFO] running `Command { std: "docker" "start" "-a" "f4f275ce10417a4925ebd63dff44c73a4d2245f8b3f8879d29140bbecf7d7450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4f275ce10417a4925ebd63dff44c73a4d2245f8b3f8879d29140bbecf7d7450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f275ce10417a4925ebd63dff44c73a4d2245f8b3f8879d29140bbecf7d7450", kill_on_drop: false }` [INFO] [stdout] f4f275ce10417a4925ebd63dff44c73a4d2245f8b3f8879d29140bbecf7d7450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fcbe9d6b976cbb3a59bf8d00dfcc9abfe1f9a920d871805398c9421627ae3bfa [INFO] running `Command { std: "docker" "start" "-a" "fcbe9d6b976cbb3a59bf8d00dfcc9abfe1f9a920d871805398c9421627ae3bfa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling nalgebra v0.24.1 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `approx::relative_eq` [INFO] [stdout] --> src/ray.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use approx::relative_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/sphere.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/sphere.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | mod sphere_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epsilon` [INFO] [stdout] --> src/transformation.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | fn abs_diff_eq(&self, other: &Vector, epsilon: f64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epsilon` [INFO] [stdout] --> src/transformation.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | fn relative_eq(&self, other: &Vector, epsilon: f64, max_relative: f64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_relative` [INFO] [stdout] --> src/transformation.rs:104:57 [INFO] [stdout] | [INFO] [stdout] 104 | fn relative_eq(&self, other: &Vector, epsilon: f64, max_relative: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_relative` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/transformation.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn shear(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/transformation.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn shear(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/transformation.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn shear(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/transformation.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn rotate(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/transformation.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn rotate(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/transformation.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn rotate(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/transformation.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | fn mul(self, other: Vector) -> Transformation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/transformation.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | fn mul(self, other: Transformation) -> Transformation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/ray.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pub t: f64, [INFO] [stdout] 9 | pub object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trans` is never read [INFO] [stdout] --> src/sphere.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub material: Material, [INFO] [stdout] 11 | pub trans: Transformation, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.74s [INFO] running `Command { std: "docker" "inspect" "fcbe9d6b976cbb3a59bf8d00dfcc9abfe1f9a920d871805398c9421627ae3bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcbe9d6b976cbb3a59bf8d00dfcc9abfe1f9a920d871805398c9421627ae3bfa", kill_on_drop: false }` [INFO] [stdout] fcbe9d6b976cbb3a59bf8d00dfcc9abfe1f9a920d871805398c9421627ae3bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1ab46711c91ce46bfca67ce94be1cc22afebb3098241b7f3f34ef3b070b178cc [INFO] running `Command { std: "docker" "start" "-a" "1ab46711c91ce46bfca67ce94be1cc22afebb3098241b7f3f34ef3b070b178cc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `epsilon` [INFO] [stdout] --> src/transformation.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | fn abs_diff_eq(&self, other: &Vector, epsilon: f64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epsilon` [INFO] [stdout] --> src/transformation.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | fn relative_eq(&self, other: &Vector, epsilon: f64, max_relative: f64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_relative` [INFO] [stdout] --> src/transformation.rs:104:57 [INFO] [stdout] | [INFO] [stdout] 104 | fn relative_eq(&self, other: &Vector, epsilon: f64, max_relative: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_relative` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/transformation.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn shear(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/transformation.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn shear(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/transformation.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn shear(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/transformation.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn rotate(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/transformation.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn rotate(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/transformation.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn rotate(&self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/transformation.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | fn mul(self, other: Vector) -> Transformation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/transformation.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | fn mul(self, other: Transformation) -> Transformation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/ray.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pub t: f64, [INFO] [stdout] 9 | pub object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trans` is never read [INFO] [stdout] --> src/sphere.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub material: Material, [INFO] [stdout] 11 | pub trans: Transformation, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/transformation.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn dot() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "1ab46711c91ce46bfca67ce94be1cc22afebb3098241b7f3f34ef3b070b178cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab46711c91ce46bfca67ce94be1cc22afebb3098241b7f3f34ef3b070b178cc", kill_on_drop: false }` [INFO] [stdout] 1ab46711c91ce46bfca67ce94be1cc22afebb3098241b7f3f34ef3b070b178cc