[INFO] cloning repository https://github.com/Tuxinet/rust-path-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tuxinet/rust-path-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuxinet%2Frust-path-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuxinet%2Frust-path-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9655e509a2dbfd0973ae88a3160413b83fd8969 [INFO] testing Tuxinet/rust-path-tracer against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuxinet%2Frust-path-tracer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tuxinet/rust-path-tracer [INFO] finished tweaking git repo https://github.com/Tuxinet/rust-path-tracer [INFO] tweaked toml for git repo https://github.com/Tuxinet/rust-path-tracer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tuxinet/rust-path-tracer on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Tuxinet/rust-path-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e23b0fe3dbc35b30f65648d6d77e666cfd7b67ac4ac8e95ab7a83f921257fbfa [INFO] running `Command { std: "docker" "start" "-a" "e23b0fe3dbc35b30f65648d6d77e666cfd7b67ac4ac8e95ab7a83f921257fbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e23b0fe3dbc35b30f65648d6d77e666cfd7b67ac4ac8e95ab7a83f921257fbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23b0fe3dbc35b30f65648d6d77e666cfd7b67ac4ac8e95ab7a83f921257fbfa", kill_on_drop: false }` [INFO] [stdout] e23b0fe3dbc35b30f65648d6d77e666cfd7b67ac4ac8e95ab7a83f921257fbfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ff74ea18be98a8df645abe7490a1eac77f33bd96798117fd7e4a21acce0045b [INFO] running `Command { std: "docker" "start" "-a" "7ff74ea18be98a8df645abe7490a1eac77f33bd96798117fd7e4a21acce0045b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling pathtrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `distance_squared` and `distance` [INFO] [stdout] --> src/primitives/sphere.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, distance, distance_squared}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/material.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/ray.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/vecutil.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/camera.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::SmallRng` [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::SmallRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/aabb.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hit` [INFO] [stdout] --> src/aabb.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ray::{Ray, Hit}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitives::Intersect` [INFO] [stdout] --> src/aabb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::primitives::Intersect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::*` [INFO] [stdout] --> src/aabb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::material::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/aabb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `aabb` should have an upper camel case name [INFO] [stdout] --> src/aabb.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct aabb { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Aabb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/material.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/material.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/vecutil.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { return Vec3::new(0.0, 0.0, 0.0); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { return Vec3::new(0.0, 0.0, 0.0); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/material.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { return Vec3::new(0.0, 0.0, 0.0); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | fn scatter(&self, ray: &Ray, hit: &Hit, _rng: &mut Lehmer) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | fn scatter(&self, ray: &Ray, hit: &Hit, _rng: &mut Lehmer) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/material.rs:156:39 [INFO] [stdout] | [INFO] [stdout] 156 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/aabb.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | for a in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/aabb.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(ray: &Ray, tmin: f32, tmax: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmin` [INFO] [stdout] --> src/aabb.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(ray: &Ray, tmin: f32, tmax: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmax` [INFO] [stdout] --> src/aabb.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(ray: &Ray, tmin: f32, tmax: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_unit_vector` is never used [INFO] [stdout] --> src/vecutil.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl VecUtil { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn random_unit_vector(rng: &mut Lehmer) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | w: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> src/aabb.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct aabb { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | min: Vector3, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | max: Vector3, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/ray.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distance_squared` and `distance` [INFO] [stdout] --> src/primitives/sphere.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, distance, distance_squared}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/camera.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::SmallRng` [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::SmallRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/vecutil.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/material.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/aabb.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hit` [INFO] [stdout] --> src/aabb.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ray::{Ray, Hit}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::primitives::Intersect` [INFO] [stdout] --> src/aabb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::primitives::Intersect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::*` [INFO] [stdout] --> src/aabb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::material::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/aabb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `aabb` should have an upper camel case name [INFO] [stdout] --> src/aabb.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct aabb { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Aabb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RowVector3` [INFO] [stdout] --> src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | use na::{Vector3,RowVector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/material.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/material.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/vecutil.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { return Vec3::new(0.0, 0.0, 0.0); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { return Vec3::new(0.0, 0.0, 0.0); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/material.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { return Vec3::new(0.0, 0.0, 0.0); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | fn scatter(&self, ray: &Ray, hit: &Hit, _rng: &mut Lehmer) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | fn scatter(&self, ray: &Ray, hit: &Hit, _rng: &mut Lehmer) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/material.rs:156:39 [INFO] [stdout] | [INFO] [stdout] 156 | fn emitted(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/aabb.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | for a in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/aabb.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(ray: &Ray, tmin: f32, tmax: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmin` [INFO] [stdout] --> src/aabb.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(ray: &Ray, tmin: f32, tmax: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmax` [INFO] [stdout] --> src/aabb.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(ray: &Ray, tmin: f32, tmax: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `center` is never read [INFO] [stdout] --> src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let mut center = Vector3::new(a as f64 + 0.9 * rng.gen_range(0.0, 1.0), 0.2, b as f64 + 0.9 * rng.gen_range(0.0, 1.0)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let mut start = j; [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: field `w` is never read [INFO] [stdout] --> src/camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | w: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_unit_vector` is never used [INFO] [stdout] --> src/vecutil.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl VecUtil { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn random_unit_vector(rng: &mut Lehmer) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `aabb` is never constructed [INFO] [stdout] --> src/aabb.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct aabb { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hit` is never used [INFO] [stdout] --> src/aabb.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl aabb { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn hit(ray: &Ray, tmin: f32, tmax: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `random_float` is never used [INFO] [stdout] --> src/lehmer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Lehmer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn random_float(&mut self, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcLFbOXn/symbols.o" "<12 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libimage-c38eac23ac188d54.rlib,libbytemuck-b7971171ab5d8c7f.rlib,libpng-bc5681de21881e39.rlib,libinflate-0bb62484a55cb53b.rlib,libcrc32fast-c6a2a2ee19227cae.rlib,libdeflate-dc39039156cc338c.rlib,libbitflags-aba400b4d4500449.rlib,libnum_iter-3e8eb8d27e0ac548.rlib,libjpeg_decoder-5c04b04de9990fbe.rlib,librayon-95307ec05abc217f.rlib,librayon_core-3ae9310bc0bbe822.rlib,libnum_cpus-8c03fa10da99f944.rlib,libcrossbeam_queue-2892eeea21e169d5.rlib,libcrossbeam_deque-332bf2542a4447c1.rlib,libcrossbeam_epoch-34c753cefe1310a5.rlib,libscopeguard-be6af05fa21823a8.rlib,libmemoffset-102583a4f322e0a5.rlib,libcrossbeam_utils-33d95c06890a60cf.rlib,liblazy_static-6537f27db13f8ca3.rlib,libmaybe_uninit-85dab5b9aaf244f7.rlib,libeither-02606856ffefa2a2.rlib,libgif-9cbcd2733a7da1ab.rlib,libcolor_quant-c4c5dff9065d5b18.rlib,libtiff-ee76ba141918cbfe.rlib,libminiz_oxide-fa57c7a21dd9d384.rlib,libadler32-63cd2e5485f322f0.rlib,liblzw-e0cf3d24b26ca4c6.rlib,libbyteorder-72bdc06f163c2df4.rlib,libscoped_threadpool-5080442b213f3c7c.rlib,libglam-a6ecab08735520f9.rlib,libnalgebra-e89100a2e69a45c8.rlib,libalga-bc05010ccaab9577.rlib,librand_distr-ca667a7021838da9.rlib,libnum_rational-61c8ae20bc131e06.rlib,libnum_integer-fa1808d1c499d059.rlib,libnum_complex-26c30303f388e991.rlib,libmatrixmultiply-5ae5dd41c3e4926b.rlib,librawpointer-4b9d481d7dbb9ef7.rlib,libgeneric_array-776ff84bbaaa52b5.rlib,libtypenum-42972224d5b92aa6.rlib,libapprox-1c9ef216c2a13c32.rlib,libnum_traits-17a757ea9c05ef9b.rlib,librand-5b9f3e07ad549bc4.rlib,librand_pcg-151f18958a032099.rlib,librand_chacha-cdb793bb0479d7a2.rlib,libppv_lite86-cea48ece74d4c0e7.rlib,librand_core-01d4fbfbb2ee7395.rlib,libgetrandom-7bbcc73b53a70280.rlib,liblibc-da8490f738a85446.rlib,libcfg_if-450e0ed71fecf03c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcLFbOXn/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pathtrace-b1542c68ef8f863c" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-7bbcc73b53a70280.rlib(getrandom-7bbcc73b53a70280.getrandom.32c5109f9033a550-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17hcc48a425b1c4eb8eE+0x1b): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pathtrace` (bin "pathtrace") due to 1 previous error; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ff74ea18be98a8df645abe7490a1eac77f33bd96798117fd7e4a21acce0045b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff74ea18be98a8df645abe7490a1eac77f33bd96798117fd7e4a21acce0045b", kill_on_drop: false }` [INFO] [stdout] 7ff74ea18be98a8df645abe7490a1eac77f33bd96798117fd7e4a21acce0045b