[INFO] cloning repository https://github.com/josephch405/rust-raytrace-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josephch405/rust-raytrace-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 576f04c33d37ea9910c307498b3be01a68becbf3 [INFO] testing josephch405/rust-raytrace-challenge against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/josephch405/rust-raytrace-challenge [INFO] finished tweaking git repo https://github.com/josephch405/rust-raytrace-challenge [INFO] tweaked toml for git repo https://github.com/josephch405/rust-raytrace-challenge written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/josephch405/rust-raytrace-challenge on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/josephch405/rust-raytrace-challenge 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded libc v0.2.97 [INFO] [stderr] Downloaded console v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e643d9e77cbcac9a3a2506417cd4ee7e91d78c963f38020efbd77f5c32181659 [INFO] running `Command { std: "docker" "start" "-a" "e643d9e77cbcac9a3a2506417cd4ee7e91d78c963f38020efbd77f5c32181659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e643d9e77cbcac9a3a2506417cd4ee7e91d78c963f38020efbd77f5c32181659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e643d9e77cbcac9a3a2506417cd4ee7e91d78c963f38020efbd77f5c32181659", kill_on_drop: false }` [INFO] [stdout] e643d9e77cbcac9a3a2506417cd4ee7e91d78c963f38020efbd77f5c32181659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f2349ef384a50ce7526b682b691847f7c4095d501a22918bd814c2bdf9523f8 [INFO] running `Command { std: "docker" "start" "-a" "1f2349ef384a50ce7526b682b691847f7c4095d501a22918bd814c2bdf9523f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/canvas.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Canvas { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, w: u64, h: u64) -> Color { [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 `add`, `subtract`, `multiply`, and `multiply_color` are never used [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 17 | pub fn add(&self, other: Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn multiply_color(&self, c: Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I4` is never used [INFO] [stdout] --> src/matrix.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const I4: Matrix4 = [ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `mm`, `t`, `I`, `invertible`, and `eq` are never used [INFO] [stdout] --> src/matrix.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 63 | impl M4 { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 64 | pub fn mm(m1: Matrix4, m2: Matrix4) -> Matrix4 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn t(m: Matrix4) -> Matrix4 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub const I: Matrix4 = I4; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn eq(a: Matrix4, b: Matrix4) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale` is never used [INFO] [stdout] --> src/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn scale(x: f32, y: f32, z: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_x` is never used [INFO] [stdout] --> src/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn rotate_x(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_y` is never used [INFO] [stdout] --> src/matrix.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn rotate_y(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_z` is never used [INFO] [stdout] --> src/matrix.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn rotate_z(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shear` is never used [INFO] [stdout] --> src/matrix.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn shear(x_y: f32, x_z: f32, y_x: f32, y_z: f32, z_x: f32, z_y: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chain` is never used [INFO] [stdout] --> src/matrix.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn chain(ms: Vec) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `position` is never used [INFO] [stdout] --> src/ray.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 17 | pub fn position(&self, time: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/shapes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Shape { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 7 | fn intersects(&self, t: Ray) -> Vec; [INFO] [stdout] 8 | fn id(&self) -> isize; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/shapes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | transform: Matrix4, [INFO] [stdout] 15 | id: isize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sphere_unit` is never used [INFO] [stdout] --> src/shapes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sphere_unit() -> Sphere { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `t` and `object` are never read [INFO] [stdout] --> src/shapes.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Intersection<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | t: f32, [INFO] [stdout] | ^ [INFO] [stdout] 66 | object: &'a dyn Shape, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intersection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit` is never used [INFO] [stdout] --> src/shapes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn hit(intersections: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `negate`, `multiply`, `divide`, and `cross` are never used [INFO] [stdout] --> src/tuple.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tuple { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn add(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn multiply(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn cross(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | fn intersects(&self, t: Ray) -> Vec; [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] 7 | fn intersects(&self, t: Ray) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn intersects(&self, r: Ray) -> Vec { [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] 36 | fn intersects(&self, r: Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "1f2349ef384a50ce7526b682b691847f7c4095d501a22918bd814c2bdf9523f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2349ef384a50ce7526b682b691847f7c4095d501a22918bd814c2bdf9523f8", kill_on_drop: false }` [INFO] [stdout] 1f2349ef384a50ce7526b682b691847f7c4095d501a22918bd814c2bdf9523f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b7f2766316b122536b1d5caa9df1bf0b70a40752a69a372e825c99694afa3c [INFO] running `Command { std: "docker" "start" "-a" "f7b7f2766316b122536b1d5caa9df1bf0b70a40752a69a372e825c99694afa3c", kill_on_drop: false }` [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `add`, `subtract`, and `multiply` are never used [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 17 | pub fn add(&self, other: Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn multiply(&self, k: f32) -> Color { [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 function `invertible` is never used [INFO] [stdout] --> src/matrix.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 63 | impl M4 { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `negate` and `divide` are never used [INFO] [stdout] --> src/tuple.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tuple { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | fn intersects(&self, t: Ray) -> Vec; [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] 7 | fn intersects(&self, t: Ray) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shapes.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn intersects(&self, r: Ray) -> Vec { [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] 36 | fn intersects(&self, r: Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "f7b7f2766316b122536b1d5caa9df1bf0b70a40752a69a372e825c99694afa3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b7f2766316b122536b1d5caa9df1bf0b70a40752a69a372e825c99694afa3c", kill_on_drop: false }` [INFO] [stdout] f7b7f2766316b122536b1d5caa9df1bf0b70a40752a69a372e825c99694afa3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d523287ebfbd1e1c1294d6e319aa68619e4fc63a99c054f5877cb71077c2ba42 [INFO] running `Command { std: "docker" "start" "-a" "d523287ebfbd1e1c1294d6e319aa68619e4fc63a99c054f5877cb71077c2ba42", kill_on_drop: false }` [INFO] [stderr] warning: methods `add`, `subtract`, and `multiply` are never used [INFO] [stderr] --> src/color.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Color { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 17 | pub fn add(&self, other: Color) -> Color { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `invertible` is never used [INFO] [stderr] --> src/matrix.rs:113:16 [INFO] [stderr] | [INFO] [stderr] 63 | impl M4 { [INFO] [stderr] | ------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `negate` and `divide` are never used [INFO] [stderr] --> src/tuple.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Tuple { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn negate(&self) -> Tuple { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shapes.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | fn intersects(&self, t: Ray) -> Vec; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 7 | fn intersects(&self, t: Ray) -> Vec>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shapes.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | fn intersects(&self, r: Ray) -> Vec { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | fn intersects(&self, r: Ray) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `raytrace` (bin "raytrace" test) generated 5 warnings (run `cargo fix --bin "raytrace" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytrace-7222ee2e3d45af20) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test canvas::canvas_tests::empty_canvas ... ok [INFO] [stdout] test canvas::canvas_tests::line_limit ... ok [INFO] [stdout] test canvas::canvas_tests::ppm ... ok [INFO] [stdout] test canvas::canvas_tests::write_canvas ... ok [INFO] [stdout] test color::color_tests::mult_color ... ok [INFO] [stdout] test matrix::matrix_tests::chain_test ... ok [INFO] [stdout] test matrix::matrix_tests::cofactor ... ok [INFO] [stdout] test matrix::matrix_tests::det ... ok [INFO] [stdout] test matrix::matrix_tests::dne ... ok [INFO] [stdout] test matrix::matrix_tests::eq ... ok [INFO] [stdout] test matrix::matrix_tests::id_test ... ok [INFO] [stdout] test matrix::matrix_tests::minor ... ok [INFO] [stdout] test matrix::matrix_tests::mm4_test ... ok [INFO] [stdout] test matrix::matrix_tests::inverse ... ok [INFO] [stdout] test matrix::matrix_tests::reflect ... ok [INFO] [stdout] test matrix::matrix_tests::rot ... ok [INFO] [stdout] test matrix::matrix_tests::shear_test ... ok [INFO] [stdout] test matrix::matrix_tests::scale_test ... ok [INFO] [stdout] test matrix::matrix_tests::sub ... ok [INFO] [stdout] test matrix::matrix_tests::transpose ... ok [INFO] [stdout] test matrix::matrix_tests::translate ... ok [INFO] [stdout] test ray::matrix_tests::ray_scale ... ok [INFO] [stdout] test ray::matrix_tests::ray_test ... ok [INFO] [stdout] test ray::matrix_tests::ray_translate ... ok [INFO] [stdout] test shapes::sphere_tests::hit_tests ... ok [INFO] [stdout] test shapes::sphere_tests::intersect_test ... ok [INFO] [stdout] test shapes::sphere_tests::sphere_test_1 ... ok [INFO] [stdout] test shapes::sphere_tests::sphere_test_2 ... ok [INFO] [stdout] test shapes::sphere_tests::sphere_test_3 ... ok [INFO] [stdout] test shapes::sphere_tests::sphere_test_4 ... ok [INFO] [stdout] test shapes::sphere_tests::sphere_transform_intersect_test ... ok [INFO] [stdout] test shapes::sphere_tests::sphere_transform_intersect_test_2 ... ok [INFO] [stdout] test tuple::tuple_tests::norm ... ok [INFO] [stdout] test tuple::tuple_tests::subtract_vec_from_pt ... ok [INFO] [stdout] test tuple::tuple_tests::subtract_vec ... ok [INFO] [stdout] test shapes::sphere_tests::sphere_test_5 ... ok [INFO] [stdout] test tuple::tuple_tests::unit ... ok [INFO] [stdout] test tuple::tuple_tests::dot ... ok [INFO] [stdout] test tuple::tuple_tests::cross ... ok [INFO] [stdout] test tuple::tuple_tests::equality ... ok [INFO] [stdout] test tuple::tuple_tests::subtract_points ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d523287ebfbd1e1c1294d6e319aa68619e4fc63a99c054f5877cb71077c2ba42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d523287ebfbd1e1c1294d6e319aa68619e4fc63a99c054f5877cb71077c2ba42", kill_on_drop: false }` [INFO] [stdout] d523287ebfbd1e1c1294d6e319aa68619e4fc63a99c054f5877cb71077c2ba42