[INFO] cloning repository https://github.com/adrianisuru/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrianisuru/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianisuru%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianisuru%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5aa699775a3bffb333eeb3cf8d9c1726a238c007 [INFO] testing adrianisuru/ray-tracer against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianisuru%2Fray-tracer" "/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/adrianisuru/ray-tracer [INFO] finished tweaking git repo https://github.com/adrianisuru/ray-tracer [INFO] tweaked toml for git repo https://github.com/adrianisuru/ray-tracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adrianisuru/ray-tracer on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adrianisuru/ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] 9935d8861a1de47f82d3263b6dbbed2bd805cf099f541c946319d80098f185d8 [INFO] running `Command { std: "docker" "start" "-a" "9935d8861a1de47f82d3263b6dbbed2bd805cf099f541c946319d80098f185d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9935d8861a1de47f82d3263b6dbbed2bd805cf099f541c946319d80098f185d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9935d8861a1de47f82d3263b6dbbed2bd805cf099f541c946319d80098f185d8", kill_on_drop: false }` [INFO] [stdout] 9935d8861a1de47f82d3263b6dbbed2bd805cf099f541c946319d80098f185d8 [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] 28020a20c67ed5bbbf5e7dfa40a8eb8b40082e23c1c3ed4d846663c6244174dc [INFO] running `Command { std: "docker" "start" "-a" "28020a20c67ed5bbbf5e7dfa40a8eb8b40082e23c1c3ed4d846663c6244174dc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling bytemuck v1.5.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling triangle v0.1.351 [INFO] [stderr] Compiling tobj v2.0.4 [INFO] [stderr] Compiling glam v0.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mat4`, `Vec4`, and `vec3` [INFO] [stdout] --> src/camera.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::f32::{vec2, vec3, Mat3, Mat4, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | if (nodes.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 355 - if (nodes.len() == 1) { [INFO] [stdout] 355 + if nodes.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/camera.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let i = vec2(c as f32, vres - (r as f32)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/camera.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let res = vec2(hres, vres); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/camera.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let p = vec2(px, py); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/lib.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let inv = d.inverse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid` [INFO] [stdout] --> src/lib.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let mid = min.lerp(max, 0.5); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `m` is never read [INFO] [stdout] --> src/lib.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | m = spread.z.abs(); [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: `normal` [INFO] [stdout] --> src/lib.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | pub fn refl(&self, normal: Vec3) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_tri_intersect` is never used [INFO] [stdout] --> src/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn ray_tri_intersect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AffineTransformation` is never constructed [INFO] [stdout] --> src/lib.rs:475:8 [INFO] [stdout] | [INFO] [stdout] 475 | struct AffineTransformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AffineTransformation` 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 `IDENTITY`, `tran`, `scale`, `rot`, and `refl` are never used [INFO] [stdout] --> src/lib.rs:483:11 [INFO] [stdout] | [INFO] [stdout] 482 | impl AffineTransformation { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 483 | const IDENTITY: AffineTransformation = Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub fn tran(&self, new_origin: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn scale(&self, scale: Vec3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn rot(&self, roll: f32, pitch: f32, yaw: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn refl(&self, normal: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Plane` [INFO] [stdout] --> src/main.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | HitRecord, MeshTriangle, Origin, Plane, Ray, Sphere, Surface, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jittering` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let jittering = jittering.map(str::parse::).map(Result::ok).flatten(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jittering` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | let mut triangles: Vec> = indices [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 `gen_mesh` is never used [INFO] [stdout] --> src/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_mesh(filename: &str) -> BVH { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/rustcvfalp5/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libray_tracer-59dc531aeb97ad59.rlib,libtriangle-90751015f6ab8a63.rlib,libtobj-dc08e33dedb5185b.rlib,librand-6c4f69b1a1e6fdc7.rlib,librand_chacha-ba468f5e379d9a41.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-c7b775ddc7340fb6.rlib,libgetrandom-61dddcf65798a50a.rlib,libimage-3e118c69f3daa156.rlib,libbytemuck-186707b2da0a17e1.rlib,libpng-6b9011ab06c5c76a.rlib,libminiz_oxide-dd3230b304bd21da.rlib,libcrc32fast-73831421cab1f53a.rlib,libdeflate-765b515a671a9afa.rlib,libadler32-5cb8e62306edda0a.rlib,libnum_iter-ad9f422d2c1470d1.rlib,libscoped_threadpool-7a69c1f095d1210f.rlib,libnum_rational-43c7df2f92a6a607.rlib,libnum_integer-5ddb400e2d865490.rlib,libgif-2522b2c1ad583a79.rlib,libcolor_quant-fd36927056f4d79f.rlib,libbyteorder-a2e9f6ef1ec2d791.rlib,libnum_traits-e04a0b1505efd012.rlib,libtiff-554fcf2e1cbd4fed.rlib,libweezl-98b8b938327fefff.rlib,libminiz_oxide-ed47cc8b177bcf36.rlib,libadler-cfae5593f0297367.rlib,libjpeg_decoder-273a91c70a529e55.rlib,librayon-c15a511a935eb1ab.rlib,librayon_core-ad7584dbe09a29c7.rlib,libnum_cpus-10502ae6f306ffdf.rlib,libcrossbeam_deque-5605fed6ec712217.rlib,libcrossbeam_epoch-029f62998d1e189d.rlib,libmemoffset-cf660738815e7a10.rlib,libscopeguard-73056285f12cb829.rlib,libcrossbeam_channel-e65dc906cd56d804.rlib,libcrossbeam_utils-a402afb9c038c148.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libcfg_if-66d55f6b302e88c8.rlib,libeither-e8a0ef7222037a64.rlib,libglam-da604571a35734f8.rlib,libclap-43b15ec8fb931c9a.rlib,libvec_map-f5624d319d58cb9d.rlib,libtextwrap-8f512d08ba4810ae.rlib,libunicode_width-a8c49d31449f9404.rlib,libstrsim-b8b77d7a062bc77b.rlib,libbitflags-561a4f1321538a32.rlib,libatty-e08af7d624ed5ebd.rlib,liblibc-e3943971c8ae6842.rlib,libansi_term-ff0b7d01d18bd931.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/rustcvfalp5/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_tracer-2f18de54d39ae4f1" "-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-61dddcf65798a50a.rlib(getrandom-61dddcf65798a50a.getrandom.365b5c074dc633fb-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.2/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h209af0610c8cf561E+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-tracer` (bin "ray-tracer") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28020a20c67ed5bbbf5e7dfa40a8eb8b40082e23c1c3ed4d846663c6244174dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28020a20c67ed5bbbf5e7dfa40a8eb8b40082e23c1c3ed4d846663c6244174dc", kill_on_drop: false }` [INFO] [stdout] 28020a20c67ed5bbbf5e7dfa40a8eb8b40082e23c1c3ed4d846663c6244174dc