[INFO] cloning repository https://github.com/GoTamura/ray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GoTamura/ray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoTamura%2Fray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoTamura%2Fray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c8c4edeeb1cc8d4dcaf9bb4ce6d9a244bc8513b [INFO] testing GoTamura/ray 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%2FGoTamura%2Fray" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GoTamura/ray [INFO] finished tweaking git repo https://github.com/GoTamura/ray [INFO] tweaked toml for git repo https://github.com/GoTamura/ray written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GoTamura/ray 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/GoTamura/ray 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a2e466f8e8096b969daf8ad223e5c6dee4acbf32c6fc4ae0c335f5d1226347f3 [INFO] running `Command { std: "docker" "start" "-a" "a2e466f8e8096b969daf8ad223e5c6dee4acbf32c6fc4ae0c335f5d1226347f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e466f8e8096b969daf8ad223e5c6dee4acbf32c6fc4ae0c335f5d1226347f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e466f8e8096b969daf8ad223e5c6dee4acbf32c6fc4ae0c335f5d1226347f3", kill_on_drop: false }` [INFO] [stdout] a2e466f8e8096b969daf8ad223e5c6dee4acbf32c6fc4ae0c335f5d1226347f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b89190d62dd92f61bf21a8df72db7dac6147b3c1072c0b46b867fe0acf201fa2 [INFO] running `Command { std: "docker" "start" "-a" "b89190d62dd92f61bf21a8df72db7dac6147b3c1072c0b46b867fe0acf201fa2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytemuck v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling wide v0.7.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_to_string` and `write` [INFO] [stdout] --> build.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{read_to_string, write}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> build.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling nalgebra-glm v0.15.0 [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/shape.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scalar` [INFO] [stdout] --> src/bounds.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{Point2, Point3, Scalar, Vector2, Vector3, center, distance}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/texture.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/shape.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 322 | p: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 323 | normal, [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/shape.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | fn bounds(&self, time0: f64, tim1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tim1` [INFO] [stdout] --> src/shape.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | fn bounds(&self, time0: f64, tim1: f64) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tim1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shape.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut first_box = true; [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: `time0` [INFO] [stdout] --> src/shape.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | fn bounds(&self, time0: f64, tim1: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tim1` [INFO] [stdout] --> src/shape.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn bounds(&self, time0: f64, tim1: f64) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tim1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/shape.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | let t = t_scaled * inv_det; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dpdu` is assigned to, but never used [INFO] [stdout] --> src/shape.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | let mut dpdu; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dpdu` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dpdv` is assigned to, but never used [INFO] [stdout] --> src/shape.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut dpdv; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dpdv` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dpdu` is never read [INFO] [stdout] --> src/shape.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | dpdu = (duv12.y * dp02 - duv02.y * dp12) * inv_det; [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: value assigned to `dpdv` is never read [INFO] [stdout] --> src/shape.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | dpdv = (duv12.x * dp02 - duv02.x * dp12) * inv_det; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_hit` [INFO] [stdout] --> src/shape.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let p_hit = b * p; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv_hit` [INFO] [stdout] --> src/shape.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let uv_hit = Point2::from( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_uv_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/shape.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let normal = (b.x * self.normals[0] + b.y * self.normals[1] + b.z * self.normals[2]).normalize(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/shape.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shape.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut p = permute_matrix(&p, kx, ky, kz); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shape.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut dpdu; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shape.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut dpdv; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/shape.rs:332:22 [INFO] [stdout] | [INFO] [stdout] 332 | fn bounds(&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/shape.rs:332:34 [INFO] [stdout] | [INFO] [stdout] 332 | fn bounds(&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/material.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | fn scatter(&self, ray: &Ray, hit_record: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/material.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | fn scatter(&self, ray: &Ray, hit_record: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [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:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [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:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SingleLensCamera { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is never used [INFO] [stdout] --> src/shape.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | trait Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BVHNode` is never constructed [INFO] [stdout] --> src/shape.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | struct BVHNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intersect_p` is never used [INFO] [stdout] --> src/shape.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 213 | impl BVHNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 214 | fn intersect_p(&self, ray: &Ray, t_min: f64, t_max: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TriangleMesh` is never constructed [INFO] [stdout] --> src/shape.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | struct TriangleMesh {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/shape.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `uv` is never used [INFO] [stdout] --> src/shape.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 337 | impl Triangle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 338 | pub fn uv(p: &Point3) -> (f64, f64) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute` is never used [INFO] [stdout] --> src/shape.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | fn permute(p: &Vec3, x: usize, y: usize, z: usize) -> Point3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute_matrix` is never used [INFO] [stdout] --> src/shape.rs:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | fn permute_matrix(p: &Matrix3, x: usize, y: usize, z: usize) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SurfaceInteraction` is never constructed [INFO] [stdout] --> src/shape.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | struct SurfaceInteraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds2` is never constructed [INFO] [stdout] --> src/bounds.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Bounds2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounds2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area` and `diagonal` are never used [INFO] [stdout] --> src/bounds.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Bounds2 { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 14 | pub fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn diagonal(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Error, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageBuffer` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MovingSphere` [INFO] [stdout] --> src/main.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use ray::shape::{Hittable, HittableList, MovingSphere, Sphere}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground_material` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let ground_material = Arc::new(Lambertian { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground_material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material3` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let material3 = Arc::new(Metal { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material4` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let material4 = Arc::new(DiffuseLight { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut bar = ProgressBar::new(image_width as u64 * image_height as u64); [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: function `render2` is never used [INFO] [stdout] --> src/main.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn render2( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / imgbuf [INFO] [stdout] 221 | | .enumerate_pixels_mut() [INFO] [stdout] 222 | | .collect::)>>() [INFO] [stdout] 223 | | .par_iter_mut() [INFO] [stdout] ... | [INFO] [stdout] 237 | | (!term.load(Ordering::Relaxed)).then(|| ()).ok_or(()) [INFO] [stdout] 238 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = imgbuf [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/rustcJU4m6M/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libsignal_hook-040d6082be97ed52.rlib,libsignal_hook_registry-b7f90067537a6750.rlib,libindicatif-194636c75e2c16e8.rlib,libregex-7fa526550dd9acd5.rlib,libaho_corasick-dc92ca93e5e76b45.rlib,libmemchr-fc6b316872a7c794.rlib,libregex_syntax-ae12054508fb30be.rlib,libconsole-92aea0b158e6c090.rlib,libterminal_size-4241b214cad994f9.rlib,libnumber_prefix-c52a145dab539939.rlib,libray-72c6e3fad8d0419a.rlib,librand-21a2e27e855fccc3.rlib,librand_chacha-b1cb43f8a19fe0a6.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-5980417b7ce0ea61.rlib,libgetrandom-3fdb0f8defbd428a.rlib,libnalgebra-a79eb69b26207f24.rlib,libmatrixmultiply-2a7d3fdd14cab65c.rlib,librawpointer-ee8696fe85e6dce4.rlib,libnum_rational-60eed002cdfdb0cf.rlib,libtypenum-b0ea879750aa85fb.rlib,libsimba-7bb4d63ec6b92591.rlib,libwide-60db23b5d4157291.rlib,libsafe_arch-0983ab72dfe8798c.rlib,libnum_complex-fe89448f5354d766.rlib,libapprox-3034d6f8743b8c21.rlib,libimage-a4cdbc92fd910132.rlib,libbytemuck-f2eeb05aba77db5e.rlib,libpng-58067f7aa84e5d47.rlib,libminiz_oxide-dd3230b304bd21da.rlib,libcrc32fast-73831421cab1f53a.rlib,libdeflate-c52f7037696141fd.rlib,libadler32-5cb8e62306edda0a.rlib,libbitflags-561a4f1321538a32.rlib,libnum_iter-ad9f422d2c1470d1.rlib,libscoped_threadpool-7a69c1f095d1210f.rlib,libnum_rational-43c7df2f92a6a607.rlib,libnum_integer-5ddb400e2d865490.rlib,libgif-d3f11ba2a7ce49a7.rlib,libcolor_quant-fd36927056f4d79f.rlib,libbyteorder-c7092f68299ac016.rlib,libnum_traits-e04a0b1505efd012.rlib,libtiff-35a487f28de0c495.rlib,libweezl-f531a40d0c23cadd.rlib,libminiz_oxide-b4e3c14d704240a1.rlib,libadler-b32dea79b2f05ffd.rlib,libjpeg_decoder-057eda226985ffa8.rlib,librayon-5294c0582d00d6d8.rlib,librayon_core-6624e2cda61ca1a7.rlib,libnum_cpus-baba79dde5adde15.rlib,liblibc-86a4568e0b15564e.rlib,libcrossbeam_deque-feab3bcfcc1b4ba7.rlib,libcrossbeam_epoch-082f09a5c5878a95.rlib,libmemoffset-55fe4c4525b1aab8.rlib,libscopeguard-73056285f12cb829.rlib,libcrossbeam_channel-eb3ebe0039fefd61.rlib,libcrossbeam_utils-3a2e50d552e81206.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libcfg_if-66d55f6b302e88c8.rlib,libeither-e8a0ef7222037a64.rlib,libanyhow-1926925ae0a9a745.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/rustcJU4m6M/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-d11370547cef7565" "-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-3fdb0f8defbd428a.rlib(getrandom-3fdb0f8defbd428a.getrandom.9e9b0efb04dde89f-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.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hdaa8d1e80202bb69E+0xb6): 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` (bin "ray") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b89190d62dd92f61bf21a8df72db7dac6147b3c1072c0b46b867fe0acf201fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89190d62dd92f61bf21a8df72db7dac6147b3c1072c0b46b867fe0acf201fa2", kill_on_drop: false }` [INFO] [stdout] b89190d62dd92f61bf21a8df72db7dac6147b3c1072c0b46b867fe0acf201fa2