[INFO] cloning repository https://github.com/praffn/rusty-rays [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/praffn/rusty-rays" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c5cb8558434345b23e6eb2002c58495c7862698 [INFO] checking praffn/rusty-rays against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/praffn/rusty-rays [INFO] finished tweaking git repo https://github.com/praffn/rusty-rays [INFO] tweaked toml for git repo https://github.com/praffn/rusty-rays written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/praffn/rusty-rays on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/praffn/rusty-rays 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] [stderr] Downloaded num-rational v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82f0f3426b52946359ee117b4a15c4342636df184b61f19ac44857050cf69a00 [INFO] running `Command { std: "docker" "start" "-a" "82f0f3426b52946359ee117b4a15c4342636df184b61f19ac44857050cf69a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82f0f3426b52946359ee117b4a15c4342636df184b61f19ac44857050cf69a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f0f3426b52946359ee117b4a15c4342636df184b61f19ac44857050cf69a00", kill_on_drop: false }` [INFO] [stdout] 82f0f3426b52946359ee117b4a15c4342636df184b61f19ac44857050cf69a00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e25128a733d037355f2a8da27a06281c7956506aff0cfcabcf80c4d21605c936 [INFO] running `Command { std: "docker" "start" "-a" "e25128a733d037355f2a8da27a06281c7956506aff0cfcabcf80c4d21605c936", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking rusty-rays v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PinholeCameraConfig` [INFO] [stdout] --> src/film/mod.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | pub use pinhole_camera::{PinholeCamera, PinholeCameraConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ray` [INFO] [stdout] --> src/light/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::linalg::{Point3, Ray, Vec3}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_approx_eq::assert_approx_eq` [INFO] [stdout] --> src/light/point_light.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use assert_approx_eq::assert_approx_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mat::Material` [INFO] [stdout] --> src/geom/scene.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::mat::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `green`, `normalize`, and `clamp_mut` are never used [INFO] [stdout] --> src/film/color.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn normalize(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn clamp_mut(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dimensions` and `zoom` are never used [INFO] [stdout] --> src/film/pinhole_camera.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PinholeCameraBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn dimensions(&mut self, width: f32, height: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn zoom(&mut self, zoom: f32) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_point` is never used [INFO] [stdout] --> src/linalg/orthonormal_base.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl OrthonormalBase { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn apply_point(&self, p: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geom/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | fn hit(&self, ray: &Ray) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 17 | fn hit(&self, ray: &Ray) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geom/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 21 | fn hit(&self, ray: &Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geom/sphere.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn hit(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 22 | fn hit(&self, ray: &Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PinholeCameraConfig` [INFO] [stdout] --> src/film/mod.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | pub use pinhole_camera::{PinholeCamera, PinholeCameraConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mat` [INFO] [stdout] --> src/geom/sphere.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geom::{mat, Material}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/geom/sphere.rs:3:79 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::linalg::{smallest_greater_than_zero, solve_quadratic, Point3, Ray, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ray` [INFO] [stdout] --> src/light/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::linalg::{Point3, Ray, Vec3}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mat::Material` [INFO] [stdout] --> src/geom/scene.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::mat::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/film/color.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn clamp(x: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.02s [INFO] [stdout] warning: associated items `green`, `normalize`, `clamp`, and `clamp_mut` are never used [INFO] [stdout] --> src/film/color.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn normalize(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn clamp(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn clamp_mut(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dimensions` and `zoom` are never used [INFO] [stdout] --> src/film/pinhole_camera.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PinholeCameraBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn dimensions(&mut self, width: f32, height: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn zoom(&mut self, zoom: f32) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugMaterial` is never constructed [INFO] [stdout] --> src/geom/mat.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct DebugMaterial {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geom/mat.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl DebugMaterial { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 65 | pub fn new() -> DebugMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_vector` and `apply_point` are never used [INFO] [stdout] --> src/linalg/orthonormal_base.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl OrthonormalBase { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn apply_vector(&self, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn apply_point(&self, p: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geom/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | fn hit(&self, ray: &Ray) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 17 | fn hit(&self, ray: &Ray) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geom/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 21 | fn hit(&self, ray: &Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geom/sphere.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn hit(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 22 | fn hit(&self, ray: &Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e25128a733d037355f2a8da27a06281c7956506aff0cfcabcf80c4d21605c936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25128a733d037355f2a8da27a06281c7956506aff0cfcabcf80c4d21605c936", kill_on_drop: false }` [INFO] [stdout] e25128a733d037355f2a8da27a06281c7956506aff0cfcabcf80c4d21605c936