[INFO] cloning repository https://github.com/raidiun/feor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raidiun/feor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidiun%2Ffeor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidiun%2Ffeor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad404920e5b479c2eabbe4cc7304e4687aa87049 [INFO] testing raidiun/feor against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+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%2Fraidiun%2Ffeor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raidiun/feor [INFO] finished tweaking git repo https://github.com/raidiun/feor [INFO] tweaked toml for git repo https://github.com/raidiun/feor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raidiun/feor on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raidiun/feor 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] [stderr] Downloaded wide v0.7.3 [INFO] [stderr] Downloaded simba v0.7.0 [INFO] [stderr] Downloaded nalgebra v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b353dbc6f306ec4fd818c9d4888e18d7ecaf48e036d38350c9232f15e1755435 [INFO] running `Command { std: "docker" "start" "-a" "b353dbc6f306ec4fd818c9d4888e18d7ecaf48e036d38350c9232f15e1755435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b353dbc6f306ec4fd818c9d4888e18d7ecaf48e036d38350c9232f15e1755435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b353dbc6f306ec4fd818c9d4888e18d7ecaf48e036d38350c9232f15e1755435", kill_on_drop: false }` [INFO] [stdout] b353dbc6f306ec4fd818c9d4888e18d7ecaf48e036d38350c9232f15e1755435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4c8c9fa3e76a2b43c7b5006c34006f51ed52e60e7a71e88caabc828bc3fafc79 [INFO] running `Command { std: "docker" "start" "-a" "4c8c9fa3e76a2b43c7b5006c34006f51ed52e60e7a71e88caabc828bc3fafc79", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling bmp v0.5.0 [INFO] [stderr] Compiling wide v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling simba v0.7.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling nalgebra v0.30.0 [INFO] [stderr] Compiling ritw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `diffuse_blue` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let diffuse_blue = Diffuse::new(Colour::new(0.0,0.0,1.0)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diffuse_blue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glass` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let glass = Dielectric::new(Colour::new(0.9,0.8,0.9),1.5); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_glass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct ViewPort { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | aspect_ratio: Fpr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ViewPort` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `focal_length` and `viewport` are never read [INFO] [stdout] --> src/camera.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | origin: Vector3, [INFO] [stdout] 25 | focal_length: Fpr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | viewport: ViewPort, [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: field `camera` is never read [INFO] [stdout] --> src/scene.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Scene<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub bodies: Vec<&'a dyn RenderedBody<'a>>, [INFO] [stdout] 9 | pub camera: Camera, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | thread.join(); [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] 193 | let _ = thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/geometry.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_hit(&'a self, ray: &Ray, tmin: Option, tmax: Option) -> Option; [INFO] [stdout] | ^^ this lifetime flows to the output --- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 4 | fn get_hit(&'a self, ray: &Ray, tmin: Option, tmax: Option) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/geometry.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/geometry.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn get_hit(&self, ray: &Ray, tmin: Option, tmax: Option) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn get_hit(&self, ray: &Ray, tmin: Option, tmax: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.78s [INFO] running `Command { std: "docker" "inspect" "4c8c9fa3e76a2b43c7b5006c34006f51ed52e60e7a71e88caabc828bc3fafc79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8c9fa3e76a2b43c7b5006c34006f51ed52e60e7a71e88caabc828bc3fafc79", kill_on_drop: false }` [INFO] [stdout] 4c8c9fa3e76a2b43c7b5006c34006f51ed52e60e7a71e88caabc828bc3fafc79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 972f82faf15fc25dfdb3a1f562cf83bcff7442a5eced444653a2547232f9fb4d [INFO] running `Command { std: "docker" "start" "-a" "972f82faf15fc25dfdb3a1f562cf83bcff7442a5eced444653a2547232f9fb4d", kill_on_drop: false }` [INFO] [stderr] Compiling ritw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `diffuse_blue` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let diffuse_blue = Diffuse::new(Colour::new(0.0,0.0,1.0)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diffuse_blue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glass` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let glass = Dielectric::new(Colour::new(0.9,0.8,0.9),1.5); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_glass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct ViewPort { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | aspect_ratio: Fpr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ViewPort` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `focal_length` and `viewport` are never read [INFO] [stdout] --> src/camera.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | origin: Vector3, [INFO] [stdout] 25 | focal_length: Fpr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | viewport: ViewPort, [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: field `camera` is never read [INFO] [stdout] --> src/scene.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Scene<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub bodies: Vec<&'a dyn RenderedBody<'a>>, [INFO] [stdout] 9 | pub camera: Camera, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | thread.join(); [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] 193 | let _ = thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/geometry.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_hit(&'a self, ray: &Ray, tmin: Option, tmax: Option) -> Option; [INFO] [stdout] | ^^ this lifetime flows to the output --- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 4 | fn get_hit(&'a self, ray: &Ray, tmin: Option, tmax: Option) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/geometry.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/geometry.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn get_hit(&self, ray: &Ray, tmin: Option, tmax: Option) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn get_hit(&self, ray: &Ray, tmin: Option, tmax: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "972f82faf15fc25dfdb3a1f562cf83bcff7442a5eced444653a2547232f9fb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972f82faf15fc25dfdb3a1f562cf83bcff7442a5eced444653a2547232f9fb4d", kill_on_drop: false }` [INFO] [stdout] 972f82faf15fc25dfdb3a1f562cf83bcff7442a5eced444653a2547232f9fb4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2cd245b355c401293c8fa6fd4360e9f053c2aa0191318b0afea8c9c0288531f5 [INFO] running `Command { std: "docker" "start" "-a" "2cd245b355c401293c8fa6fd4360e9f053c2aa0191318b0afea8c9c0288531f5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `diffuse_blue` [INFO] [stderr] --> src/main.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | let diffuse_blue = Diffuse::new(Colour::new(0.0,0.0,1.0)); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diffuse_blue` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `glass` [INFO] [stderr] --> src/main.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | let glass = Dielectric::new(Colour::new(0.9,0.8,0.9),1.5); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_glass` [INFO] [stderr] [INFO] [stderr] warning: field `aspect_ratio` is never read [INFO] [stderr] --> src/camera.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) struct ViewPort { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 5 | aspect_ratio: Fpr, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ViewPort` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `focal_length` and `viewport` are never read [INFO] [stderr] --> src/camera.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub(crate) struct Camera { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 24 | origin: Vector3, [INFO] [stderr] 25 | focal_length: Fpr, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 26 | viewport: ViewPort, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `camera` is never read [INFO] [stderr] --> src/scene.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) struct Scene<'a> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 8 | pub bodies: Vec<&'a dyn RenderedBody<'a>>, [INFO] [stderr] 9 | pub camera: Camera, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Scene` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | thread.join(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 193 | let _ = thread.join(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/geometry.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | fn get_hit(&'a self, ray: &Ray, tmin: Option, tmax: Option) -> Option; [INFO] [stderr] | ^^ this lifetime flows to the output --- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 4 | fn get_hit(&'a self, ray: &Ray, tmin: Option, tmax: Option) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/geometry.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 26 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/geometry.rs:92:16 [INFO] [stderr] | [INFO] [stderr] 92 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 92 | fn get_hit(&self, ray: &Ray, tmin_opt: Option, tmax_opt: Option) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scene.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn get_hit(&self, ray: &Ray, tmin: Option, tmax: Option) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn get_hit(&self, ray: &Ray, tmin: Option, tmax: Option) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ritw` (bin "ritw" test) generated 10 warnings (run `cargo fix --bin "ritw" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ritw-6122b16d3ddc3e43) [INFO] running `Command { std: "docker" "inspect" "2cd245b355c401293c8fa6fd4360e9f053c2aa0191318b0afea8c9c0288531f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd245b355c401293c8fa6fd4360e9f053c2aa0191318b0afea8c9c0288531f5", kill_on_drop: false }` [INFO] [stdout] 2cd245b355c401293c8fa6fd4360e9f053c2aa0191318b0afea8c9c0288531f5