[INFO] cloning repository https://github.com/taraka/raytracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taraka/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fraytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fraytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a4f9e0b14979b60c68f8fe60e95b5bae54c5471
[INFO] checking taraka/raytracer against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fraytracer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/taraka/raytracer
[INFO] finished tweaking git repo https://github.com/taraka/raytracer
[INFO] tweaked toml for git repo https://github.com/taraka/raytracer written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/taraka/raytracer on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/taraka/raytracer 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.2.7
[INFO] [stderr]   Downloaded uuid v1.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da564d8876427319a6bfb35f37db4aca53e33d9cae5e9d08db81808bed0b44ae
[INFO] running `Command { std: "docker" "start" "-a" "da564d8876427319a6bfb35f37db4aca53e33d9cae5e9d08db81808bed0b44ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da564d8876427319a6bfb35f37db4aca53e33d9cae5e9d08db81808bed0b44ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da564d8876427319a6bfb35f37db4aca53e33d9cae5e9d08db81808bed0b44ae", kill_on_drop: false }`
[INFO] [stdout] da564d8876427319a6bfb35f37db4aca53e33d9cae5e9d08db81808bed0b44ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 362dc3ac85a61f7b79034cccf16bb0179aea74270d4e4a4b76d4e21d55556ec7
[INFO] running `Command { std: "docker" "start" "-a" "362dc3ac85a61f7b79034cccf16bb0179aea74270d4e4a4b76d4e21d55556ec7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking uuid v1.1.2
[INFO] [stderr]     Checking raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::FP`
[INFO] [stdout]  --> src/pattern/checkers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::FP;
[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: `crate::shape::Shape`
[INFO] [stdout]  --> src/ray.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::shape::Shape;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::FP`
[INFO] [stdout]  --> src/pattern/checkers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::FP;
[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: `crate::shape::Shape`
[INFO] [stdout]  --> src/ray.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::shape::Shape;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/shape/mod.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Shapes::Sphere(s) => Sphere::local_intersect(self.clone(), &local_ray),
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/shape/mod.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Shapes::Plane(s) => Plane::local_intersect(self.clone(), &local_ray),
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/shape/mod.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Shapes::Test(s) => TestShape::local_intersect(self.clone(), &local_ray),
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TestShape` is more private than the item `Shapes::Test::0`
[INFO] [stdout]   --> src/shape/mod.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |     Test(TestShape),
[INFO] [stdout]    |          ^^^^^^^^^ field `Shapes::Test::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TestShape` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/shape/mod.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct TestShape {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fov` is never read
[INFO] [stdout]   --> src/camera.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fov: FP,
[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 `pixel_at` and `fill` are never used
[INFO] [stdout]   --> src/canvas.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Canvas {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn fill(&mut self, c: Color) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `red`, `green`, `blue`, `is_black`, and `is_white` are never used
[INFO] [stdout]   --> src/color.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Color {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn red() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn green() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn blue() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn is_black(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn is_white(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read
[INFO] [stdout]   --> src/intersection.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Computations {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 18 |     pub t: FP,
[INFO] [stdout]    |         ^
[INFO] [stdout] 19 |     pub obj: Shape,
[INFO] [stdout] 20 |     pub point: Tuple,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub inside: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/intersection.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl Intersections {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotation_z` and `shearing` are never used
[INFO] [stdout]    --> src/matrix.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl Matrix4 {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn rotation_z(r: FP) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn shearing(xy: FP, xz: FP, yx: FP, yz: FP, zx: FP, zy: FP) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotation_z` is never used
[INFO] [stdout]    --> src/matrix.rs:303:8
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub fn rotation_z(r: FP) -> Matrix4 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shearing` is never used
[INFO] [stdout]    --> src/matrix.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn shearing(xy: FP, xz: FP, yx: FP, yz: FP, zx: FP, zy: FP) -> Matrix4 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `gradient` is never used
[INFO] [stdout]   --> src/pattern/mod.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Pattern {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn gradient(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gradient` is never constructed
[INFO] [stdout]   --> src/pattern/mod.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub enum Patterns {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 84 |     Gradient(Gradient),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Patterns` 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: associated function `new` is never used
[INFO] [stdout]   --> src/pattern/gradient.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Gradient {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `test` and `get_id` are never used
[INFO] [stdout]   --> src/shape/mod.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Shape {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn test() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn get_id(&self) -> Uuid {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Test` is never constructed
[INFO] [stdout]   --> src/shape/mod.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub enum Shapes {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 79 |     Test(TestShape),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Shapes` 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: associated function `new` is never used
[INFO] [stdout]   --> src/shape/mod.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl TestShape {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 86 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_point` and `is_vector` are never used
[INFO] [stdout]   --> src/tuple.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Tuple {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn is_point(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn is_vector(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `origin` is never used
[INFO] [stdout]    --> src/tuple.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub fn origin() -> Tuple {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `default` and `add` are never used
[INFO] [stdout]   --> src/world.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl World {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn default() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn add(&mut self, s: Shape) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `m`
[INFO] [stdout]    --> src/shape/sphere.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut m = Material::new();
[INFO] [stdout]     |             ----- move occurs because `m` has type `material::Material`, which does not implement the `Copy` trait
[INFO] [stdout] 110 |         m.ambient = 1.0;
[INFO] [stdout] 111 |         s.material = m;
[INFO] [stdout]     |                      - value moved here
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |         assert_eq!(m, s.material);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 111 |         s.material = m.clone();
[INFO] [stdout]     |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/shape/mod.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Shapes::Sphere(s) => Sphere::local_intersect(self.clone(), &local_ray),
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/shape/mod.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Shapes::Plane(s) => Plane::local_intersect(self.clone(), &local_ray),
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/shape/mod.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Shapes::Test(s) => TestShape::local_intersect(self.clone(), &local_ray),
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "362dc3ac85a61f7b79034cccf16bb0179aea74270d4e4a4b76d4e21d55556ec7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "362dc3ac85a61f7b79034cccf16bb0179aea74270d4e4a4b76d4e21d55556ec7", kill_on_drop: false }`
[INFO] [stdout] 362dc3ac85a61f7b79034cccf16bb0179aea74270d4e4a4b76d4e21d55556ec7
