[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] 40be2701aecb972af8a95484dfca41bed440f586 [INFO] checking josephch405/rust-raytrace-challenge against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/josephch405/rust-raytrace-challenge on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/josephch405/rust-raytrace-challenge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e7f446bf781583d983b8d77a21fbcc190cd6de61916dc403125a37656b01a7ab [INFO] running `Command { std: "docker" "start" "-a" "e7f446bf781583d983b8d77a21fbcc190cd6de61916dc403125a37656b01a7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f446bf781583d983b8d77a21fbcc190cd6de61916dc403125a37656b01a7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f446bf781583d983b8d77a21fbcc190cd6de61916dc403125a37656b01a7ab", kill_on_drop: false }` [INFO] [stdout] e7f446bf781583d983b8d77a21fbcc190cd6de61916dc403125a37656b01a7ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d771867cd9b5ef7a91b19d6daaa4e183794a016f8352ee3fa102e36746bc0ad [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" "8d771867cd9b5ef7a91b19d6daaa4e183794a016f8352ee3fa102e36746bc0ad", kill_on_drop: false }` [INFO] [stderr] Checking raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/color.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add(&self, other: Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtract` [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/color.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invertible` [INFO] [stdout] --> src/matrix.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/tuple.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divide` [INFO] [stdout] --> src/tuple.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/canvas.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get(&self, w: i32, h: i32) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/color.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add(&self, other: Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtract` [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/color.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply_color` [INFO] [stdout] --> src/color.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn multiply_color(&self, c: Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `I4` [INFO] [stdout] --> src/matrix.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | const I4: Matrix4 = [[1., 0., 0., 0.], [0., 1., 0., 0.], [0., 0., 1., 0.], [0., 0., 0., 1.]]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mm` [INFO] [stdout] --> src/matrix.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn mm(m1: Matrix4, m2: Matrix4) -> Matrix4 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `t` [INFO] [stdout] --> src/matrix.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn t(m: Matrix4) -> Matrix4 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `I` [INFO] [stdout] --> src/matrix.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub const I: Matrix4 = I4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invertible` [INFO] [stdout] --> src/matrix.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/matrix.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn eq(a: Matrix4, b: Matrix4) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scale` [INFO] [stdout] --> src/matrix.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn scale(x: f32, y: f32, z: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_x` [INFO] [stdout] --> src/matrix.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn rotate_x(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_y` [INFO] [stdout] --> src/matrix.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn rotate_y(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_z` [INFO] [stdout] --> src/matrix.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn rotate_z(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shear` [INFO] [stdout] --> src/matrix.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | 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 is never used: `chain` [INFO] [stdout] --> src/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn chain(ms: Vec) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/tuple.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/tuple.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/tuple.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn multiply(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divide` [INFO] [stdout] --> src/tuple.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/tuple.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn cross(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `position` [INFO] [stdout] --> src/ray.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn position(&self, time: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sphere_unit` [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: function is never used: `hit` [INFO] [stdout] --> src/shapes.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn hit(intersections: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "8d771867cd9b5ef7a91b19d6daaa4e183794a016f8352ee3fa102e36746bc0ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d771867cd9b5ef7a91b19d6daaa4e183794a016f8352ee3fa102e36746bc0ad", kill_on_drop: false }` [INFO] [stdout] 8d771867cd9b5ef7a91b19d6daaa4e183794a016f8352ee3fa102e36746bc0ad