[INFO] cloning repository https://github.com/fedelebron/rust-raytracing-in-one-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fedelebron/rust-raytracing-in-one-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedelebron%2Frust-raytracing-in-one-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedelebron%2Frust-raytracing-in-one-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27d76b6a2f216f668b04ce7cdda19fed50f2bfc4 [INFO] testing fedelebron/rust-raytracing-in-one-weekend 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%2Ffedelebron%2Frust-raytracing-in-one-weekend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fedelebron/rust-raytracing-in-one-weekend [INFO] finished tweaking git repo https://github.com/fedelebron/rust-raytracing-in-one-weekend [INFO] tweaked toml for git repo https://github.com/fedelebron/rust-raytracing-in-one-weekend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fedelebron/rust-raytracing-in-one-weekend 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/fedelebron/rust-raytracing-in-one-weekend 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 indicatif v0.15.0 [INFO] [stderr] Downloaded console v0.13.0 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded atomic-counter v1.0.1 [INFO] [stderr] Downloaded const_fn v0.4.4 [INFO] [stderr] Downloaded bytemuck v1.4.1 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded weezl v0.1.3 [INFO] [stderr] Downloaded image v0.23.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a701c501b73a5b6c0cb7cbf979a5d68aa6fb11bc077fced96c1a3fbea7cb8e76 [INFO] running `Command { std: "docker" "start" "-a" "a701c501b73a5b6c0cb7cbf979a5d68aa6fb11bc077fced96c1a3fbea7cb8e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a701c501b73a5b6c0cb7cbf979a5d68aa6fb11bc077fced96c1a3fbea7cb8e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a701c501b73a5b6c0cb7cbf979a5d68aa6fb11bc077fced96c1a3fbea7cb8e76", kill_on_drop: false }` [INFO] [stdout] a701c501b73a5b6c0cb7cbf979a5d68aa6fb11bc077fced96c1a3fbea7cb8e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e0880f330f4b30aee9acb999fb646b63255d61e479b5cd923d3f1d8e94efe70b [INFO] running `Command { std: "docker" "start" "-a" "e0880f330f4b30aee9acb999fb646b63255d61e479b5cd923d3f1d8e94efe70b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling atomic-counter v1.0.1 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling terminal_size v0.1.15 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MulAssign` and `SubAssign` [INFO] [stdout] --> src/vec3.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, AddAssign, DivAssign, Div, Mul, MulAssign, Sub, SubAssign, Neg}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/aabb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::x86_64::*` [INFO] [stdout] --> src/aabb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::arch::x86_64::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aabb.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn hit(&self, mut t_min: T, mut t_max: T, ray: &Ray) -> bool { [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/aabb.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn hit(&self, mut t_min: T, mut t_max: T, ray: &Ray) -> bool { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | obj: &'a dyn Object) -> HitResult { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 27 | obj: &'a dyn Object) -> HitResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 61 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/object.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload; [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 62 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 86 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/object.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 106 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 167 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/object.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 188 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 97 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/bvh.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | fn hit_payload(&self, _t: T, _ray: &Ray) -> HitResultPayload { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 121 | fn hit_payload(&self, _t: T, _ray: &Ray) -> HitResultPayload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.12s [INFO] running `Command { std: "docker" "inspect" "e0880f330f4b30aee9acb999fb646b63255d61e479b5cd923d3f1d8e94efe70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0880f330f4b30aee9acb999fb646b63255d61e479b5cd923d3f1d8e94efe70b", kill_on_drop: false }` [INFO] [stdout] e0880f330f4b30aee9acb999fb646b63255d61e479b5cd923d3f1d8e94efe70b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e1d1c1fe60f77ee17b3353273ff9b0bad5b6b67f63ee54b4accf7b06dad034e6 [INFO] running `Command { std: "docker" "start" "-a" "e1d1c1fe60f77ee17b3353273ff9b0bad5b6b67f63ee54b4accf7b06dad034e6", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MulAssign` and `SubAssign` [INFO] [stdout] --> src/vec3.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, AddAssign, DivAssign, Div, Mul, MulAssign, Sub, SubAssign, Neg}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/aabb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::x86_64::*` [INFO] [stdout] --> src/aabb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::arch::x86_64::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aabb.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn hit(&self, mut t_min: T, mut t_max: T, ray: &Ray) -> bool { [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/aabb.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn hit(&self, mut t_min: T, mut t_max: T, ray: &Ray) -> bool { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | obj: &'a dyn Object) -> HitResult { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 27 | obj: &'a dyn Object) -> HitResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 61 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/object.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload; [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 62 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 86 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/object.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 106 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 167 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/object.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 188 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 97 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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/bvh.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | fn hit_payload(&self, _t: T, _ray: &Ray) -> HitResultPayload { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 121 | fn hit_payload(&self, _t: T, _ray: &Ray) -> HitResultPayload<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "e1d1c1fe60f77ee17b3353273ff9b0bad5b6b67f63ee54b4accf7b06dad034e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d1c1fe60f77ee17b3353273ff9b0bad5b6b67f63ee54b4accf7b06dad034e6", kill_on_drop: false }` [INFO] [stdout] e1d1c1fe60f77ee17b3353273ff9b0bad5b6b67f63ee54b4accf7b06dad034e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 304695815bfdc3dc86f9cda16f58153c571b19419397b0693ee594976ffb37e7 [INFO] running `Command { std: "docker" "start" "-a" "304695815bfdc3dc86f9cda16f58153c571b19419397b0693ee594976ffb37e7", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `MulAssign` and `SubAssign` [INFO] [stderr] --> src/vec3.rs:4:53 [INFO] [stderr] | [INFO] [stderr] 4 | use std::ops::{Add, AddAssign, DivAssign, Div, Mul, MulAssign, Sub, SubAssign, Neg}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/aabb.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::arch::x86_64::*` [INFO] [stderr] --> src/aabb.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use core::arch::x86_64::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aabb.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn hit(&self, mut t_min: T, mut t_max: T, ray: &Ray) -> bool { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aabb.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn hit(&self, mut t_min: T, mut t_max: T, ray: &Ray) -> bool { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | obj: &'a dyn Object) -> HitResult { [INFO] [stderr] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 27 | obj: &'a dyn Object) -> HitResult<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 61 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object.rs:62:18 [INFO] [stderr] | [INFO] [stderr] 62 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload; [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 62 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object.rs:86:10 [INFO] [stderr] | [INFO] [stderr] 86 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 86 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 106 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object.rs:167:10 [INFO] [stderr] | [INFO] [stderr] 167 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 167 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object.rs:188:18 [INFO] [stderr] | [INFO] [stderr] 188 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 188 | fn hit_payload(&self, t: T, ray: &Ray) -> HitResultPayload<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bvh.rs:97:10 [INFO] [stderr] | [INFO] [stderr] 97 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> 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] 97 | fn hit(&self, t_min: T, t_max: T, ray: &Ray) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bvh.rs:121:18 [INFO] [stderr] | [INFO] [stderr] 121 | fn hit_payload(&self, _t: T, _ray: &Ray) -> HitResultPayload { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 121 | fn hit_payload(&self, _t: T, _ray: &Ray) -> HitResultPayload<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 14 warnings (run `cargo fix --bin "raytracer" --tests` to apply 14 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/raytracer-e70cc808c1ed027a) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test vec3::tests::test_scalar ... ok [INFO] [stdout] test vec3::tests::test_unary_vec ... ok [INFO] [stdout] test vec3::tests::test_vec ... ok [INFO] [stdout] test vec3::tests::test_unary_scalar ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "304695815bfdc3dc86f9cda16f58153c571b19419397b0693ee594976ffb37e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304695815bfdc3dc86f9cda16f58153c571b19419397b0693ee594976ffb37e7", kill_on_drop: false }` [INFO] [stdout] 304695815bfdc3dc86f9cda16f58153c571b19419397b0693ee594976ffb37e7