[INFO] cloning repository https://github.com/codeworm96/hikari [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeworm96/hikari" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeworm96%2Fhikari", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeworm96%2Fhikari'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a5498f3593f19da2ded9507502096380f0d06fa [INFO] testing codeworm96/hikari against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeworm96%2Fhikari" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codeworm96/hikari [INFO] finished tweaking git repo https://github.com/codeworm96/hikari [INFO] tweaked toml for git repo https://github.com/codeworm96/hikari written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codeworm96/hikari 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/codeworm96/hikari 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] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.1.9 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded image v0.22.1 [INFO] [stderr] Downloaded libc v0.2.61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9d538603309fa1f20473cce02fe23080a5d717348f89a1f689042c9d02530360 [INFO] running `Command { std: "docker" "start" "-a" "9d538603309fa1f20473cce02fe23080a5d717348f89a1f689042c9d02530360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d538603309fa1f20473cce02fe23080a5d717348f89a1f689042c9d02530360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d538603309fa1f20473cce02fe23080a5d717348f89a1f689042c9d02530360", kill_on_drop: false }` [INFO] [stdout] 9d538603309fa1f20473cce02fe23080a5d717348f89a1f689042c9d02530360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 05f6dc41227442d9eea9224b6f827346996ed1fd51392146b3aafe3da91cc025 [INFO] running `Command { std: "docker" "start" "-a" "05f6dc41227442d9eea9224b6f827346996ed1fd51392146b3aafe3da91cc025", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling gif v0.10.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.1 [INFO] [stderr] Compiling hikari v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn two_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_perlin_spheres` is never used [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn two_perlin_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn earth() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn random_scene(rng: &mut ThreadRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn simple_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AABB` is never constructed [INFO] [stdout] --> src/aabb.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AABB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/aabb.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AABB { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | pub fn hit(&self, r: &Ray, tmin: f64, tmax: f64) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `surrounding_box` is never used [INFO] [stdout] --> src/aabb.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn surrounding_box(box0: &AABB, box1: &AABB) -> AABB { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/bvh_node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/bvh_node.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> src/checker_texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/checker_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(odd: Box, even: Box) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/dielectric.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dielectric.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(ri: f64) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/dielectric.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn refract(v: &Vec3, n: &Vec3, ni_over_nt: f64) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schlick` is never used [INFO] [stdout] --> src/dielectric.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_box` is never used [INFO] [stdout] --> src/hitable.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Hitable { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] 17 | fn bounding_box(&self, t0: f64, t1: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTexture` is never constructed [INFO] [stdout] --> src/image_texture.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/image_texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(image: RgbImage) -> ImageTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metal` is never constructed [INFO] [stdout] --> src/metal.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/metal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(a: Vec3, f: f64) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/metal.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovingSphere` is never constructed [INFO] [stdout] --> src/moving_sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MovingSphere { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `center` are never used [INFO] [stdout] --> src/moving_sphere.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MovingSphere { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn center(&self, time: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseTexture` is never constructed [INFO] [stdout] --> src/noise_texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/noise_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(scale: f64) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise` is never used [INFO] [stdout] --> src/perlin.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn noise(p: &Vec3) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turb` is never used [INFO] [stdout] --> src/perlin.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn turb(p: &Vec3, depth: u32) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f64, mat: Box) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sphere_uv` is never used [INFO] [stdout] --> src/util.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_sphere_uv(p: &Vec3) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/vec3.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn dot(a: &Vec3, b: &Vec3) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh_node.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 44 | 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/flip_normals.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | 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/hitable.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | 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/hitable_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | 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/moving_sphere.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 | 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/sphere.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 25 | 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/xy_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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/xz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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/yz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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 19.01s [INFO] running `Command { std: "docker" "inspect" "05f6dc41227442d9eea9224b6f827346996ed1fd51392146b3aafe3da91cc025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f6dc41227442d9eea9224b6f827346996ed1fd51392146b3aafe3da91cc025", kill_on_drop: false }` [INFO] [stdout] 05f6dc41227442d9eea9224b6f827346996ed1fd51392146b3aafe3da91cc025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5d971f92b22e6542bb53078693d36eb585d5cc984207ab382c1836d05476ea3e [INFO] running `Command { std: "docker" "start" "-a" "5d971f92b22e6542bb53078693d36eb585d5cc984207ab382c1836d05476ea3e", kill_on_drop: false }` [INFO] [stderr] Compiling hikari v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn two_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_perlin_spheres` is never used [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn two_perlin_spheres() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn earth() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn random_scene(rng: &mut ThreadRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn simple_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AABB` is never constructed [INFO] [stdout] --> src/aabb.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AABB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/aabb.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AABB { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | pub fn hit(&self, r: &Ray, tmin: f64, tmax: f64) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `surrounding_box` is never used [INFO] [stdout] --> src/aabb.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn surrounding_box(box0: &AABB, box1: &AABB) -> AABB { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/bvh_node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/bvh_node.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> src/checker_texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/checker_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(odd: Box, even: Box) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/dielectric.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dielectric.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(ri: f64) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/dielectric.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn refract(v: &Vec3, n: &Vec3, ni_over_nt: f64) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schlick` is never used [INFO] [stdout] --> src/dielectric.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_box` is never used [INFO] [stdout] --> src/hitable.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Hitable { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] 17 | fn bounding_box(&self, t0: f64, t1: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTexture` is never constructed [INFO] [stdout] --> src/image_texture.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/image_texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(image: RgbImage) -> ImageTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metal` is never constructed [INFO] [stdout] --> src/metal.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/metal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(a: Vec3, f: f64) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/metal.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovingSphere` is never constructed [INFO] [stdout] --> src/moving_sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MovingSphere { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `center` are never used [INFO] [stdout] --> src/moving_sphere.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MovingSphere { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn center(&self, time: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseTexture` is never constructed [INFO] [stdout] --> src/noise_texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/noise_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(scale: f64) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise` is never used [INFO] [stdout] --> src/perlin.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn noise(p: &Vec3) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turb` is never used [INFO] [stdout] --> src/perlin.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn turb(p: &Vec3, depth: u32) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/sphere.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f64, mat: Box) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sphere_uv` is never used [INFO] [stdout] --> src/util.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_sphere_uv(p: &Vec3) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/vec3.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn dot(a: &Vec3, b: &Vec3) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bvh_node.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 44 | 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/flip_normals.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | 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/hitable.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | 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/hitable_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | 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/moving_sphere.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 | 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/sphere.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 25 | 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/xy_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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/xz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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/yz_rect.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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.73s [INFO] running `Command { std: "docker" "inspect" "5d971f92b22e6542bb53078693d36eb585d5cc984207ab382c1836d05476ea3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d971f92b22e6542bb53078693d36eb585d5cc984207ab382c1836d05476ea3e", kill_on_drop: false }` [INFO] [stdout] 5d971f92b22e6542bb53078693d36eb585d5cc984207ab382c1836d05476ea3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 244cb05cf9ce1f2d793361d473ca832ccad83b47882365c6e2dbac7935cbd60c [INFO] running `Command { std: "docker" "start" "-a" "244cb05cf9ce1f2d793361d473ca832ccad83b47882365c6e2dbac7935cbd60c", kill_on_drop: false }` [INFO] [stderr] warning: function `two_spheres` is never used [INFO] [stderr] --> src/main.rs:71:4 [INFO] [stderr] | [INFO] [stderr] 71 | fn two_spheres() -> Box { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `two_perlin_spheres` is never used [INFO] [stderr] --> src/main.rs:92:4 [INFO] [stderr] | [INFO] [stderr] 92 | fn two_perlin_spheres() -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `earth` is never used [INFO] [stderr] --> src/main.rs:107:4 [INFO] [stderr] | [INFO] [stderr] 107 | fn earth() -> Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random_scene` is never used [INFO] [stderr] --> src/main.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn random_scene(rng: &mut ThreadRng) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `simple_light` is never used [INFO] [stderr] --> src/main.rs:190:4 [INFO] [stderr] | [INFO] [stderr] 190 | fn simple_light() -> Box { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AABB` is never constructed [INFO] [stderr] --> src/aabb.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct AABB { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AABB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `hit` is never used [INFO] [stderr] --> src/aabb.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl AABB { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 11 | pub fn hit(&self, r: &Ray, tmin: f64, tmax: f64) -> bool { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `surrounding_box` is never used [INFO] [stderr] --> src/aabb.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn surrounding_box(box0: &AABB, box1: &AABB) -> AABB { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BvhNode` is never constructed [INFO] [stderr] --> src/bvh_node.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct BvhNode { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build` is never used [INFO] [stderr] --> src/bvh_node.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn build( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CheckerTexture` is never constructed [INFO] [stderr] --> src/checker_texture.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct CheckerTexture { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/checker_texture.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl CheckerTexture { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(odd: Box, even: Box) -> CheckerTexture { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Dielectric` is never constructed [INFO] [stderr] --> src/dielectric.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Dielectric { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/dielectric.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Dielectric { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(ri: f64) -> Dielectric { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `refract` is never used [INFO] [stderr] --> src/dielectric.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn refract(v: &Vec3, n: &Vec3, ni_over_nt: f64) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `schlick` is never used [INFO] [stderr] --> src/dielectric.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reflect` is never used [INFO] [stderr] --> src/dielectric.rs:35:4 [INFO] [stderr] | [INFO] [stderr] 35 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `bounding_box` is never used [INFO] [stderr] --> src/hitable.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub trait Hitable { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] 16 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stderr] 17 | fn bounding_box(&self, t0: f64, t1: f64) -> Option; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ImageTexture` is never constructed [INFO] [stderr] --> src/image_texture.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ImageTexture { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/image_texture.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl ImageTexture { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 11 | pub fn new(image: RgbImage) -> ImageTexture { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Metal` is never constructed [INFO] [stderr] --> src/metal.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Metal { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/metal.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Metal { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 15 | pub fn new(a: Vec3, f: f64) -> Metal { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reflect` is never used [INFO] [stderr] --> src/metal.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn reflect(v: &Vec3, n: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MovingSphere` is never constructed [INFO] [stderr] --> src/moving_sphere.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct MovingSphere { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `center` are never used [INFO] [stderr] --> src/moving_sphere.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl MovingSphere { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 18 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | fn center(&self, time: f64) -> Vec3 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: struct `NoiseTexture` is never constructed [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/noise_texture.rs:5:12 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 5 | pub struct NoiseTexture { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/noise_texture.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl NoiseTexture { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(scale: f64) -> NoiseTexture { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `noise` is never used [INFO] [stderr] --> src/perlin.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn noise(p: &Vec3) -> f64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `turb` is never used [INFO] [stderr] --> src/perlin.rs:113:8 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn turb(p: &Vec3, depth: u32) -> f64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Sphere` is never constructed [INFO] [stderr] --> src/sphere.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Sphere { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/sphere.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Sphere { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 15 | pub fn new(center: Vec3, radius: f64, mat: Box) -> Sphere { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_sphere_uv` is never used [INFO] [stderr] --> src/util.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get_sphere_uv(p: &Vec3) -> (f64, f64) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dot` is never used [INFO] [stderr] --> src/vec3.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn dot(a: &Vec3, b: &Vec3) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bvh_node.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | 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] 44 | 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/flip_normals.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | 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] 16 | 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/hitable.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | 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] 16 | 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/hitable_list.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | 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] 16 | 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/moving_sphere.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | 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] 43 | 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/sphere.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | 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] 25 | 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/xy_rect.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | 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] 37 | 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/xz_rect.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | 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] 37 | 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/yz_rect.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | 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] 37 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `hikari` (bin "hikari" test) generated 42 warnings (run `cargo fix --bin "hikari" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hikari-d91aca90dfcda9a6) [INFO] running `Command { std: "docker" "inspect" "244cb05cf9ce1f2d793361d473ca832ccad83b47882365c6e2dbac7935cbd60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "244cb05cf9ce1f2d793361d473ca832ccad83b47882365c6e2dbac7935cbd60c", kill_on_drop: false }` [INFO] [stdout] 244cb05cf9ce1f2d793361d473ca832ccad83b47882365c6e2dbac7935cbd60c