[INFO] cloning repository https://github.com/arhamahmed/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/arhamahmed/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhamahmed%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhamahmed%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d5acc51b711e5e36e73f24314a18e7d796bab8d [INFO] building arhamahmed/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%2Farhamahmed%2Fray-tracer" "/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/arhamahmed/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/arhamahmed/ray-tracer [INFO] finished tweaking git repo https://github.com/arhamahmed/ray-tracer [INFO] tweaked toml for git repo https://github.com/arhamahmed/ray-tracer written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arhamahmed/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] 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] a24092ed02b72036dc7f2cfd5d8f5b11cc704927b0b03e89924892caa3cecc61 [INFO] running `Command { std: "docker" "start" "-a" "a24092ed02b72036dc7f2cfd5d8f5b11cc704927b0b03e89924892caa3cecc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a24092ed02b72036dc7f2cfd5d8f5b11cc704927b0b03e89924892caa3cecc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a24092ed02b72036dc7f2cfd5d8f5b11cc704927b0b03e89924892caa3cecc61", kill_on_drop: false }` [INFO] [stdout] a24092ed02b72036dc7f2cfd5d8f5b11cc704927b0b03e89924892caa3cecc61 [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] ec7ed15d9f8dcd67c242f9f99b415dd730498c3108f0caf1c7cb616cd573c7f6 [INFO] running `Command { std: "docker" "start" "-a" "ec7ed15d9f8dcd67c242f9f99b415dd730498c3108f0caf1c7cb616cd573c7f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rays v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `moving_sphere::MovingSphere` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use moving_sphere::MovingSphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `perlin::Perlin` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use perlin::Perlin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/vec3.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let y = *normal * 2.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut u = point.x() - point.x().floor(); [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: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut v = point.y() - point.y().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut w = point.z() - point.z().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_ground` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let material_ground = Color::new(0.8, 0.8, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_1` [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let center_1 = center_0 + Vec3::new(0.0, random_float_in_range(0.0, 0.5), 0.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `equal_to` and `random_in_hemisphere` are never used [INFO] [stdout] --> src/vec3.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn equal_to(&self, second: &Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [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/moving_sphere.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(center_0: Vec3, time_0: f64, center_1: Vec3, time_1: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plane_outward` is never read [INFO] [stdout] --> src/camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | plane_outward: Vec3, // w [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_texture` is never used [INFO] [stdout] --> src/texture.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl CheckeredTexture { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new_with_texture(odd: impl Texture + 'static, even: impl Texture + 'static) -> CheckeredTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y_perms` and `z_perms` are never read [INFO] [stdout] --> src/perlin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Perlin { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | y_perms: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | z_perms: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `computeIntersection` should have a snake case name [INFO] [stdout] --> src/aabb.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn computeIntersection(&self, ray: &Ray, min_t: f64, max_t: f64, dimension: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "ec7ed15d9f8dcd67c242f9f99b415dd730498c3108f0caf1c7cb616cd573c7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7ed15d9f8dcd67c242f9f99b415dd730498c3108f0caf1c7cb616cd573c7f6", kill_on_drop: false }` [INFO] [stdout] ec7ed15d9f8dcd67c242f9f99b415dd730498c3108f0caf1c7cb616cd573c7f6 [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] d97df779c746651a44721b00f540d8d875363359179a5ef19d44423ec387febe [INFO] running `Command { std: "docker" "start" "-a" "d97df779c746651a44721b00f540d8d875363359179a5ef19d44423ec387febe", kill_on_drop: false }` [INFO] [stderr] Compiling rays v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `moving_sphere::MovingSphere` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use moving_sphere::MovingSphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `perlin::Perlin` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use perlin::Perlin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/vec3.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let y = *normal * 2.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut u = point.x() - point.x().floor(); [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: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut v = point.y() - point.y().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut w = point.z() - point.z().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_ground` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let material_ground = Color::new(0.8, 0.8, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_1` [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let center_1 = center_0 + Vec3::new(0.0, random_float_in_range(0.0, 0.5), 0.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_in_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [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/moving_sphere.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(center_0: Vec3, time_0: f64, center_1: Vec3, time_1: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plane_outward` is never read [INFO] [stdout] --> src/camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | plane_outward: Vec3, // w [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_texture` is never used [INFO] [stdout] --> src/texture.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl CheckeredTexture { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new_with_texture(odd: impl Texture + 'static, even: impl Texture + 'static) -> CheckeredTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y_perms` and `z_perms` are never read [INFO] [stdout] --> src/perlin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Perlin { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | y_perms: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | z_perms: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `computeIntersection` should have a snake case name [INFO] [stdout] --> src/aabb.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn computeIntersection(&self, ray: &Ray, min_t: f64, max_t: f64, dimension: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "d97df779c746651a44721b00f540d8d875363359179a5ef19d44423ec387febe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97df779c746651a44721b00f540d8d875363359179a5ef19d44423ec387febe", kill_on_drop: false }` [INFO] [stdout] d97df779c746651a44721b00f540d8d875363359179a5ef19d44423ec387febe