[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrent-soles%2Fraytracing-one-weekend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brent-soles/raytracing-one-weekend on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59aacddea942e521d51d3139323845431c8479d05030933d8b6d32a14bf9d7d6 [INFO] running `Command { std: "docker" "start" "-a" "59aacddea942e521d51d3139323845431c8479d05030933d8b6d32a14bf9d7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59aacddea942e521d51d3139323845431c8479d05030933d8b6d32a14bf9d7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59aacddea942e521d51d3139323845431c8479d05030933d8b6d32a14bf9d7d6", kill_on_drop: false }` [INFO] [stdout] 59aacddea942e521d51d3139323845431c8479d05030933d8b6d32a14bf9d7d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52530cf5c691477c57a301b03da2bc6b3b29b4cfc547ee59a3f67d32d7829eb2 [INFO] running `Command { std: "docker" "start" "-a" "52530cf5c691477c57a301b03da2bc6b3b29b4cfc547ee59a3f67d32d7829eb2", kill_on_drop: false }` [INFO] [stderr] Checking bytes v0.5.4 [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] = help: use `/* */` for a plain comment [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if (t > 0.0) { [INFO] [stdout] 70 + if t > 0.0 { [INFO] [stdout] | [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] = help: use `/* */` for a plain comment [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if (t > 0.0) { [INFO] [stdout] 70 + if t > 0.0 { [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: 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 `new` is never used [INFO] [stdout] --> src/three/color3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ColorRGB { [INFO] [stdout] | ------------- associated function in this implementation [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 `Point` is never constructed [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 functions `new` and `create` are never used [INFO] [stdout] --> src/three/point3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Point { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new() -> Point { [INFO] [stdout] | ^^^ [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 `new` is never used [INFO] [stdout] --> src/three/vector3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aspect_ratio`, `viewport_height`, `viewport_width`, and `focal_length` are never read [INFO] [stdout] --> src/ray_engine/camera.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub viewport_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub viewport_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub focal_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Camera { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 50 | pub fn new() -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shapes/sphere.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [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] = note: `#[warn(unused_variables)]` 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] [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 `new` is never used [INFO] [stdout] --> src/three/color3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ColorRGB { [INFO] [stdout] | ------------- associated function in this implementation [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 `Point` is never constructed [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 functions `new` and `create` are never used [INFO] [stdout] --> src/three/point3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Point { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new() -> Point { [INFO] [stdout] | ^^^ [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 `new` is never used [INFO] [stdout] --> src/three/vector3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aspect_ratio`, `viewport_height`, `viewport_width`, and `focal_length` are never read [INFO] [stdout] --> src/ray_engine/camera.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub viewport_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub viewport_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub focal_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Camera { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 50 | pub fn new() -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shapes/sphere.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [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` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "52530cf5c691477c57a301b03da2bc6b3b29b4cfc547ee59a3f67d32d7829eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52530cf5c691477c57a301b03da2bc6b3b29b4cfc547ee59a3f67d32d7829eb2", kill_on_drop: false }` [INFO] [stdout] 52530cf5c691477c57a301b03da2bc6b3b29b4cfc547ee59a3f67d32d7829eb2 [INFO] checking brent-soles/raytracing-one-weekend against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrent-soles%2Fraytracing-one-weekend" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brent-soles/raytracing-one-weekend on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6707ad46c8ef344e7f88151f43e5311b8622d1258e7c3469a8f90f7d4eec26d4 [INFO] running `Command { std: "docker" "start" "-a" "6707ad46c8ef344e7f88151f43e5311b8622d1258e7c3469a8f90f7d4eec26d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6707ad46c8ef344e7f88151f43e5311b8622d1258e7c3469a8f90f7d4eec26d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6707ad46c8ef344e7f88151f43e5311b8622d1258e7c3469a8f90f7d4eec26d4", kill_on_drop: false }` [INFO] [stdout] 6707ad46c8ef344e7f88151f43e5311b8622d1258e7c3469a8f90f7d4eec26d4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c98a51b9f5e0f0ccf0c5b9d682cf3f95bc1091444094b604a5ff78171075d9 [INFO] running `Command { std: "docker" "start" "-a" "10c98a51b9f5e0f0ccf0c5b9d682cf3f95bc1091444094b604a5ff78171075d9", kill_on_drop: false }` [INFO] [stderr] Checking bytes v0.5.4 [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] = help: use `/* */` for a plain comment [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if (t > 0.0) { [INFO] [stdout] 70 + if t > 0.0 { [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: 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 `new` is never used [INFO] [stdout] --> src/three/color3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ColorRGB { [INFO] [stdout] | ------------- associated function in this implementation [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 `Point` is never constructed [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 functions `new` and `create` are never used [INFO] [stdout] --> src/three/point3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Point { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new() -> Point { [INFO] [stdout] | ^^^ [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 `new` is never used [INFO] [stdout] --> src/three/vector3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aspect_ratio`, `viewport_height`, `viewport_width`, and `focal_length` are never read [INFO] [stdout] --> src/ray_engine/camera.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub viewport_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub viewport_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub focal_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Camera { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 50 | pub fn new() -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shapes/sphere.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [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] = help: use `/* */` for a plain comment [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if (t > 0.0) { [INFO] [stdout] 70 + if t > 0.0 { [INFO] [stdout] | [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] = note: `#[warn(unused_variables)]` 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] [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 `new` is never used [INFO] [stdout] --> src/three/color3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ColorRGB { [INFO] [stdout] | ------------- associated function in this implementation [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 `Point` is never constructed [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 functions `new` and `create` are never used [INFO] [stdout] --> src/three/point3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Point { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new() -> Point { [INFO] [stdout] | ^^^ [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 `new` is never used [INFO] [stdout] --> src/three/vector3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aspect_ratio`, `viewport_height`, `viewport_width`, and `focal_length` are never read [INFO] [stdout] --> src/ray_engine/camera.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub viewport_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub viewport_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub focal_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Camera { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray_engine/ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 50 | pub fn new() -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shapes/sphere.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [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` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "10c98a51b9f5e0f0ccf0c5b9d682cf3f95bc1091444094b604a5ff78171075d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c98a51b9f5e0f0ccf0c5b9d682cf3f95bc1091444094b604a5ff78171075d9", kill_on_drop: false }` [INFO] [stdout] 10c98a51b9f5e0f0ccf0c5b9d682cf3f95bc1091444094b604a5ff78171075d9