[INFO] cloning repository https://github.com/brent-soles/raytracing-one-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brent-soles/raytracing-one-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrent-soles%2Fraytracing-one-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrent-soles%2Fraytracing-one-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c23df0e96784d3dbf7f61b5c52d1605cb91c786f [INFO] checking brent-soles/raytracing-one-weekend against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrent-soles%2Fraytracing-one-weekend" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brent-soles/raytracing-one-weekend on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brent-soles/raytracing-one-weekend [INFO] finished tweaking git repo https://github.com/brent-soles/raytracing-one-weekend [INFO] tweaked toml for git repo https://github.com/brent-soles/raytracing-one-weekend written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/brent-soles/raytracing-one-weekend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01a24ad38c5db95735b9d1a9a6f84fadeed79ac41099db7ad5f08f159bad29ba [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "01a24ad38c5db95735b9d1a9a6f84fadeed79ac41099db7ad5f08f159bad29ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a24ad38c5db95735b9d1a9a6f84fadeed79ac41099db7ad5f08f159bad29ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a24ad38c5db95735b9d1a9a6f84fadeed79ac41099db7ad5f08f159bad29ba", kill_on_drop: false }` [INFO] [stdout] 01a24ad38c5db95735b9d1a9a6f84fadeed79ac41099db7ad5f08f159bad29ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f845a3c5c4610b18b4dc6bb6fa62bd85f1baaee15617a2f7de87a3addbc238f3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f845a3c5c4610b18b4dc6bb6fa62bd85f1baaee15617a2f7de87a3addbc238f3", kill_on_drop: false }` [INFO] [stderr] Checking raytracing-one-weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `three::color3::ColorRGB` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use three::color3::ColorRGB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `three::vector3::Vector` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use three::vector3::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ray_engine/camera.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ray_engine/ray.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /** [INFO] [stdout] 24 | | * From the given unit vectors, construct a quadratic [INFO] [stdout] 25 | | * equation to determine if there exists a surface in the [INFO] [stdout] 26 | | * path of the given ray. [INFO] [stdout] ... | [INFO] [stdout] 31 | | * of the camera/sphere center difference and the ray direction [INFO] [stdout] 32 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 33 | let camera_sphere_delta = ray.origin.sub(&sphere.center); [INFO] [stdout] | --------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ray_engine/ray.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if (t > 0.0) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `three::color3::ColorRGB` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use three::color3::ColorRGB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `three::vector3::Vector` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use three::vector3::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ray_engine/ray.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /** [INFO] [stdout] 24 | | * From the given unit vectors, construct a quadratic [INFO] [stdout] 25 | | * equation to determine if there exists a surface in the [INFO] [stdout] 26 | | * path of the given ray. [INFO] [stdout] ... | [INFO] [stdout] 31 | | * of the camera/sphere center difference and the ray direction [INFO] [stdout] 32 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 33 | let camera_sphere_delta = ray.origin.sub(&sphere.center); [INFO] [stdout] | --------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ray_engine/ray.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if (t > 0.0) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `llc` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let llc = cam.lower_left_corner.copy(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_llc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rgb` [INFO] [stdout] --> src/main.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let rgb = ray.to_rgb(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut cam = Camera::create(asp_ratio, img_w, view_h, focal_l); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/three/color3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> ColorRGB { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/three/point3.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/three/point3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `llc` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let llc = cam.lower_left_corner.copy(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_llc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/three/point3.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create(x: f64, y: f64, z: f64) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/three/vector3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ray_engine/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new() -> Camera { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ray_engine/ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new() -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shapes/sphere.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rgb` [INFO] [stdout] --> src/main.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let rgb = ray.to_rgb(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view_w` [INFO] [stdout] --> src/ray_engine/camera.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let view_w = view_h * asp_ratio; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_view_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut cam = Camera::create(asp_ratio, img_w, view_h, focal_l); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/three/color3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> ColorRGB { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/three/point3.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/three/point3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/three/point3.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create(x: f64, y: f64, z: f64) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/three/vector3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ray_engine/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new() -> Camera { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ray_engine/ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new() -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shapes/sphere.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "f845a3c5c4610b18b4dc6bb6fa62bd85f1baaee15617a2f7de87a3addbc238f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f845a3c5c4610b18b4dc6bb6fa62bd85f1baaee15617a2f7de87a3addbc238f3", kill_on_drop: false }` [INFO] [stdout] f845a3c5c4610b18b4dc6bb6fa62bd85f1baaee15617a2f7de87a3addbc238f3