[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 try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/praffn/rusty-rays on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2068a91ae9203cc482f8829476d37d7a4d41685b3afafa39f3e134683eddadbb [INFO] running `Command { std: "docker" "start" "-a" "2068a91ae9203cc482f8829476d37d7a4d41685b3afafa39f3e134683eddadbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2068a91ae9203cc482f8829476d37d7a4d41685b3afafa39f3e134683eddadbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2068a91ae9203cc482f8829476d37d7a4d41685b3afafa39f3e134683eddadbb", kill_on_drop: false }` [INFO] [stdout] 2068a91ae9203cc482f8829476d37d7a4d41685b3afafa39f3e134683eddadbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c2774ac113b4ba07a4fc71db3307b2088574792427fe1f50e1beae4b095a55 [INFO] running `Command { std: "docker" "start" "-a" "e6c2774ac113b4ba07a4fc71db3307b2088574792427fe1f50e1beae4b095a55", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [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] Compiling num-iter v0.1.42 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking png v0.16.7 [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)]` 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: `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)]` 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.66s [INFO] running `Command { std: "docker" "inspect" "e6c2774ac113b4ba07a4fc71db3307b2088574792427fe1f50e1beae4b095a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c2774ac113b4ba07a4fc71db3307b2088574792427fe1f50e1beae4b095a55", kill_on_drop: false }` [INFO] [stdout] e6c2774ac113b4ba07a4fc71db3307b2088574792427fe1f50e1beae4b095a55