[INFO] cloning repository https://github.com/aidenbenner/rust-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aidenbenner/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidenbenner%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidenbenner%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ba58757f398adc19cfc9ff22713991c91000772 [INFO] testing aidenbenner/rust-raytracer 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%2Faidenbenner%2Frust-raytracer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aidenbenner/rust-raytracer [INFO] finished tweaking git repo https://github.com/aidenbenner/rust-raytracer [INFO] tweaked toml for git repo https://github.com/aidenbenner/rust-raytracer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aidenbenner/rust-raytracer 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/aidenbenner/rust-raytracer 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2ea5b200909812ba649a458844a83456212fead88aa21f0a26e47a6ac2b6de3b [INFO] running `Command { std: "docker" "start" "-a" "2ea5b200909812ba649a458844a83456212fead88aa21f0a26e47a6ac2b6de3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ea5b200909812ba649a458844a83456212fead88aa21f0a26e47a6ac2b6de3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea5b200909812ba649a458844a83456212fead88aa21f0a26e47a6ac2b6de3b", kill_on_drop: false }` [INFO] [stdout] 2ea5b200909812ba649a458844a83456212fead88aa21f0a26e47a6ac2b6de3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 27a47ed5d544a1100ff9d6a8e5407aebe536a3178d26947af9035521f6dc02ba [INFO] running `Command { std: "docker" "start" "-a" "27a47ed5d544a1100ff9d6a8e5407aebe536a3178d26947af9035521f6dc02ba", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs::File, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rc::Rc` and `str::MatchIndices` [INFO] [stdout] --> src/object.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{rc::Rc, str::MatchIndices}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `object::Object` [INFO] [stdout] --> src/bounding_box.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{object::Object}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | objects: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 | objects: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn emit(&self, ray: &Ray, hit: &RayHit) -> Color { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | fn emit(&self, ray: &Ray, hit: &RayHit) -> Color { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn scatter(&self, ray: &Ray, hit: &RayHit) -> 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: `ray` [INFO] [stdout] --> src/material.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn scatter(&self, ray: &Ray, hit: &RayHit) -> 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` [INFO] [stdout] --> src/material.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | fn scatter(&self, ray: &Ray, hit: &RayHit) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | fn emit(&self, ray: &Ray, hit: &RayHit) -> Color { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | fn emit(&self, ray: &Ray, hit: &RayHit) -> Color { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus_point` [INFO] [stdout] --> src/main.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let focus_point = vec3!(5., 10., 4.); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | for i in 0..300 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | let mut focus_point = vec3!(0., 2., 1.); [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: field `axis` is never read [INFO] [stdout] --> src/object.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Rect { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 235 | pub axis : Axis, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SAMPLES` should have a snake case name [INFO] [stdout] --> src/main.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let SAMPLES: i32 = 5000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `samples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | img.to_ppm("test.ppm"); [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] 553 | let _ = img.to_ppm("test.ppm"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/object.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let N = objs.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [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/rustc8zP1R4/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-3ffc37da138bd9fc.rlib,librand_chacha-22fab3f0a5224659.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-f15f93f857b81b8a.rlib,libgetrandom-64ee75073cd41be2.rlib,librayon-2c3e9497e501bcd5.rlib,librayon_core-c4a7cf9cb21fc2e3.rlib,libnum_cpus-7d9b79468643db10.rlib,liblibc-c091619168bee0d3.rlib,libcrossbeam_deque-cab33a3f07ea02b8.rlib,libcrossbeam_epoch-9f287bf2b645626d.rlib,libmemoffset-032d12bb14e01a4e.rlib,libscopeguard-73056285f12cb829.rlib,libcrossbeam_channel-ffe84ad7e4d4f2eb.rlib,libcrossbeam_utils-3a4b85d899178166.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libcfg_if-66d55f6b302e88c8.rlib,libeither-e8a0ef7222037a64.rlib,libanyhow-f4bf4e4cdc71e965.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/rustc8zP1R4/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-0fd6a9f6d67f0191" "-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-64ee75073cd41be2.rlib(getrandom-64ee75073cd41be2.getrandom.46ce0837886ffc2d-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_readonly17h85eda29b0406c2bcE+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 `raytracer` (bin "raytracer") due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "27a47ed5d544a1100ff9d6a8e5407aebe536a3178d26947af9035521f6dc02ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a47ed5d544a1100ff9d6a8e5407aebe536a3178d26947af9035521f6dc02ba", kill_on_drop: false }` [INFO] [stdout] 27a47ed5d544a1100ff9d6a8e5407aebe536a3178d26947af9035521f6dc02ba