[INFO] cloning repository https://github.com/DemonusPC/ray-tracing-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DemonusPC/ray-tracing-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemonusPC%2Fray-tracing-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemonusPC%2Fray-tracing-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ccd50e8007f756a18f86ccecb99f6e36161c64e [INFO] testing DemonusPC/ray-tracing-demo 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%2FDemonusPC%2Fray-tracing-demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DemonusPC/ray-tracing-demo [INFO] finished tweaking git repo https://github.com/DemonusPC/ray-tracing-demo [INFO] tweaked toml for git repo https://github.com/DemonusPC/ray-tracing-demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DemonusPC/ray-tracing-demo 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/DemonusPC/ray-tracing-demo 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0c3286195b6038e7a06b36a5020093160117b807c7e16c8a859d271bf4a81110 [INFO] running `Command { std: "docker" "start" "-a" "0c3286195b6038e7a06b36a5020093160117b807c7e16c8a859d271bf4a81110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c3286195b6038e7a06b36a5020093160117b807c7e16c8a859d271bf4a81110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c3286195b6038e7a06b36a5020093160117b807c7e16c8a859d271bf4a81110", kill_on_drop: false }` [INFO] [stdout] 0c3286195b6038e7a06b36a5020093160117b807c7e16c8a859d271bf4a81110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f84f722752214f97c1335f304b95ebcdb3e3c10bc78f4790f8da54fff626bb59 [INFO] running `Command { std: "docker" "start" "-a" "f84f722752214f97c1335f304b95ebcdb3e3c10bc78f4790f8da54fff626bb59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ray-trace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hit::HitRecord` [INFO] [stdout] --> src/bvh.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{hit::HitRecord, utility::random_int_from_values, world::World}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `world::World` [INFO] [stdout] --> src/models.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{aabb::{self, AABB}, world::World}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::Material` [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `png::Decoder` [INFO] [stdout] --> src/texture.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use png::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_double` [INFO] [stdout] --> src/texture.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | utility::{random_double, random_int_from_values}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/bvh.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 160 | let (object, material) = world.get(self.id.unwrap()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | 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:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | 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:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | 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: `u` [INFO] [stdout] --> src/material.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | 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:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | 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:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | 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: `u` [INFO] [stdout] --> src/material.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | 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:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | 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:173:39 [INFO] [stdout] | [INFO] [stdout] 173 | 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: `ray_in` [INFO] [stdout] --> src/material.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | ray_in: &Ray, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/material.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | rec: &HitRecord, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attenuation` [INFO] [stdout] --> src/material.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | attenuation: &mut Vec3, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attenuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/material.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | scattered: &mut Ray, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/models.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_sphere_uv(p: &Vec3, u: f64, v: f64) -> (f64, f64) { [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/models.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_sphere_uv(p: &Vec3, u: f64, v: f64) -> (f64, f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/models.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/models.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/models.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/models.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/models.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/models.rs:294:40 [INFO] [stdout] | [INFO] [stdout] 294 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/models.rs:358:28 [INFO] [stdout] | [INFO] [stdout] 358 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/models.rs:358:40 [INFO] [stdout] | [INFO] [stdout] 358 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/models.rs:416:28 [INFO] [stdout] | [INFO] [stdout] 416 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/models.rs:416:40 [INFO] [stdout] | [INFO] [stdout] 416 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn value(&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/texture.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | fn value(&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/texture.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | fn value(&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: `u` [INFO] [stdout] --> src/texture.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | fn value(&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/texture.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | fn value(&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: `filename` [INFO] [stdout] --> src/texture.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | fn value(&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: `tnode` [INFO] [stdout] --> src/world.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let tnode = BvhNode::new_from_list(&mut objects, 0.0, 10.0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tnode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/transforms.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/transforms.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | id += 1; [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: unused variable: `pertext2` [INFO] [stdout] --> src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let pertext2 = PerlinTexture::new(4.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pertext2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/main.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | id += 1; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene_new` is never used [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn random_scene_new() -> World { [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:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn earth() -> World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/main.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn simple_light() -> World { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `hit`, and `surrounding_box_mut` are never used [INFO] [stdout] --> src/aabb.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AABB { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn surrounding_box_mut(box0: &mut AABB, box1: AABB) -> AABB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `right`, and `id` are never read [INFO] [stdout] --> src/bvh.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BvhNode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub left: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub right: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub node_box: AABB, [INFO] [stdout] 11 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BvhNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/bvh.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl BvhNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn hit( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `front_face`, `set_normal`, `copy_into`, `set_uv`, and `set_v` are never used [INFO] [stdout] --> src/hit.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl HitRecord { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn front_face(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn set_normal(&mut self, v: Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn copy_into(&mut self, other: &HitRecord) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_uv(&mut self, uv: (f64, f64)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn set_v(&mut self, new_v: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_checker`, `from_perlin`, and `from_image` are never used [INFO] [stdout] --> src/material.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Lambertian { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_checker(texture: CheckerTexture) -> Lambertian { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn from_perlin(texture: PerlinTexture) -> Lambertian { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_image(texture: ImageTexture) -> Lambertian { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metal` is never constructed [INFO] [stdout] --> src/material.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Metal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 79 | pub fn new(color: Vec3, fuzz: f64) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schlick` is never used [INFO] [stdout] --> src/material.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/material.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 126 | pub fn new(ri: f64) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/models.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `center`, `radius`, and `get_sphere_uv` are never used [INFO] [stdout] --> src/models.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(cen: Vec3, r: f64, id: usize) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn center(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_sphere_uv(p: &Vec3, u: f64, v: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovingSphere` is never constructed [INFO] [stdout] --> src/models.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct MovingSphere { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `center` are never used [INFO] [stdout] --> src/models.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl MovingSphere { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn center(&self, time: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINT_COUNT` is never used [INFO] [stdout] --> src/texture.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const POINT_COUNT: i32 = 256; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rgb` is never used [INFO] [stdout] --> src/texture.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SolidColor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_rgb(r: f64, g: f64, b: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/texture.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(c1: Vec3, c2: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerlinTexture` is never constructed [INFO] [stdout] --> src/texture.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PerlinTexture { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `turb`, and `noise` are never used [INFO] [stdout] --> src/texture.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl PerlinTexture { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 71 | pub fn new(scale: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn turb(&self, p: &Vec3) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn noise(&self, p: &Vec3) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_generate_perm` is never used [INFO] [stdout] --> src/texture.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute` is never used [INFO] [stdout] --> src/texture.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn permute(p: &mut [i32], n: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_interp` is never used [INFO] [stdout] --> src/texture.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn perlin_interp(c: &mut [[[Vec3; 2]; 2]; 2], u: f64, v: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTexture` is never constructed [INFO] [stdout] --> src/texture.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/texture.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn clamp(value: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/texture.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 198 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> src/world.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | node: BvhNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_box` is never used [INFO] [stdout] --> src/world.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [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/rustcvQX8Od/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-a5f5f1af55501efb.rlib,librand_chacha-7078c2d92ed11152.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-911a64d8e0ba8a9b.rlib,libgetrandom-fde2b779a2b83bd0.rlib,liblibc-2cba164fd290cd7f.rlib,libcfg_if-2d17986ae484e939.rlib,libpng-18430927d46c1a39.rlib,libminiz_oxide-dd3230b304bd21da.rlib,libcrc32fast-73831421cab1f53a.rlib,libcfg_if-66d55f6b302e88c8.rlib,libdeflate-c713fec0228355e7.rlib,libbyteorder-549def2b2525ef52.rlib,libadler32-5cb8e62306edda0a.rlib,libbitflags-561a4f1321538a32.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/rustcvQX8Od/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/ray_trace-1a8b8423cf3d780e" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-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-fde2b779a2b83bd0.rlib(getrandom-fde2b779a2b83bd0.getrandom.842a4b112b92950d-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_readonly17hfcc85790c782da1cE+0x79): 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 `ray-trace` (bin "ray-trace") due to 1 previous error; 78 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f84f722752214f97c1335f304b95ebcdb3e3c10bc78f4790f8da54fff626bb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84f722752214f97c1335f304b95ebcdb3e3c10bc78f4790f8da54fff626bb59", kill_on_drop: false }` [INFO] [stdout] f84f722752214f97c1335f304b95ebcdb3e3c10bc78f4790f8da54fff626bb59