[INFO] cloning repository https://github.com/praffn/rusty-rays [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/praffn/rusty-rays" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6b770fa127f548b290b7e8ac652aef1ebe5ff3a [INFO] checking praffn/rusty-rays against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/praffn/rusty-rays on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/praffn/rusty-rays [INFO] finished tweaking git repo https://github.com/praffn/rusty-rays [INFO] tweaked toml for git repo https://github.com/praffn/rusty-rays written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/praffn/rusty-rays already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "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] 512dc197b53240bb62477bbcc2470ff7e179d66301c3b1b40812d912f7ef9593 [INFO] running `Command { std: "docker" "start" "-a" "512dc197b53240bb62477bbcc2470ff7e179d66301c3b1b40812d912f7ef9593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "512dc197b53240bb62477bbcc2470ff7e179d66301c3b1b40812d912f7ef9593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512dc197b53240bb62477bbcc2470ff7e179d66301c3b1b40812d912f7ef9593", kill_on_drop: false }` [INFO] [stdout] 512dc197b53240bb62477bbcc2470ff7e179d66301c3b1b40812d912f7ef9593 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 3fab8701646e024fe261c5414d6a22af20f5c8f3c20ba450fcfb04ebad48b650 [INFO] running `Command { std: "docker" "start" "-a" "3fab8701646e024fe261c5414d6a22af20f5c8f3c20ba450fcfb04ebad48b650", kill_on_drop: false }` [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking rusty-rays v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/geom/sphere.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::linalg::{smallest_greater_than_zero, solve_quadratic, Point3, Ray, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point3` [INFO] [stdout] --> src/linalg/orthonormal_base.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Point3, Vec3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gamma_correct` [INFO] [stdout] --> src/film/color.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn gamma_correct(x: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/film/color.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn clamp(x: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/film/color.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(r: f32, g: f32, b: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clamp` [INFO] [stdout] --> src/film/color.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn clamp(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clamp_mut` [INFO] [stdout] --> src/film/color.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn clamp_mut(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gamma_correct` [INFO] [stdout] --> src/film/color.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn gamma_correct(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rgb` [INFO] [stdout] --> src/film/color.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn to_rgb(self) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OrthonormalBase` [INFO] [stdout] --> src/linalg/orthonormal_base.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct OrthonormalBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct` [INFO] [stdout] --> src/linalg/orthonormal_base.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn construct(direction: Vec3, up: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_vector` [INFO] [stdout] --> src/linalg/orthonormal_base.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn apply_vector(self, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/linalg/point3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(x: f32, y: f32, z: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_to` [INFO] [stdout] --> src/linalg/point3.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn distance_to(self, point: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `displace` [INFO] [stdout] --> src/linalg/point3.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn displace(self, displacement: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/linalg/ray.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(origin: Point3, direction: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/linalg/vec3.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(x: f32, y: f32, z: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/linalg/vec3.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn length(self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/linalg/vec3.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn cross(self, rhs: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/linalg/vec3.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn normalize(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point3` [INFO] [stdout] --> src/linalg/orthonormal_base.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Point3, Vec3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gamma_correct` [INFO] [stdout] --> src/film/color.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn gamma_correct(x: f32) -> f32 { [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: `clamp_mut` [INFO] [stdout] --> src/film/color.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn clamp_mut(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gamma_correct` [INFO] [stdout] --> src/film/color.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn gamma_correct(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "3fab8701646e024fe261c5414d6a22af20f5c8f3c20ba450fcfb04ebad48b650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fab8701646e024fe261c5414d6a22af20f5c8f3c20ba450fcfb04ebad48b650", kill_on_drop: false }` [INFO] [stdout] 3fab8701646e024fe261c5414d6a22af20f5c8f3c20ba450fcfb04ebad48b650