[INFO] cloning repository https://github.com/mcarolan/rusty-ray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcarolan/rusty-ray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcarolan%2Frusty-ray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcarolan%2Frusty-ray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe5bd58d6ae69effdb61acb18b7f69d8abbda3cf [INFO] checking mcarolan/rusty-ray against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcarolan%2Frusty-ray" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mcarolan/rusty-ray [INFO] finished tweaking git repo https://github.com/mcarolan/rusty-ray [INFO] tweaked toml for git repo https://github.com/mcarolan/rusty-ray written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mcarolan/rusty-ray 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/mcarolan/rusty-ray 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9538d5833e13221d8354c8f902bef68001783f96a87d01efbf1ce9f75218d12c [INFO] running `Command { std: "docker" "start" "-a" "9538d5833e13221d8354c8f902bef68001783f96a87d01efbf1ce9f75218d12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9538d5833e13221d8354c8f902bef68001783f96a87d01efbf1ce9f75218d12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9538d5833e13221d8354c8f902bef68001783f96a87d01efbf1ce9f75218d12c", kill_on_drop: false }` [INFO] [stdout] 9538d5833e13221d8354c8f902bef68001783f96a87d01efbf1ce9f75218d12c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5e908085a9affb31edfe09049f81a611e303b870fdf0ac2feb159b826a372ee7 [INFO] running `Command { std: "docker" "start" "-a" "5e908085a9affb31edfe09049f81a611e303b870fdf0ac2feb159b826a372ee7", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rusty-ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated constants `DEFAULT_SPECULAR`, `DEFAULT_DIFFUSE`, and `DEFAULT` are never used [INFO] [stdout] --> src/lighting.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl Material { [INFO] [stdout] | ------------- associated constants in this implementation [INFO] [stdout] 19 | pub const DEFAULT_AMBIENT: f64 = 0.1; [INFO] [stdout] 20 | pub const DEFAULT_SPECULAR: f64 = 0.9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub const DEFAULT_DIFFUSE: f64 = 0.9; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub const DEFAULT: Material = Material { [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 constants `SPHERE` and `PLANE` are never used [INFO] [stdout] --> src/object.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 19 | impl Object { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 20 | pub const SPHERE: Object = Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const PLANE: Object = Object { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `WHITE` is never used [INFO] [stdout] --> src/pattern.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl Pattern { [INFO] [stdout] | ------------ associated constant in this implementation [INFO] [stdout] 31 | pub const WHITE: Pattern = Pattern::Constant { value: Color::WHITE }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `objects` is never used [INFO] [stdout] --> src/world.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn objects(&self, objects: Vec) -> World { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn object_intersect(&self, ray: &crate::ray::Ray) -> crate::ray::Intersections { [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] 49 | pub fn object_intersect(&self, ray: &crate::ray::Ray) -> crate::ray::Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ray.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn hit(&self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 56 | pub fn hit(&self) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn intersect(&self, ray: &Ray) -> Intersections { [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] 39 | pub fn intersect(&self, ray: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `objects` is never used [INFO] [stdout] --> src/world.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn objects(&self, objects: Vec) -> World { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn object_intersect(&self, ray: &crate::ray::Ray) -> crate::ray::Intersections { [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] 49 | pub fn object_intersect(&self, ray: &crate::ray::Ray) -> crate::ray::Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ray.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn hit(&self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 56 | pub fn hit(&self) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn intersect(&self, ray: &Ray) -> Intersections { [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] 39 | pub fn intersect(&self, ray: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "5e908085a9affb31edfe09049f81a611e303b870fdf0ac2feb159b826a372ee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e908085a9affb31edfe09049f81a611e303b870fdf0ac2feb159b826a372ee7", kill_on_drop: false }` [INFO] [stdout] 5e908085a9affb31edfe09049f81a611e303b870fdf0ac2feb159b826a372ee7