[INFO] cloning repository https://github.com/SnowWalkerJ/RustRayTrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SnowWalkerJ/RustRayTrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnowWalkerJ%2FRustRayTrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnowWalkerJ%2FRustRayTrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75956e5ee60396a680c941e5856764c5d7219075 [INFO] testing SnowWalkerJ/RustRayTrace against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnowWalkerJ%2FRustRayTrace" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SnowWalkerJ/RustRayTrace [INFO] finished tweaking git repo https://github.com/SnowWalkerJ/RustRayTrace [INFO] tweaked toml for git repo https://github.com/SnowWalkerJ/RustRayTrace written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SnowWalkerJ/RustRayTrace on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SnowWalkerJ/RustRayTrace 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ravif v0.11.11 [INFO] [stderr] Downloaded built v0.7.5 [INFO] [stderr] Downloaded anyhow v1.0.90 [INFO] [stderr] Downloaded image v0.25.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c9d0dc9cb3b23f5d9fb7d17b266632ef4e5afc2537507a560025112f7ec332 [INFO] running `Command { std: "docker" "start" "-a" "c5c9d0dc9cb3b23f5d9fb7d17b266632ef4e5afc2537507a560025112f7ec332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c9d0dc9cb3b23f5d9fb7d17b266632ef4e5afc2537507a560025112f7ec332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c9d0dc9cb3b23f5d9fb7d17b266632ef4e5afc2537507a560025112f7ec332", kill_on_drop: false }` [INFO] [stdout] c5c9d0dc9cb3b23f5d9fb7d17b266632ef4e5afc2537507a560025112f7ec332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06f37c2e850a538f45acb5c5294272ee0aa71d37c66a7c2689dd0c1391d76f1c [INFO] running `Command { std: "docker" "start" "-a" "06f37c2e850a538f45acb5c5294272ee0aa71d37c66a7c2689dd0c1391d76f1c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.160 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.4 [INFO] [stderr] Compiling RayTrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Medium` is never constructed [INFO] [stdout] --> src/shapes/medium.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Medium { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_hit` are never used [INFO] [stdout] --> src/shapes/medium.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Medium { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(shape: impl Shape + 'static, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/materials/dielectric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(refraction_index: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflectance` is never used [INFO] [stdout] --> src/materials/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflectance(cosine: f32, refraction_index: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/misc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn random() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTrace` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ray_trace` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/quard.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shape.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.10s [INFO] running `Command { std: "docker" "inspect" "06f37c2e850a538f45acb5c5294272ee0aa71d37c66a7c2689dd0c1391d76f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f37c2e850a538f45acb5c5294272ee0aa71d37c66a7c2689dd0c1391d76f1c", kill_on_drop: false }` [INFO] [stdout] 06f37c2e850a538f45acb5c5294272ee0aa71d37c66a7c2689dd0c1391d76f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67716cfadb237ae04457f46ecf097b8370bbdd7dfeca05937062ecf535623b57 [INFO] running `Command { std: "docker" "start" "-a" "67716cfadb237ae04457f46ecf097b8370bbdd7dfeca05937062ecf535623b57", kill_on_drop: false }` [INFO] [stdout] warning: struct `Medium` is never constructed [INFO] [stdout] --> src/shapes/medium.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Medium { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_hit` are never used [INFO] [stdout] --> src/shapes/medium.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Medium { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(shape: impl Shape + 'static, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/materials/dielectric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(refraction_index: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflectance` is never used [INFO] [stdout] --> src/materials/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflectance(cosine: f32, refraction_index: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/misc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn random() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTrace` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ray_trace` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/quard.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shape.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling RayTrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Medium` is never constructed [INFO] [stdout] --> src/shapes/medium.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Medium { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_hit` are never used [INFO] [stdout] --> src/shapes/medium.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Medium { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(shape: impl Shape + 'static, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/materials/dielectric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(refraction_index: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflectance` is never used [INFO] [stdout] --> src/materials/dielectric.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn reflectance(cosine: f32, refraction_index: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/misc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn random() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/sphere.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/quard.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes/medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shape.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "67716cfadb237ae04457f46ecf097b8370bbdd7dfeca05937062ecf535623b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67716cfadb237ae04457f46ecf097b8370bbdd7dfeca05937062ecf535623b57", kill_on_drop: false }` [INFO] [stdout] 67716cfadb237ae04457f46ecf097b8370bbdd7dfeca05937062ecf535623b57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 928e6c6ec7ab657a9dd04f181a46d92f6517fd03975d3d4dbbb53ba3de075903 [INFO] running `Command { std: "docker" "start" "-a" "928e6c6ec7ab657a9dd04f181a46d92f6517fd03975d3d4dbbb53ba3de075903", kill_on_drop: false }` [INFO] [stderr] warning: struct `Medium` is never constructed [INFO] [stderr] --> src/shapes/medium.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct Medium { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `test_hit` are never used [INFO] [stderr] --> src/shapes/medium.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Medium { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 10 | pub fn new(shape: impl Shape + 'static, density: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Dielectric` is never constructed [INFO] [stderr] --> src/materials/dielectric.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct Dielectric { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/materials/dielectric.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Dielectric { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(refraction_index: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reflectance` is never used [INFO] [stderr] --> src/materials/dielectric.rs:35:4 [INFO] [stderr] | [INFO] [stderr] 35 | fn reflectance(cosine: f32, refraction_index: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random` is never used [INFO] [stderr] --> src/misc.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn random() -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `RayTrace` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `ray_trace` [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shapes/sphere.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord{ [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | fn _compute_hitrecord(&self, ray: &Ray, t: f32, is_front: bool) -> HitRecord<'_>{ [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shapes/sphere.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 33 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shapes/quard.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 31 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shapes/medium.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 14 | fn test_hit(&self, ray: &Ray, hit_record: &HitRecord) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shapes/medium.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 28 | fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/object.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 40 | pub fn hit(&self, ray: &Ray, interval: Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shape.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | fn hit(&self, ray: &Ray, interval: Interval) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scene.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn hit(&self, ray: &Ray, mut interval: Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `RayTrace` (lib) generated 15 warnings (run `cargo fix --lib -p RayTrace` to apply 8 suggestions) [INFO] [stderr] warning: `RayTrace` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/RayTrace-02c0146a466c52c3) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test::test_example ... ok [INFO] [stdout] test vec3::test_cross ... ok [INFO] [stdout] test vec3::test_random_unit ... ok [INFO] [stdout] test shapes::sphere::test::test_hit ... ok [INFO] [stdout] test test::test_ppm ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_ppm stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::test_ppm' (27) panicked at src/lib.rs:53:53: [INFO] [stdout] Can't create file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58df9ed2c962 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58df9ed2c962 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58df9ed2c962 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58df9ed2c962 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58df9ed3dddf - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58df9ed3dddf - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x58df9ecf9f41 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58df9ecf9f41 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58df9ed05ea2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58df9ed0a9ef - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58df9ed0a881 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x58df9ec8c99e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x58df9ec8c99e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58df9ed0b0af - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x58df9ed0b0af - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x58df9ed0af0a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x58df9ed05fd9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x58df9ecee1ed - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x58df9ed45950 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x58df9ed44f66 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stdout] 20: 0x58df9ec689ae - core::result::Result::expect::h04861880a9aafc70 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1177:23 [INFO] [stdout] 21: 0x58df9ec6a339 - RayTrace::test::test_ppm::h9130550646361423 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:53:53 [INFO] [stdout] 22: 0x58df9ec6a5a7 - RayTrace::test::test_ppm::{{closure}}::hb7c39c2c3775f90e [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:42:18 [INFO] [stdout] 23: 0x58df9ec682c6 - core::ops::function::FnOnce::call_once::h7e52e20265845c0b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x58df9ec8c75b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x58df9ec8c75b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58df9eca2245 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58df9eca2245 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x58df9eca2245 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x58df9eca2245 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x58df9eca2245 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58df9eca2245 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58df9eca2245 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58df9ec78bb4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58df9ec78bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x58df9ec7c55a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x58df9ec7c55a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x58df9ec7c55a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x58df9ec7c55a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x58df9ec7c55a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58df9ec7c55a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x58df9ec7c55a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x58df9ed0010f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x58df9ed0010f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7a4c06c30aa4 - [INFO] [stdout] 45: 0x7a4c06cbda34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_ppm [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "928e6c6ec7ab657a9dd04f181a46d92f6517fd03975d3d4dbbb53ba3de075903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928e6c6ec7ab657a9dd04f181a46d92f6517fd03975d3d4dbbb53ba3de075903", kill_on_drop: false }` [INFO] [stdout] 928e6c6ec7ab657a9dd04f181a46d92f6517fd03975d3d4dbbb53ba3de075903