[INFO] cloning repository https://github.com/dixe/OneWeekeendRayTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dixe/OneWeekeendRayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2FOneWeekeendRayTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2FOneWeekeendRayTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3ce9474fc19cd21009e31fa17440133c17586d6 [INFO] testing dixe/OneWeekeendRayTracer 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%2Fdixe%2FOneWeekeendRayTracer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dixe/OneWeekeendRayTracer [INFO] finished tweaking git repo https://github.com/dixe/OneWeekeendRayTracer [INFO] tweaked toml for git repo https://github.com/dixe/OneWeekeendRayTracer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dixe/OneWeekeendRayTracer 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/dixe/OneWeekeendRayTracer 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9a4529b07c1e3c3e12aedbcf40570d44fbc5afb06b1ba39c85870e20fed294b [INFO] running `Command { std: "docker" "start" "-a" "b9a4529b07c1e3c3e12aedbcf40570d44fbc5afb06b1ba39c85870e20fed294b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9a4529b07c1e3c3e12aedbcf40570d44fbc5afb06b1ba39c85870e20fed294b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a4529b07c1e3c3e12aedbcf40570d44fbc5afb06b1ba39c85870e20fed294b", kill_on_drop: false }` [INFO] [stdout] b9a4529b07c1e3c3e12aedbcf40570d44fbc5afb06b1ba39c85870e20fed294b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 482014483d052bae8868ebb897dd9f018eb64924c5d91f2a6ac0b13a388dc17a [INFO] running `Command { std: "docker" "start" "-a" "482014483d052bae8868ebb897dd9f018eb64924c5d91f2a6ac0b13a388dc17a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling simba v0.4.0 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra v0.25.4 [INFO] [stderr] Compiling nalgebra-glm v0.11.0 [INFO] [stderr] Compiling rust_ray_cast_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_in_unit_sphere` [INFO] [stdout] --> src/hittable/hit_record.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::random_utils::{random_in_hemisphere, random_in_unit_sphere, random_unit_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::*` [INFO] [stdout] --> src/hittable/hit_record.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::material::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable/hit_record.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (scatter_direction.near_zero()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (scatter_direction.near_zero()){ [INFO] [stdout] 60 + if scatter_direction.near_zero() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_in_hemisphere`, `random_in_unit_sphere`, and `random_unit_vector` [INFO] [stdout] --> src/hittable/sphere.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::random_utils::{random_in_hemisphere, random_in_unit_sphere, random_unit_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::*` [INFO] [stdout] --> src/hittable/sphere.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::material::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_in_hemisphere`, `random_in_unit_sphere`, and `random_unit_vector` [INFO] [stdout] --> src/hittable/square.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::random_utils::{random_in_hemisphere, random_in_unit_sphere, random_unit_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::*` [INFO] [stdout] --> src/hittable/square.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::material::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/random_utils.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/hittable/square.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/hittable/square.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | 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_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/material/lambertian.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | for id in 0..params.extra_threads { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | for id in 0..params.extra_threads { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/main.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | for sample in 0..params.samples_per_pixel { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_world_1` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn setup_world_1(width: usize, height: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlaveMessage` is never used [INFO] [stdout] --> src/main.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | enum SlaveMessage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlaveMessage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MasterMessage` is never used [INFO] [stdout] --> src/main.rs:188:6 [INFO] [stdout] | [INFO] [stdout] 188 | enum MasterMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MasterMessage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/main.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_ray_image_master_slave` is never used [INFO] [stdout] --> src/main.rs:292:4 [INFO] [stdout] | [INFO] [stdout] 292 | fn render_ray_image_master_slave(ray_image: &mut RayImage, camera: &'static camera::Camera, world: &'static HittableList, params: &'stati... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_threads` is never used [INFO] [stdout] --> src/main.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn spawn_threads(camera: &'static camera::Camera, world: &'static HittableList, params: &'static Parameters) -> Vec:: { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `viewport_width`, `viewport_height`, and `focal_length` are never read [INFO] [stdout] --> src/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | viewport_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | focal_length: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normal` and `random_diffuse_ray` are never used [INFO] [stdout] --> src/hittable/hit_record.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HitRecord { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn normal(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn random_diffuse_ray(&self) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/random_utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn random(min: f64, max: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/random_utils.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | render_ray_image_random_distributed(&mut ray_image, CAMERA.as_ref().unwrap(), WORLD.as_ref().unwrap(), &PARAMS); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:81:87 [INFO] [stdout] | [INFO] [stdout] 81 | render_ray_image_random_distributed(&mut ray_image, CAMERA.as_ref().unwrap(), WORLD.as_ref().unwrap(), &PARAMS); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:81:112 [INFO] [stdout] | [INFO] [stdout] 81 | render_ray_image_random_distributed(&mut ray_image, CAMERA.as_ref().unwrap(), WORLD.as_ref().unwrap(), &PARAMS); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 81 | render_ray_image_random_distributed(&mut ray_image, CAMERA.as_ref().unwrap(), WORLD.as_ref().unwrap(), &raw const PARAMS); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | PARAMS.materials.push(material_ground); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | PARAMS.materials.push(material_center); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | PARAMS.materials.push(material_left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | PARAMS.materials.push(material_right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | PARAMS.materials.push(material_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | PARAMS.materials.push(material_met); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:332:33 [INFO] [stdout] | [INFO] [stdout] 332 | ... worker.mosi.send(MasterMessage::DoWork(work_tasks[work_index])); [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] 332 | let _ = worker.mosi.send(MasterMessage::DoWork(work_tasks[work_index])); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:337:33 [INFO] [stdout] | [INFO] [stdout] 337 | ... worker.mosi.send(MasterMessage::Done); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 337 | let _ = worker.mosi.send(MasterMessage::Done); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | miso_sender.send(SlaveMessage::RequestWork); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 382 | let _ = miso_sender.send(SlaveMessage::RequestWork); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | ... miso_sender.send(SlaveMessage::WorkDone(res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 405 | let _ = miso_sender.send(SlaveMessage::WorkDone(res)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ray_image.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | img.save(path); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = img.save(path); [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/rustcCO0CTz/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libimage-7964b5854a1b6294.rlib,libbytemuck-6bb6e683312d71e6.rlib,libpng-98cada8ede136d5c.rlib,libminiz_oxide-dd3230b304bd21da.rlib,libcrc32fast-73831421cab1f53a.rlib,libdeflate-c52f7037696141fd.rlib,libadler32-5cb8e62306edda0a.rlib,libbitflags-e274cd04b58a060d.rlib,libnum_iter-ad9f422d2c1470d1.rlib,libscoped_threadpool-7a69c1f095d1210f.rlib,libgif-d3f11ba2a7ce49a7.rlib,libcolor_quant-fd36927056f4d79f.rlib,libbyteorder-c7092f68299ac016.rlib,libtiff-d3d88a241e296fa4.rlib,libweezl-f531a40d0c23cadd.rlib,libminiz_oxide-b4e3c14d704240a1.rlib,libadler-b32dea79b2f05ffd.rlib,libjpeg_decoder-9be781d2187d74b9.rlib,librayon-323083ebb14db52a.rlib,librayon_core-08c2b72ea1c845f8.rlib,libnum_cpus-0791e7d4ae2336a3.rlib,libcrossbeam_deque-cc4c3e6754f70668.rlib,libcrossbeam_epoch-082f09a5c5878a95.rlib,libmemoffset-55fe4c4525b1aab8.rlib,libscopeguard-73056285f12cb829.rlib,libcrossbeam_channel-eb3ebe0039fefd61.rlib,libcrossbeam_utils-3a2e50d552e81206.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libeither-e8a0ef7222037a64.rlib,libnalgebra-901151abfa385246.rlib,libnum_rational-43c7df2f92a6a607.rlib,libnum_integer-5ddb400e2d865490.rlib,libgeneric_array-1f475603ae941cbb.rlib,libtypenum-c30adc9f15bf22b3.rlib,libsimba-a72d307fbfee2b32.rlib,libnum_complex-cd6edc894c1a7051.rlib,libmatrixmultiply-2a7d3fdd14cab65c.rlib,librawpointer-ee8696fe85e6dce4.rlib,libapprox-5e5df90eb640cca3.rlib,libnum_traits-e04a0b1505efd012.rlib,librand-997cc911e5ddb396.rlib,librand_chacha-06a2b25c8805ff81.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-736753dffd59f004.rlib,libgetrandom-f76e7567bba9dc84.rlib,liblibc-ccc24a4a5d7d8e7d.rlib,libcfg_if-66d55f6b302e88c8.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/rustcCO0CTz/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/rust_ray_cast_weekend-84974c42d7ab9fae" "-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-f76e7567bba9dc84.rlib(getrandom-f76e7567bba9dc84.getrandom.fe587f797aa9004c-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_readonly17hc177051a60d8ddb1E+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 `rust_ray_cast_weekend` (bin "rust_ray_cast_weekend") due to 1 previous error; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "482014483d052bae8868ebb897dd9f018eb64924c5d91f2a6ac0b13a388dc17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "482014483d052bae8868ebb897dd9f018eb64924c5d91f2a6ac0b13a388dc17a", kill_on_drop: false }` [INFO] [stdout] 482014483d052bae8868ebb897dd9f018eb64924c5d91f2a6ac0b13a388dc17a