[INFO] cloning repository https://github.com/jmwind/rtracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmwind/rtracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmwind%2Frtracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmwind%2Frtracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70bbb63ed70dba9505ffb2d330242c252114d611 [INFO] checking jmwind/rtracer against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmwind%2Frtracer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmwind/rtracer on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmwind/rtracer [INFO] finished tweaking git repo https://github.com/jmwind/rtracer [INFO] tweaked toml for git repo https://github.com/jmwind/rtracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jmwind/rtracer 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e76842e9382a43f00443e956da3412075b2f49468cd72bf9cfba281912ea0396 [INFO] running `Command { std: "docker" "start" "-a" "e76842e9382a43f00443e956da3412075b2f49468cd72bf9cfba281912ea0396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e76842e9382a43f00443e956da3412075b2f49468cd72bf9cfba281912ea0396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76842e9382a43f00443e956da3412075b2f49468cd72bf9cfba281912ea0396", kill_on_drop: false }` [INFO] [stdout] e76842e9382a43f00443e956da3412075b2f49468cd72bf9cfba281912ea0396 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdbdb699a2471690e7d6ac7e4c0c491e85d627a68e5f936494b18f429da64c58 [INFO] running `Command { std: "docker" "start" "-a" "cdbdb699a2471690e7d6ac7e4c0c491e85d627a68e5f936494b18f429da64c58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking rtracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `vector` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `ray` [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | macro_rules! ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rotation_x` [INFO] [stdout] --> src/main.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | macro_rules! rotation_x { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rotation_y` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | macro_rules! rotation_y { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `scaling` [INFO] [stdout] --> src/main.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | macro_rules! scaling { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `translation` [INFO] [stdout] --> src/main.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | macro_rules! translation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `intersection` [INFO] [stdout] --> src/main.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | macro_rules! intersection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rotation_y` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | macro_rules! rotation_y { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | fn empty(c: &Canvas) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/main.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ray` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_transform` and `intersect` are never used [INFO] [stdout] --> src/main.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 95 | trait SceneObject { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 96 | fn get_id(&self) -> usize; [INFO] [stdout] 97 | fn set_transform(&mut self, matrix: Matrix); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 98 | fn intersect(self: Box, ray: Ray) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/main.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intersection` is never constructed [INFO] [stdout] --> src/main.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | struct Intersection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intersections` is never constructed [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct Intersections { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COUNTER` is never used [INFO] [stdout] --> src/main.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | static COUNTER: AtomicUsize = AtomicUsize::new(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id` is never used [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_id() -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl Intersection { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new(t: f64, object: Box) -> Intersection { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hit`, and `add` are never used [INFO] [stdout] --> src/main.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl Intersections { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 171 | pub fn new() -> Intersections { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn hit(&mut self) -> &Intersection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn add(&mut self, i: Intersection) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 198 | pub fn new() -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `position`, and `transform` are never used [INFO] [stdout] --> src/main.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 209 | pub fn new(origin: Tupple, direction: Tupple) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn position(&self, distance: f64) -> Tupple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn transform(&self, matrix: &Matrix) -> Ray { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 670 | impl Tupple { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 671 | pub fn vector(x: f64, y: f64, z: f64) -> Tupple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn add(&mut self, _other: &Tupple) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 709 | pub fn sub(&mut self, _other: &Tupple) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | pub fn sub_r(&self, _other: &Tupple) -> Tupple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 730 | pub fn mul(&mut self, factor: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | pub fn negate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | pub fn negate_r(&self) -> Tupple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | pub fn magnitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | pub fn normalize(&self) -> Tupple { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | pub fn dot(&self, _other: &Tupple) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 776 | pub fn cross(&self, _other: &Tupple) -> Tupple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `mul` are never used [INFO] [stdout] --> src/main.rs:798:12 [INFO] [stdout] | [INFO] [stdout] 796 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 797 | // color base 0..1, use new_from_255 for other based initializer [INFO] [stdout] 798 | pub fn new(r: f32, g: f32, b: f32) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn add(&self, _other: &Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | pub fn mul(&self, _other: &Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | fn empty(c: &Canvas) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 108 | struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | pub radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `negate_r` is never used [INFO] [stdout] --> src/main.rs:753:12 [INFO] [stdout] | [INFO] [stdout] 670 | impl Tupple { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 753 | pub fn negate_r(&self) -> Tupple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/main.rs:819:12 [INFO] [stdout] | [INFO] [stdout] 796 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn add(&self, _other: &Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.61s [INFO] running `Command { std: "docker" "inspect" "cdbdb699a2471690e7d6ac7e4c0c491e85d627a68e5f936494b18f429da64c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdbdb699a2471690e7d6ac7e4c0c491e85d627a68e5f936494b18f429da64c58", kill_on_drop: false }` [INFO] [stdout] cdbdb699a2471690e7d6ac7e4c0c491e85d627a68e5f936494b18f429da64c58