[INFO] cloning repository https://github.com/DevGolbang/RayTracingInOneWeekend-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DevGolbang/RayTracingInOneWeekend-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevGolbang%2FRayTracingInOneWeekend-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevGolbang%2FRayTracingInOneWeekend-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 306620c8c3d090e02dccd5ee5570f001c97ba64f [INFO] testing DevGolbang/RayTracingInOneWeekend-Rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevGolbang%2FRayTracingInOneWeekend-Rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DevGolbang/RayTracingInOneWeekend-Rust [INFO] finished tweaking git repo https://github.com/DevGolbang/RayTracingInOneWeekend-Rust [INFO] tweaked toml for git repo https://github.com/DevGolbang/RayTracingInOneWeekend-Rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DevGolbang/RayTracingInOneWeekend-Rust 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/DevGolbang/RayTracingInOneWeekend-Rust 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded lebe v0.5.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded nanorand v0.7.0 [INFO] [stderr] Downloaded bytemuck v1.9.1 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded png v0.17.5 [INFO] [stderr] Downloaded rayon v1.5.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded rayon-core v1.9.2 [INFO] [stderr] Downloaded weezl v0.1.6 [INFO] [stderr] Downloaded exr v1.4.2 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] [stderr] Downloaded image v0.24.2 [INFO] [stderr] Downloaded flume v0.10.12 [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded libc v0.2.125 [INFO] [stderr] Downloaded jpeg-decoder v0.2.4 [INFO] [stderr] Downloaded tiff v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c5a0c4a39ef47af48be0900caee03dbe335cf022c0551e89f4cc12d965a162bf [INFO] running `Command { std: "docker" "start" "-a" "c5a0c4a39ef47af48be0900caee03dbe335cf022c0551e89f4cc12d965a162bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5a0c4a39ef47af48be0900caee03dbe335cf022c0551e89f4cc12d965a162bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a0c4a39ef47af48be0900caee03dbe335cf022c0551e89f4cc12d965a162bf", kill_on_drop: false }` [INFO] [stdout] c5a0c4a39ef47af48be0900caee03dbe335cf022c0551e89f4cc12d965a162bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b28ae8119fdeaa06289042ded27fb54c3afe2eebe2ae496a8b01f84f6ab705f7 [INFO] running `Command { std: "docker" "start" "-a" "b28ae8119fdeaa06289042ded27fb54c3afe2eebe2ae496a8b01f84f6ab705f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling jpeg-decoder v0.2.4 [INFO] [stderr] Compiling tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling image v0.24.2 [INFO] [stderr] Compiling offline_renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::indicate_bar::IndicateBar` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::indicate_bar::IndicateBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn scatter(&self, r_in: Ray, rec: HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point` is never used [INFO] [stdout] --> src/vec3.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Point = Vec3; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn random_in_hemisphere(normal: Vec3) -> Vec3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/ray.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ray{ [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn at(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hitable.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> HitRecord<'a> [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn new(material_pointer: &'a mut dyn Material) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hitable_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl HitableList [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | u: Vec3, v: Vec3, w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hitable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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/hitable_list.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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] 31 | pub fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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/sphere.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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 hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.85s [INFO] running `Command { std: "docker" "inspect" "b28ae8119fdeaa06289042ded27fb54c3afe2eebe2ae496a8b01f84f6ab705f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28ae8119fdeaa06289042ded27fb54c3afe2eebe2ae496a8b01f84f6ab705f7", kill_on_drop: false }` [INFO] [stdout] b28ae8119fdeaa06289042ded27fb54c3afe2eebe2ae496a8b01f84f6ab705f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2f5b9f652717b51d96aa3babab94a2bd38ed7f1471e20b7591d14d47d7abeb89 [INFO] running `Command { std: "docker" "start" "-a" "2f5b9f652717b51d96aa3babab94a2bd38ed7f1471e20b7591d14d47d7abeb89", kill_on_drop: false }` [INFO] [stderr] Compiling offline_renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::indicate_bar::IndicateBar` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::indicate_bar::IndicateBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn scatter(&self, r_in: Ray, rec: HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point` is never used [INFO] [stdout] --> src/vec3.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Point = Vec3; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn random_in_hemisphere(normal: Vec3) -> Vec3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/ray.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ray{ [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn at(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hitable.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> HitRecord<'a> [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn new(material_pointer: &'a mut dyn Material) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hitable_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl HitableList [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | u: Vec3, v: Vec3, w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hitable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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/hitable_list.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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] 31 | pub fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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/sphere.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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 hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "2f5b9f652717b51d96aa3babab94a2bd38ed7f1471e20b7591d14d47d7abeb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5b9f652717b51d96aa3babab94a2bd38ed7f1471e20b7591d14d47d7abeb89", kill_on_drop: false }` [INFO] [stdout] 2f5b9f652717b51d96aa3babab94a2bd38ed7f1471e20b7591d14d47d7abeb89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f6ed47a5da485ded470ef9a7a72f830ea3782c7587669d054ae2910926553a38 [INFO] running `Command { std: "docker" "start" "-a" "f6ed47a5da485ded470ef9a7a72f830ea3782c7587669d054ae2910926553a38", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::indicate_bar::IndicateBar` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use crate::indicate_bar::IndicateBar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | use std::time::{Duration, SystemTime}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> src/material.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | fn scatter(&self, r_in: Ray, rec: HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Point` is never used [INFO] [stderr] --> src/vec3.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | pub type Point = Vec3; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `random_in_hemisphere` is never used [INFO] [stderr] --> src/vec3.rs:158:8 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn random_in_hemisphere(normal: Vec3) -> Vec3 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `at` is never used [INFO] [stderr] --> src/ray.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Ray{ [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn at(&self, t: f64) -> Vec3 { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/hitable.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl<'a> HitRecord<'a> [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] 16 | { [INFO] [stderr] 17 | pub fn new(material_pointer: &'a mut dyn Material) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/hitable_list.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl HitableList [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 19 | { [INFO] [stderr] 20 | pub fn new() -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/camera.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Camera{ [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 10 | u: Vec3, v: Vec3, w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hitable.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option; [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 47 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hitable_list.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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] 31 | pub fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/sphere.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | fn hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> 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 hit(&mut self, r: Ray, t_min:f64, t_max: f64) -> Option>{ [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `offline_renderer` (bin "offline_renderer" test) generated 12 warnings (run `cargo fix --bin "offline_renderer" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/offline_renderer-c4b99f490bbe35e6) [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] running `Command { std: "docker" "inspect" "f6ed47a5da485ded470ef9a7a72f830ea3782c7587669d054ae2910926553a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ed47a5da485ded470ef9a7a72f830ea3782c7587669d054ae2910926553a38", kill_on_drop: false }` [INFO] [stdout] f6ed47a5da485ded470ef9a7a72f830ea3782c7587669d054ae2910926553a38