[INFO] cloning repository https://github.com/bonohub13/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/bonohub13/Raytracing_in_One_Weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbonohub13%2FRaytracing_in_One_Weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbonohub13%2FRaytracing_in_One_Weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cf16e32c54e6e3290237bcd108ba3b008041ce4 [INFO] testing bonohub13/Raytracing_in_One_Weekend against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbonohub13%2FRaytracing_in_One_Weekend" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bonohub13/Raytracing_in_One_Weekend [INFO] finished tweaking git repo https://github.com/bonohub13/Raytracing_in_One_Weekend [INFO] tweaked toml for git repo https://github.com/bonohub13/Raytracing_in_One_Weekend written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bonohub13/Raytracing_in_One_Weekend on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bonohub13/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1df801c00ff77b48a9b5a81a1dc08a2e370e0823905ff3899898f0c38c5ad5 [INFO] running `Command { std: "docker" "start" "-a" "eb1df801c00ff77b48a9b5a81a1dc08a2e370e0823905ff3899898f0c38c5ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1df801c00ff77b48a9b5a81a1dc08a2e370e0823905ff3899898f0c38c5ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1df801c00ff77b48a9b5a81a1dc08a2e370e0823905ff3899898f0c38c5ad5", kill_on_drop: false }` [INFO] [stdout] eb1df801c00ff77b48a9b5a81a1dc08a2e370e0823905ff3899898f0c38c5ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78096f0174f1493b29f53ff3c9e58125ab213a92d411d7369e68c6b961eec38f [INFO] running `Command { std: "docker" "start" "-a" "78096f0174f1493b29f53ff3c9e58125ab213a92d411d7369e68c6b961eec38f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling syn v2.0.78 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling stb_image v0.3.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling rtiow v0.1.0 (/opt/rustwide/workdir/rtiow) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rtiow/src/camera/mod.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | let mut to_light = on_light - rec.p; [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: unused variable: `r_in` [INFO] [stdout] --> rtiow/src/hittable/mod.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | fn emitted(&self, r_in: &Ray, _rec: &HitRecord, _u: f64, _v: f64, _p: &Point3) -> Color { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn hit(&self, _r: &Ray, _ray_t: &Interval) -> 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] 51 | fn hit(&self, _r: &Ray, _ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/bvh.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 88 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/constant_medium.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 38 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/hittable_list.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 43 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/quad.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 98 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/sphere.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 52 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/translate.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 34 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/translate.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 93 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raytracing_in_one_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.61s [INFO] running `Command { std: "docker" "inspect" "78096f0174f1493b29f53ff3c9e58125ab213a92d411d7369e68c6b961eec38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78096f0174f1493b29f53ff3c9e58125ab213a92d411d7369e68c6b961eec38f", kill_on_drop: false }` [INFO] [stdout] 78096f0174f1493b29f53ff3c9e58125ab213a92d411d7369e68c6b961eec38f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83f9401c447a04492ead4d18db9f657762027becdee44d2d4343a2f9fbb1c30e [INFO] running `Command { std: "docker" "start" "-a" "83f9401c447a04492ead4d18db9f657762027becdee44d2d4343a2f9fbb1c30e", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rtiow/src/camera/mod.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | let mut to_light = on_light - rec.p; [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: unused variable: `r_in` [INFO] [stdout] --> rtiow/src/hittable/mod.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | fn emitted(&self, r_in: &Ray, _rec: &HitRecord, _u: f64, _v: f64, _p: &Point3) -> Color { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn hit(&self, _r: &Ray, _ray_t: &Interval) -> 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] 51 | fn hit(&self, _r: &Ray, _ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/bvh.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 88 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/constant_medium.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 38 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/hittable_list.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 43 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/quad.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 98 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/sphere.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 52 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/translate.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 34 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raytracing_in_one_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rtiow/src/hittable/translate.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 93 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "83f9401c447a04492ead4d18db9f657762027becdee44d2d4343a2f9fbb1c30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83f9401c447a04492ead4d18db9f657762027becdee44d2d4343a2f9fbb1c30e", kill_on_drop: false }` [INFO] [stdout] 83f9401c447a04492ead4d18db9f657762027becdee44d2d4343a2f9fbb1c30e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5ed732a89e2839f967c81dbf8a78c7ce40df7db787a670fc7397f68f37b0b20 [INFO] running `Command { std: "docker" "start" "-a" "c5ed732a89e2839f967c81dbf8a78c7ce40df7db787a670fc7397f68f37b0b20", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> rtiow/src/camera/mod.rs:223:21 [INFO] [stderr] | [INFO] [stderr] 223 | let mut to_light = on_light - rec.p; [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: unused variable: `r_in` [INFO] [stderr] --> rtiow/src/hittable/mod.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | fn emitted(&self, r_in: &Ray, _rec: &HitRecord, _u: f64, _v: f64, _p: &Point3) -> Color { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/mod.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | fn hit(&self, _r: &Ray, _ray_t: &Interval) -> 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] 51 | fn hit(&self, _r: &Ray, _ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/bvh.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 88 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/constant_medium.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 38 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/hittable_list.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 43 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/quad.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 98 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/sphere.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 52 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/translate.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 34 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rtiow/src/hittable/translate.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | fn hit(&self, r: &Ray, ray_t: &Interval) -> 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] 93 | fn hit(&self, r: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rtiow` (lib) generated 10 warnings (run `cargo fix --lib -p rtiow` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/pi.rs (/opt/rustwide/target/debug/deps/pi-10c57e2f35363bff) [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/debug/deps/raytracing-6003b2f855d29e5e) [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" "c5ed732a89e2839f967c81dbf8a78c7ce40df7db787a670fc7397f68f37b0b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ed732a89e2839f967c81dbf8a78c7ce40df7db787a670fc7397f68f37b0b20", kill_on_drop: false }` [INFO] [stdout] c5ed732a89e2839f967c81dbf8a78c7ce40df7db787a670fc7397f68f37b0b20