[INFO] cloning repository https://github.com/af8a2a/raytracing-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/af8a2a/raytracing-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faf8a2a%2Fraytracing-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faf8a2a%2Fraytracing-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1d924be81f7bc966a056f2f043c8b0e986271f1 [INFO] checking af8a2a/raytracing-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faf8a2a%2Fraytracing-rs" "/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/af8a2a/raytracing-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/af8a2a/raytracing-rs [INFO] finished tweaking git repo https://github.com/af8a2a/raytracing-rs [INFO] tweaked toml for git repo https://github.com/af8a2a/raytracing-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/af8a2a/raytracing-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.48 [INFO] [stderr] Downloaded arrayvec v0.7.6 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded ravif v0.11.10 [INFO] [stderr] Downloaded bytemuck v1.17.0 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] [stderr] Downloaded nalgebra v0.33.0 [INFO] [stderr] Downloaded libc v0.2.156 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2110f3088d64e6ddde23fd1a13220e6091c3fb1af3c6a6359551d8018c2481f4 [INFO] running `Command { std: "docker" "start" "-a" "2110f3088d64e6ddde23fd1a13220e6091c3fb1af3c6a6359551d8018c2481f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2110f3088d64e6ddde23fd1a13220e6091c3fb1af3c6a6359551d8018c2481f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2110f3088d64e6ddde23fd1a13220e6091c3fb1af3c6a6359551d8018c2481f4", kill_on_drop: false }` [INFO] [stdout] 2110f3088d64e6ddde23fd1a13220e6091c3fb1af3c6a6359551d8018c2481f4 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3873a5749434b130cd487b684c0fb68f4417b3d86addb0cb472cb1c0c43d55a2 [INFO] running `Command { std: "docker" "start" "-a" "3873a5749434b130cd487b684c0fb68f4417b3d86addb0cb472cb1c0c43d55a2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking pbrt-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clamp` [INFO] [stdout] --> src/camera.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::{clamp, Vector3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp` [INFO] [stdout] --> src/camera.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::{clamp, Vector3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_square` [INFO] [stdout] --> src/camera.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | util::{random_f32, random_unit_vector, sample_square, Interval}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_square` [INFO] [stdout] --> src/camera.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | util::{random_f32, random_unit_vector, sample_square, Interval}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | hit::{self, HitRecord}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | hit::{self, HitRecord}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/bvh.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/bvh.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::Once` [INFO] [stdout] --> src/bvh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::Once` [INFO] [stdout] --> src/bvh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EMPTY_INTERVAL`, `UNIVERSE_INTERVAL`, and `random_int` [INFO] [stdout] --> src/bvh.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 5 | aabb::{AABB, AABB_EMPTY}, hit::{HitRecord, Hittable}, scene::Scene, util::{random_int, Interval, EMPTY_INTERVAL, UNIVERSE_INTERVAL} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EMPTY_INTERVAL`, `UNIVERSE_INTERVAL`, and `random_int` [INFO] [stdout] --> src/bvh.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 5 | aabb::{AABB, AABB_EMPTY}, hit::{HitRecord, Hittable}, scene::Scene, util::{random_int, Interval, EMPTY_INTERVAL, UNIVERSE_INTERVAL} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/noise.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/noise.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_f32` and `random_unit_vector` [INFO] [stdout] --> src/noise.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::{random_f32, random_unit_vector, random_int, random_vec_range}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_f32` and `random_unit_vector` [INFO] [stdout] --> src/noise.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::{random_f32, random_unit_vector, random_int, random_vec_range}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/aabb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/aabb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pdf_value` [INFO] [stdout] --> src/camera.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let pdf_value = 1.0 / (2.0 * PI); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pdf_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pdf_value` [INFO] [stdout] --> src/camera.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let pdf_value = 1.0 / (2.0 * PI); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pdf_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scatter_direction` [INFO] [stdout] --> src/material.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scatter_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scatter_direction` [INFO] [stdout] --> src/material.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scatter_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [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/material.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [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: method `bbox` is never used [INFO] [stdout] --> src/hit/translate.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl RotateY { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn bbox(&self) -> &AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bbox` is never used [INFO] [stdout] --> src/hit/translate.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl RotateY { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn bbox(&self) -> &AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixel`, `RgbImage`, and `Rgb` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{Pixel, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SolidColor` and `random_vec` [INFO] [stdout] --> src/main.rs:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | texture::{CheckerTexture, ImageTexture, NoiseTexture, SolidColor, Texture}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | util::{random_f32, random_vec, random_vec_range, range_random_f32}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixel`, `RgbImage`, and `Rgb` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{Pixel, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SolidColor` and `random_vec` [INFO] [stdout] --> src/main.rs:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | texture::{CheckerTexture, ImageTexture, NoiseTexture, SolidColor, Texture}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | util::{random_f32, random_vec, random_vec_range, range_random_f32}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_random_scene` is never used [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn build_random_scene() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkered_spheres` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn checkered_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_random_scene` is never used [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn build_random_scene() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn earth() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkered_spheres` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn checkered_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_sphere` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn perlin_sphere() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn earth() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quads` is never used [INFO] [stdout] --> src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn quads() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_sphere` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn perlin_sphere() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quads` is never used [INFO] [stdout] --> src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn quads() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/main.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn simple_light() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/main.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn simple_light() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> src/main.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | fn cornell_smoke() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> src/main.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | fn cornell_smoke() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_scene` is never used [INFO] [stdout] --> src/main.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn final_scene() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_scene` is never used [INFO] [stdout] --> src/main.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn final_scene() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.14s [INFO] running `Command { std: "docker" "inspect" "3873a5749434b130cd487b684c0fb68f4417b3d86addb0cb472cb1c0c43d55a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3873a5749434b130cd487b684c0fb68f4417b3d86addb0cb472cb1c0c43d55a2", kill_on_drop: false }` [INFO] [stdout] 3873a5749434b130cd487b684c0fb68f4417b3d86addb0cb472cb1c0c43d55a2 [INFO] checking af8a2a/raytracing-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faf8a2a%2Fraytracing-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/af8a2a/raytracing-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/af8a2a/raytracing-rs [INFO] finished tweaking git repo https://github.com/af8a2a/raytracing-rs [INFO] tweaked toml for git repo https://github.com/af8a2a/raytracing-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/af8a2a/raytracing-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecbc4a3cc5bb739f1b2b2059d7c3f23043ba466c9ffad622e95e9e6aca3c4ef5 [INFO] running `Command { std: "docker" "start" "-a" "ecbc4a3cc5bb739f1b2b2059d7c3f23043ba466c9ffad622e95e9e6aca3c4ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecbc4a3cc5bb739f1b2b2059d7c3f23043ba466c9ffad622e95e9e6aca3c4ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecbc4a3cc5bb739f1b2b2059d7c3f23043ba466c9ffad622e95e9e6aca3c4ef5", kill_on_drop: false }` [INFO] [stdout] ecbc4a3cc5bb739f1b2b2059d7c3f23043ba466c9ffad622e95e9e6aca3c4ef5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e33541749f9b2721393952575e81cce11bfad3be87043ded0781eee101adaa30 [INFO] running `Command { std: "docker" "start" "-a" "e33541749f9b2721393952575e81cce11bfad3be87043ded0781eee101adaa30", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking pbrt-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clamp` [INFO] [stdout] --> src/camera.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::{clamp, Vector3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp` [INFO] [stdout] --> src/camera.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::{clamp, Vector3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_square` [INFO] [stdout] --> src/camera.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | util::{random_f32, random_unit_vector, sample_square, Interval}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_square` [INFO] [stdout] --> src/camera.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | util::{random_f32, random_unit_vector, sample_square, Interval}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | hit::{self, HitRecord}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | hit::{self, HitRecord}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/bvh.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/bvh.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::Once` [INFO] [stdout] --> src/bvh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::Once` [INFO] [stdout] --> src/bvh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EMPTY_INTERVAL`, `UNIVERSE_INTERVAL`, and `random_int` [INFO] [stdout] --> src/bvh.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 5 | aabb::{AABB, AABB_EMPTY}, hit::{HitRecord, Hittable}, scene::Scene, util::{random_int, Interval, EMPTY_INTERVAL, UNIVERSE_INTERVAL} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EMPTY_INTERVAL`, `UNIVERSE_INTERVAL`, and `random_int` [INFO] [stdout] --> src/bvh.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 5 | aabb::{AABB, AABB_EMPTY}, hit::{HitRecord, Hittable}, scene::Scene, util::{random_int, Interval, EMPTY_INTERVAL, UNIVERSE_INTERVAL} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/noise.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/noise.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_f32` and `random_unit_vector` [INFO] [stdout] --> src/noise.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::{random_f32, random_unit_vector, random_int, random_vec_range}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/aabb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_f32` and `random_unit_vector` [INFO] [stdout] --> src/noise.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::{random_f32, random_unit_vector, random_int, random_vec_range}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/aabb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pdf_value` [INFO] [stdout] --> src/camera.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let pdf_value = 1.0 / (2.0 * PI); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pdf_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pdf_value` [INFO] [stdout] --> src/camera.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let pdf_value = 1.0 / (2.0 * PI); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pdf_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scatter_direction` [INFO] [stdout] --> src/material.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scatter_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [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: unused variable: `scatter_direction` [INFO] [stdout] --> src/material.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scatter_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut scatter_direction = hit_record.normal + random_unit_vector(); [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: method `bbox` is never used [INFO] [stdout] --> src/hit/translate.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl RotateY { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn bbox(&self) -> &AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/translate.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(object: Hittable, offset: Vector3) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | object: Box::new(object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/translate.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(object: Hittable, angle: f32) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | object: Box::new(object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/medium.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(boundary: Hittable, density: f32, phase_function: Box) -> Self { [INFO] [stdout] | ------------------ ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Self { [INFO] [stdout] 22 | boundary: Box::new(boundary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/medium.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_with_color(boundary: Hittable, density: f32, color: Vector3) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Self { [INFO] [stdout] 29 | boundary: Box::new(boundary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bbox` is never used [INFO] [stdout] --> src/hit/translate.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl RotateY { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn bbox(&self) -> &AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/medium.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_with_color(boundary: Hittable, density: f32, color: Vector3) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | phase_function: Box::new(Material::Diffuse(Lambertian::new_with_color(color))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(tex: Texture) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Self { tex: Box::new(tex) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/translate.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(object: Hittable, offset: Vector3) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | object: Box::new(object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn new(tex: Texture) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Self { tex: Box::new(tex) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/translate.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(object: Hittable, angle: f32) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | object: Box::new(object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/medium.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(boundary: Hittable, density: f32, phase_function: Box) -> Self { [INFO] [stdout] | ------------------ ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Self { [INFO] [stdout] 22 | boundary: Box::new(boundary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/medium.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_with_color(boundary: Hittable, density: f32, color: Vector3) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Self { [INFO] [stdout] 29 | boundary: Box::new(boundary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/texture.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(tex: Texture) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Self { tex: Box::new(tex) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hit/medium.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_with_color(boundary: Hittable, density: f32, color: Vector3) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | phase_function: Box::new(Material::Diffuse(Lambertian::new_with_color(color))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(tex: Texture) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Self { tex: Box::new(tex) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn new(tex: Texture) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Self { tex: Box::new(tex) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/texture.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(tex: Texture) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Self { tex: Box::new(tex) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbrt-rs` (lib) due to 9 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pbrt-rs` (lib test) due to 9 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e33541749f9b2721393952575e81cce11bfad3be87043ded0781eee101adaa30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33541749f9b2721393952575e81cce11bfad3be87043ded0781eee101adaa30", kill_on_drop: false }` [INFO] [stdout] e33541749f9b2721393952575e81cce11bfad3be87043ded0781eee101adaa30