[INFO] cloning repository https://github.com/Dallin343/RustRayTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dallin343/RustRayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDallin343%2FRustRayTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDallin343%2FRustRayTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daa875757b495dfe61949c88025407d6c1d9c7d3 [INFO] checking Dallin343/RustRayTracer against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDallin343%2FRustRayTracer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dallin343/RustRayTracer on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dallin343/RustRayTracer [INFO] finished tweaking git repo https://github.com/Dallin343/RustRayTracer [INFO] tweaked toml for git repo https://github.com/Dallin343/RustRayTracer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Dallin343/RustRayTracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.4.4 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded bit-vec v0.6.3 [INFO] [stderr] Downloaded string_cache v0.8.1 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded lalrpop v0.19.5 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] [stderr] Downloaded lalrpop-util v0.19.5 [INFO] [stderr] Downloaded nalgebra v0.10.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded pico-args v0.4.0 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fab15b3f101ecf6ad2fd352923c80230f5973f4130044da36a59459ddaa462b [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" "6fab15b3f101ecf6ad2fd352923c80230f5973f4130044da36a59459ddaa462b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fab15b3f101ecf6ad2fd352923c80230f5973f4130044da36a59459ddaa462b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fab15b3f101ecf6ad2fd352923c80230f5973f4130044da36a59459ddaa462b", kill_on_drop: false }` [INFO] [stdout] 6fab15b3f101ecf6ad2fd352923c80230f5973f4130044da36a59459ddaa462b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e27777efd2119b39726db43c9e760b89147df2d0cefc79df2d74c809d6b4e740 [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" "e27777efd2119b39726db43c9e760b89147df2d0cefc79df2d74c809d6b4e740", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pico-args v0.4.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking nalgebra v0.10.1 [INFO] [stderr] Checking lalrpop-util v0.19.5 [INFO] [stderr] Compiling lalrpop v0.19.5 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `normalize` [INFO] [stdout] --> src/renderable/sphere.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Vector3, Point3, normalize, dot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `approx_eq` [INFO] [stdout] --> src/renderable/polygon.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Point3, normalize, cross, Vector3, dot, approx_eq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `abs`, `approx_eq` [INFO] [stdout] --> src/scene/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Vector3, Point3, approx_eq, dot, clamp, normalize, abs}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/scene/camera.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Vector3, distance}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `normalize` [INFO] [stdout] --> src/renderable/sphere.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Vector3, Point3, normalize, dot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `approx_eq` [INFO] [stdout] --> src/renderable/polygon.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Point3, normalize, cross, Vector3, dot, approx_eq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `abs`, `approx_eq` [INFO] [stdout] --> src/scene/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Vector3, Point3, approx_eq, dot, clamp, normalize, abs}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/scene/camera.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Vector3, distance}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/scene/mod.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let v: Vector3 = v - hit.point; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/scene/mod.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | fn trace_camera_ray(&self, ray: &Ray, depth: u8) -> Vector3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut file = match File::create(&output_path) { [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 is never used: `origin_as_tuple` [INFO] [stdout] --> src/rays/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn origin_as_tuple(&self) -> (f64, f64, f64) { [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: `dir_as_tuple` [INFO] [stdout] --> src/rays/ray.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dir_as_tuple(&self) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vector_to` [INFO] [stdout] --> src/rays/hit.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vector_to(&self, v: Point3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `look_up` [INFO] [stdout] --> src/scene/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | look_up: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/scene/mod.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let v: Vector3 = v - hit.point; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/scene/mod.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | fn trace_camera_ray(&self, ray: &Ray, depth: u8) -> Vector3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut file = match File::create(&output_path) { [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | writer.write(b"P6\n1000 1000\n255\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | writer.write_all(&row_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin_as_tuple` [INFO] [stdout] --> src/rays/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn origin_as_tuple(&self) -> (f64, f64, f64) { [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: `dir_as_tuple` [INFO] [stdout] --> src/rays/ray.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dir_as_tuple(&self) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vector_to` [INFO] [stdout] --> src/rays/hit.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vector_to(&self, v: Point3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `look_up` [INFO] [stdout] --> src/scene/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | look_up: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | writer.write(b"P6\n1000 1000\n255\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | writer.write_all(&row_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "e27777efd2119b39726db43c9e760b89147df2d0cefc79df2d74c809d6b4e740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27777efd2119b39726db43c9e760b89147df2d0cefc79df2d74c809d6b4e740", kill_on_drop: false }` [INFO] [stdout] e27777efd2119b39726db43c9e760b89147df2d0cefc79df2d74c809d6b4e740