[INFO] cloning repository https://github.com/yuri-you/raytrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuri-you/raytrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98860fc269c7f84f0cfb1cdd79c566e948f0416c [INFO] testing yuri-you/raytrace 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%2Fyuri-you%2Fraytrace" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/yuri-you/raytrace [INFO] finished tweaking git repo https://github.com/yuri-you/raytrace [INFO] tweaked toml for git repo https://github.com/yuri-you/raytrace written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yuri-you/raytrace 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/yuri-you/raytrace 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9cbbc8200bc29753922d790e7412a3957a23981b1b562dc82106ef2c9fbfc303 [INFO] running `Command { std: "docker" "start" "-a" "9cbbc8200bc29753922d790e7412a3957a23981b1b562dc82106ef2c9fbfc303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cbbc8200bc29753922d790e7412a3957a23981b1b562dc82106ef2c9fbfc303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbbc8200bc29753922d790e7412a3957a23981b1b562dc82106ef2c9fbfc303", kill_on_drop: false }` [INFO] [stdout] 9cbbc8200bc29753922d790e7412a3957a23981b1b562dc82106ef2c9fbfc303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 590a70d7678674304fe5b2e019e70e07aedb71e4de695e61931e2a9a9773c61b [INFO] running `Command { std: "docker" "start" "-a" "590a70d7678674304fe5b2e019e70e07aedb71e4de695e61931e2a9a9773c61b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling png v0.16.6 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/vec3.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_unit_sphere` [INFO] [stdout] --> src/color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vec3::random_in_unit_sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_hemisphere` [INFO] [stdout] --> src/color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vec3::random_in_hemisphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sphere::Sphere` [INFO] [stdout] --> src/hittable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/data.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Moving_Sphere` should have an upper camel case name [INFO] [stdout] --> src/moving_sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Moving_Sphere{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MovingSphere` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lambertian` should have an upper camel case name [INFO] [stdout] --> src/material.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct lambertian{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Lambertian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `metal` should have an upper camel case name [INFO] [stdout] --> src/material.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct metal{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dielectric` should have an upper camel case name [INFO] [stdout] --> src/material.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct dielectric{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Dielectric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Bvh_node` should have an upper camel case name [INFO] [stdout] --> src/bvh.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Bvh_node{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `BvhNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait texture { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `noise_texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct noise_texture{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoiseTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `solid_color` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct solid_color{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SolidColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `checker_texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct checker_texture{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CheckerTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/sphere.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self,t0:f64, t1:f64,output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/sphere.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self,t0:f64, t1:f64,output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/bvh.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self,t0:f64, t1:f64, output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/bvh.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self,t0:f64, t1:f64, output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | 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:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | 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: `u` [INFO] [stdout] --> src/texture.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | 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:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | 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:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | 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: value assigned to `b` is never read [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut b=-11; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut world:HitList; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lookfrom:Vec3; [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/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut lookat:Vec3; [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/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut vfov:f64; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn random_in_hemisphere(normal:&Vec3)->Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `box_compare` is never used [INFO] [stdout] --> src/bvh.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn box_compare(a:Option>, b:Option>,axis:i32)->bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/bvh.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sort(a:&mut Vec>>,start:i32,end:i32,axis:i32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `box_x_compare` is never used [INFO] [stdout] --> src/bvh.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn box_x_compare(a:Option>, b:Option>) ->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `box_y_compare` is never used [INFO] [stdout] --> src/bvh.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn box_y_compare(a:Option>, b:Option>)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `box_z_compare` is never used [INFO] [stdout] --> src/bvh.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn box_z_compare(a:Option>, b:Option>)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bvh_node` is never constructed [INFO] [stdout] --> src/bvh.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Bvh_node{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bvh_node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new1`, `new2`, and `new` are never used [INFO] [stdout] --> src/bvh.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Bvh_node{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new1()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn new2(&self,list:&HitList, time0:f64, time1:f64)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new(objects:&mut Vec>>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new1` and `new2` are never used [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl solid_color{ [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn new1()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new2(red:f64,green:f64,blue:f64)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Infinity` should have an upper case name [INFO] [stdout] --> src/data.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static Infinity:f64 = 0xfffffff as f64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `INFINITY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/aabb.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let invD = 1.0/ r.direction.in_at(a); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `point_count` should have an upper case name [INFO] [stdout] --> src/perlin.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static point_count:i32=256; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `POINT_COUNT` [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/rustcoMWsjt/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libindicatif-7d8ad382a2f648c5.rlib,libconsole-f2e01a47766f314d.rlib,libtermios-1643588016817b17.rlib}.rlib" "-lc" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libterminal_size-d2ae2129b8e945eb.rlib,libregex-46f3b482cc532100.rlib,libregex_syntax-c8e2db5e6d8df59d.rlib,libunicode_width-a8c49d31449f9404.rlib,libnumber_prefix-e1072d33814c554b.rlib,libimage-3f9690e8929eb45d.rlib,libbytemuck-724c992e9672525c.rlib,libpng-a2d3860c6f8d1ef4.rlib,libcrc32fast-061a844a3ae1fd0f.rlib,libdeflate-7f6b79472c2b3588.rlib,libbitflags-561a4f1321538a32.rlib,libnum_iter-c31b8ccaa0c9613b.rlib,libjpeg_decoder-c4bfaa66983f6448.rlib,librayon-ab80d0fbe3cde749.rlib,librayon_core-70ca6027e9fe77c5.rlib,libnum_cpus-f01892b3e48d6fa9.rlib,libcrossbeam_deque-5051d2b65cd7a027.rlib,libcrossbeam_epoch-67ca860cc57692bc.rlib,libscopeguard-73056285f12cb829.rlib,libmemoffset-a2dcb0acd9035674.rlib,libcrossbeam_queue-1b7da8e1ea9d5f22.rlib,libcrossbeam_utils-3fb9af92267ec0e2.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libmaybe_uninit-56cae5b1ed8837f0.rlib,libeither-00eb09499d51fa78.rlib,libscoped_threadpool-7a69c1f095d1210f.rlib,libnum_rational-9ee1d53db447d158.rlib,libnum_integer-6fdf93d8b6bba118.rlib,libgif-b9feb260d01964d6.rlib,libcolor_quant-9c8c9adf1a35708c.rlib,libnum_traits-b357b4d3a0965116.rlib,libtiff-2c0a4061b09b88a9.rlib,libminiz_oxide-6fa555f5607cbbb0.rlib,libadler32-3c990962f940e9b3.rlib,liblzw-4876bf1d3077c95b.rlib,libbyteorder-549def2b2525ef52.rlib,librand-13d49905ccf2ac98.rlib,librand_chacha-c92b881bacc2f153.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-5a38e12979959a50.rlib,libgetrandom-0afe9745c20cc309.rlib,liblibc-81e87d35ea52d121.rlib,libcfg_if-2d17986ae484e939.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/rustcoMWsjt/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/raytracer-602727394c798615" "-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-0afe9745c20cc309.rlib(getrandom-0afe9745c20cc309.getrandom.2825e2aeb8860349-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_readonly17h0cdc88924bac4b7bE+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 `raytracer` (bin "raytracer") due to 1 previous error; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "590a70d7678674304fe5b2e019e70e07aedb71e4de695e61931e2a9a9773c61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590a70d7678674304fe5b2e019e70e07aedb71e4de695e61931e2a9a9773c61b", kill_on_drop: false }` [INFO] [stdout] 590a70d7678674304fe5b2e019e70e07aedb71e4de695e61931e2a9a9773c61b