[INFO] cloning repository https://github.com/buggy213/rust-raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buggy213/rust-raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuggy213%2Frust-raytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuggy213%2Frust-raytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 741bda9bcb60f5ffd843c3f8de1dae916b11644d [INFO] testing buggy213/rust-raytracing 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%2Fbuggy213%2Frust-raytracing" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/buggy213/rust-raytracing [INFO] finished tweaking git repo https://github.com/buggy213/rust-raytracing [INFO] tweaked toml for git repo https://github.com/buggy213/rust-raytracing written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/buggy213/rust-raytracing 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/buggy213/rust-raytracing 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 proc-macro2 v1.0.40 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded flume v0.10.13 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.9 [INFO] [stderr] Downloaded weezl v0.1.6 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded image v0.24.2 [INFO] [stderr] Downloaded obj v0.10.2 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded tiff v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9a74896b453f6fbf0571495cf354ef140bbb00d9da4c9565f5f0196b75e1138d [INFO] running `Command { std: "docker" "start" "-a" "9a74896b453f6fbf0571495cf354ef140bbb00d9da4c9565f5f0196b75e1138d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a74896b453f6fbf0571495cf354ef140bbb00d9da4c9565f5f0196b75e1138d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a74896b453f6fbf0571495cf354ef140bbb00d9da4c9565f5f0196b75e1138d", kill_on_drop: false }` [INFO] [stdout] 9a74896b453f6fbf0571495cf354ef140bbb00d9da4c9565f5f0196b75e1138d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2ae32bda3f9d30857b9fcbb6a04140f0c6f632ed4a60662402577c0e96be16ad [INFO] running `Command { std: "docker" "start" "-a" "2ae32bda3f9d30857b9fcbb6a04140f0c6f632ed4a60662402577c0e96be16ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling obj v0.10.2 [INFO] [stderr] Compiling tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.13 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling clap v3.2.8 [INFO] [stderr] Compiling image v0.24.2 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittables/hittable.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | t: f64, ray: Ray, material: &'a Material, u: f64, v: f64) -> HitRecord<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_checker` [INFO] [stdout] --> src/preset_scenes.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let top_checker = CheckerTexture::make_solid_checkered(Vec3(0.2, 0.3, 0.1), Vec3(0.9, 0.9, 0.9)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_perlin` [INFO] [stdout] --> src/preset_scenes.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let top_perlin = NoiseTexture::new(4.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_perlin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interactive` [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | interactive, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `interactive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_euler` is never used [INFO] [stdout] --> src/types/transform.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl TransformData { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn rotate_euler(&self, rotation: Vec3) -> TransformData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types/vec2.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vec2(pub f64, pub f64); [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Vec2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types/vec2.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UV(pub Vec2); [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UV` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(center: Point, radius: f64, material: Material) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/moving_sphere.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(start_position: Point, end_position: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_coordinates` is never read [INFO] [stdout] --> src/hittables/mesh.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MeshTri { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub texture_coordinates: [UV; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | MeshLoadError(ObjError), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - MeshLoadError(ObjError), [INFO] [stdout] 55 + MeshLoadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | MaterialLoadError(MtlLibsLoadError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - MaterialLoadError(MtlLibsLoadError), [INFO] [stdout] 56 + MaterialLoadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Clamp` is never used [INFO] [stdout] --> src/utils.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Clamp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/camera.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn default() -> Camera { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/scene.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/bvh.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn hit(&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] 87 | fn hit(&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/hittables/hittable.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&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] 7 | fn hit(&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/hittables/sphere.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&self, ray: 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] 63 | fn hit(&self, ray: 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/hittables/hittable_list.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn hit(&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] 54 | fn hit(&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/hittables/moving_sphere.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&self, ray: 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] 55 | fn hit(&self, ray: 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/hittables/aarect.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&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] 84 | aarect!(XY, 0, 1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/aarect.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&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] 85 | aarect!(XZ, 0, 2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/aarect.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&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] 86 | aarect!(YZ, 1, 2, 0); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/block.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | fn hit(&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] 102 | fn hit(&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/hittables/instance.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&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] 55 | fn hit(&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/hittables/constant_medium.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&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] 63 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let P = Vec3::cross(r.direction, e2); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let T = r.origin - v0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let Q = Vec3::cross(T, e1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables/tri.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | fn hit(&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] 74 | fn hit(&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/hittables/mesh.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | fn hit(&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] 186 | fn hit(&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 33.24s [INFO] running `Command { std: "docker" "inspect" "2ae32bda3f9d30857b9fcbb6a04140f0c6f632ed4a60662402577c0e96be16ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ae32bda3f9d30857b9fcbb6a04140f0c6f632ed4a60662402577c0e96be16ad", kill_on_drop: false }` [INFO] [stdout] 2ae32bda3f9d30857b9fcbb6a04140f0c6f632ed4a60662402577c0e96be16ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 132f9404f7c108a3b09b7c2eb06891f65934a701e5e2edae3547e12c4b6be75c [INFO] running `Command { std: "docker" "start" "-a" "132f9404f7c108a3b09b7c2eb06891f65934a701e5e2edae3547e12c4b6be75c", kill_on_drop: false }` [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittables/hittable.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | t: f64, ray: Ray, material: &'a Material, u: f64, v: f64) -> HitRecord<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_checker` [INFO] [stdout] --> src/preset_scenes.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let top_checker = CheckerTexture::make_solid_checkered(Vec3(0.2, 0.3, 0.1), Vec3(0.9, 0.9, 0.9)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_perlin` [INFO] [stdout] --> src/preset_scenes.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let top_perlin = NoiseTexture::new(4.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_perlin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interactive` [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | interactive, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `interactive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_euler` is never used [INFO] [stdout] --> src/types/transform.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl TransformData { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn rotate_euler(&self, rotation: Vec3) -> TransformData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types/vec2.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vec2(pub f64, pub f64); [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Vec2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types/vec2.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UV(pub Vec2); [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UV` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(center: Point, radius: f64, material: Material) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/moving_sphere.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(start_position: Point, end_position: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_coordinates` is never read [INFO] [stdout] --> src/hittables/mesh.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MeshTri { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub texture_coordinates: [UV; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | MeshLoadError(ObjError), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - MeshLoadError(ObjError), [INFO] [stdout] 55 + MeshLoadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | MaterialLoadError(MtlLibsLoadError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - MaterialLoadError(MtlLibsLoadError), [INFO] [stdout] 56 + MaterialLoadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Clamp` is never used [INFO] [stdout] --> src/utils.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Clamp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/camera.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn default() -> Camera { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/scene.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/bvh.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn hit(&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] 87 | fn hit(&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/hittables/hittable.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&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] 7 | fn hit(&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/hittables/sphere.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&self, ray: 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] 63 | fn hit(&self, ray: 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/hittables/hittable_list.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn hit(&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] 54 | fn hit(&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/hittables/moving_sphere.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&self, ray: 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] 55 | fn hit(&self, ray: 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/hittables/aarect.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&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] 84 | aarect!(XY, 0, 1, 2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/aarect.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&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] 85 | aarect!(XZ, 0, 2, 1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/aarect.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn hit(&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] 86 | aarect!(YZ, 1, 2, 0); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/block.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | fn hit(&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] 102 | fn hit(&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/hittables/instance.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&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] 55 | fn hit(&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/hittables/constant_medium.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&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] 63 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let P = Vec3::cross(r.direction, e2); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let T = r.origin - v0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let Q = Vec3::cross(T, e1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables/tri.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | fn hit(&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] 74 | fn hit(&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/hittables/mesh.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | fn hit(&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] 186 | fn hit(&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.96s [INFO] running `Command { std: "docker" "inspect" "132f9404f7c108a3b09b7c2eb06891f65934a701e5e2edae3547e12c4b6be75c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132f9404f7c108a3b09b7c2eb06891f65934a701e5e2edae3547e12c4b6be75c", kill_on_drop: false }` [INFO] [stdout] 132f9404f7c108a3b09b7c2eb06891f65934a701e5e2edae3547e12c4b6be75c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f9b641fe9c105618e666538bb2876ae45d2f765338387d4d4c74392432253a95 [INFO] running `Command { std: "docker" "start" "-a" "f9b641fe9c105618e666538bb2876ae45d2f765338387d4d4c74392432253a95", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/hittables/hittable.rs:53:21 [INFO] [stderr] | [INFO] [stderr] 53 | t: f64, ray: Ray, material: &'a Material, u: f64, v: f64) -> HitRecord<'a> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `top_checker` [INFO] [stderr] --> src/preset_scenes.rs:230:9 [INFO] [stderr] | [INFO] [stderr] 230 | let top_checker = CheckerTexture::make_solid_checkered(Vec3(0.2, 0.3, 0.1), Vec3(0.9, 0.9, 0.9)); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_checker` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `top_perlin` [INFO] [stderr] --> src/preset_scenes.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | let top_perlin = NoiseTexture::new(4.0); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_perlin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `interactive` [INFO] [stderr] --> src/main.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | interactive, [INFO] [stderr] | ^^^^^^^^^^^ help: try ignoring the field: `interactive: _` [INFO] [stderr] [INFO] [stderr] warning: method `rotate_euler` is never used [INFO] [stderr] --> src/types/transform.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl TransformData { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn rotate_euler(&self, rotation: Vec3) -> TransformData { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/types/vec2.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Vec2(pub f64, pub f64); [INFO] [stderr] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] = note: `Vec2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types/vec2.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct UV(pub Vec2); [INFO] [stderr] | -- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `UV` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/hittables/sphere.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Sphere { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 19 | pub fn new(center: Point, radius: f64, material: Material) -> Sphere { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/hittables/moving_sphere.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 30 | impl MovingSphere { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 31 | pub fn new(start_position: Point, end_position: Point, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `texture_coordinates` is never read [INFO] [stderr] --> src/hittables/mesh.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct MeshTri { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 42 | pub texture_coordinates: [UV; 3], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/hittables/mesh.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 55 | MeshLoadError(ObjError), [INFO] [stderr] | ------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 55 - MeshLoadError(ObjError), [INFO] [stderr] 55 + MeshLoadError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/hittables/mesh.rs:56:23 [INFO] [stderr] | [INFO] [stderr] 56 | MaterialLoadError(MtlLibsLoadError), [INFO] [stderr] | ----------------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 56 - MaterialLoadError(MtlLibsLoadError), [INFO] [stderr] 56 + MaterialLoadError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait `Clamp` is never used [INFO] [stderr] --> src/utils.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub trait Clamp { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/camera.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `default` is never used [INFO] [stderr] --> src/camera.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl Camera { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 29 | pub fn default() -> Camera { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `aspect_ratio` is never read [INFO] [stderr] --> src/scene.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Scene { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub aspect_ratio: f64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Scene` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/types/bvh.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | fn hit(&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] 87 | fn hit(&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/hittables/hittable.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | fn hit(&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] 7 | fn hit(&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/hittables/sphere.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | fn hit(&self, ray: 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] 63 | fn hit(&self, ray: 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/hittables/hittable_list.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn hit(&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] 54 | fn hit(&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/hittables/moving_sphere.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | fn hit(&self, ray: 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] 55 | fn hit(&self, ray: 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/hittables/aarect.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | fn hit(&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] 84 | aarect!(XY, 0, 1, 2); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/aarect.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | fn hit(&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] 85 | aarect!(XZ, 0, 2, 1); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/aarect.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | fn hit(&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] 86 | aarect!(YZ, 1, 2, 0); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [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(&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/hittables/block.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | fn hit(&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] 102 | fn hit(&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/hittables/instance.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | fn hit(&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] 55 | fn hit(&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/hittables/constant_medium.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | fn hit(&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] 63 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: variable `P` should have a snake case name [INFO] [stderr] --> src/hittables/tri.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let P = Vec3::cross(r.direction, e2); [INFO] [stderr] | ^ help: convert the identifier to snake case: `p` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `T` should have a snake case name [INFO] [stderr] --> src/hittables/tri.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let T = r.origin - v0; [INFO] [stderr] | ^ help: convert the identifier to snake case: `t` [INFO] [stderr] [INFO] [stderr] warning: variable `Q` should have a snake case name [INFO] [stderr] --> src/hittables/tri.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let Q = Vec3::cross(T, e1); [INFO] [stderr] | ^ help: convert the identifier to snake case: `q` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables/tri.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | fn hit(&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] 74 | fn hit(&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/hittables/mesh.rs:186:12 [INFO] [stderr] | [INFO] [stderr] 186 | fn hit(&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] 186 | fn hit(&self, r: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `raytrace` (bin "raytrace" test) generated 32 warnings (run `cargo fix --bin "raytrace" --tests` to apply 13 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/raytrace-755291313424cd6c) [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" "f9b641fe9c105618e666538bb2876ae45d2f765338387d4d4c74392432253a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b641fe9c105618e666538bb2876ae45d2f765338387d4d4c74392432253a95", kill_on_drop: false }` [INFO] [stdout] f9b641fe9c105618e666538bb2876ae45d2f765338387d4d4c74392432253a95