[INFO] cloning repository https://github.com/bijanbwb/ray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bijanbwb/ray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbijanbwb%2Fray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbijanbwb%2Fray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de369b9a32e74785d71b101e2ec71d9ac9325eb1 [INFO] checking bijanbwb/ray against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbijanbwb%2Fray" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bijanbwb/ray [INFO] finished tweaking git repo https://github.com/bijanbwb/ray [INFO] tweaked toml for git repo https://github.com/bijanbwb/ray written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bijanbwb/ray on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bijanbwb/ray 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a825584a59255ad7cf7264f9a00a2990f982bb792caea51dd66f70eb0c92a7c [INFO] running `Command { std: "docker" "start" "-a" "0a825584a59255ad7cf7264f9a00a2990f982bb792caea51dd66f70eb0c92a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a825584a59255ad7cf7264f9a00a2990f982bb792caea51dd66f70eb0c92a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a825584a59255ad7cf7264f9a00a2990f982bb792caea51dd66f70eb0c92a7c", kill_on_drop: false }` [INFO] [stdout] 0a825584a59255ad7cf7264f9a00a2990f982bb792caea51dd66f70eb0c92a7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9356e11f2f52b35f48aafb73ce565de6bd1a7213fb46b49b7623a3771bd47f4c [INFO] running `Command { std: "docker" "start" "-a" "9356e11f2f52b35f48aafb73ce565de6bd1a7213fb46b49b7623a3771bd47f4c", kill_on_drop: false }` [INFO] [stderr] Checking ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Tuple { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | fn new(x: f32, y: f32, z: f32, w: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn point(x: f32, y: f32, z: f32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn vector(x: f32, y: f32, z: f32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn is_point(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn is_vector(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn magnitude(self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn normalize(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn dot(a: Self, b: Self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn cross(a: Self, b: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Projectile` is never constructed [INFO] [stdout] --> src/main.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | struct Projectile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 143 | impl Projectile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 144 | fn new(position: Tuple, velocity: Tuple) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Environment` is never constructed [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `tick` are never used [INFO] [stdout] --> src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl Environment { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 158 | fn new(gravity: Tuple, wind: Tuple) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn tick(environment: Environment, projectile: Projectile) -> Projectile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `to_integers_tuple`, `clamp_and_round`, and `to_string` are never used [INFO] [stdout] --> src/main.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 179 | impl Color { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 180 | fn new(red: f32, green: f32, blue: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn to_integers_tuple(&color: &Color) -> (i32, i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn clamp_and_round(rgb_value: f32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn to_string(&color: &Color) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Canvas` is never constructed [INFO] [stdout] --> src/main.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `pixel_at`, `write_pixel`, `canvas_to_ppm`, `pixels_to_string`, and `write_ppm_to_file` are never used [INFO] [stdout] --> src/main.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 259 | impl Canvas { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 260 | fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn pixel_at(canvas: Self, x: usize, y: usize) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn write_pixel(canvas: Self, x: usize, y: usize, color: Color) -> Canvas { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | fn canvas_to_ppm(canvas: Self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn pixels_to_string(pixels: Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn write_ppm_to_file(ppm: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/main.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | struct Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/main.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 335 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 336 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn get(self: &Self, column: usize, row: usize) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/main.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 330 | struct Matrix { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 331 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "9356e11f2f52b35f48aafb73ce565de6bd1a7213fb46b49b7623a3771bd47f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9356e11f2f52b35f48aafb73ce565de6bd1a7213fb46b49b7623a3771bd47f4c", kill_on_drop: false }` [INFO] [stdout] 9356e11f2f52b35f48aafb73ce565de6bd1a7213fb46b49b7623a3771bd47f4c