[INFO] cloning repository https://github.com/YYF233333/rtoneweekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YYF233333/rtoneweekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYYF233333%2Frtoneweekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYYF233333%2Frtoneweekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d61de35fb151f50b40245fc7732f070d9196b81 [INFO] checking YYF233333/rtoneweekend against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYYF233333%2Frtoneweekend" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YYF233333/rtoneweekend on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YYF233333/rtoneweekend [INFO] finished tweaking git repo https://github.com/YYF233333/rtoneweekend [INFO] tweaked toml for git repo https://github.com/YYF233333/rtoneweekend written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YYF233333/rtoneweekend 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-core v1.9.2 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] [stderr] Downloaded rayon v1.5.2 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce1fa640c315de2716987fea7af71766f513cc265952f25e8f8b82e6db8eaf63 [INFO] running `Command { std: "docker" "start" "-a" "ce1fa640c315de2716987fea7af71766f513cc265952f25e8f8b82e6db8eaf63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce1fa640c315de2716987fea7af71766f513cc265952f25e8f8b82e6db8eaf63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce1fa640c315de2716987fea7af71766f513cc265952f25e8f8b82e6db8eaf63", kill_on_drop: false }` [INFO] [stdout] ce1fa640c315de2716987fea7af71766f513cc265952f25e8f8b82e6db8eaf63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1dfd6dbef32c60e9e0bfbda3caec98f45d914531e981f7c5b4b75b63275438d [INFO] running `Command { std: "docker" "start" "-a" "d1dfd6dbef32c60e9e0bfbda3caec98f45d914531e981f7c5b4b75b63275438d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Checking ray_tracing_one_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gpu/ray_color.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ray::{self, Ray}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrayfire::*` [INFO] [stdout] --> src/gpu/ray_color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use arrayfire::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3array::*` [INFO] [stdout] --> src/gpu/vec3/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use vec3array::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gpu/ray_color.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ray::{self, Ray}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrayfire::*` [INFO] [stdout] --> src/gpu/ray_color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use arrayfire::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3array::*` [INFO] [stdout] --> src/gpu/vec3/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use vec3array::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `p`, `material`, and `t` are never read [INFO] [stdout] --> src/gpu/hittable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HitRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | pub p: Point3, [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub normal: Vec3, [INFO] [stdout] 13 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub t: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `HitRecord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hittable` is never used [INFO] [stdout] --> src/gpu/hittable.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Hittable: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Material` is never used [INFO] [stdout] --> src/gpu/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Material: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `albedo` is never read [INFO] [stdout] --> src/gpu/material.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Lambertian { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 11 | albedo: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `albedo` and `fuzz` are never read [INFO] [stdout] --> src/gpu/material.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Metal { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | albedo: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | fuzz: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ir` is never read [INFO] [stdout] --> src/gpu/material.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Dielectric { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 63 | ir: f32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reflectance` is never used [INFO] [stdout] --> src/gpu/material.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn reflectance(cosine: f32, ref_idx: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `albedo` is never read [INFO] [stdout] --> src/gpu/material.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct TestMaterial { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 108 | albedo: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_color` is never used [INFO] [stdout] --> src/gpu/ray_color.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn ray_color(rays: Vec, world: &impl Hittable, depth: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_scene` is never used [INFO] [stdout] --> src/gpu/scene.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn test_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/gpu/scene.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn random_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point3Array` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Point3Array = Vec3Array; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ColorArray` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ColorArray = Vec3Array; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn dot(u: Vec3Array, v: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn cross(u: Vec3Array, v: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unit` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn unit(v: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn reflect(v: Vec3Array, n: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_color` is never used [INFO] [stdout] --> src/ray_color.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ray_color(rays: Vec, world: &impl Hittable, depth: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_scene` is never used [INFO] [stdout] --> src/scene.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn test_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scene.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn random_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/vec3/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `p`, `material`, and `t` are never read [INFO] [stdout] --> src/gpu/hittable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HitRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | pub p: Point3, [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub normal: Vec3, [INFO] [stdout] 13 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub t: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `HitRecord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hittable` is never used [INFO] [stdout] --> src/gpu/hittable.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Hittable: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Material` is never used [INFO] [stdout] --> src/gpu/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Material: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `albedo` is never read [INFO] [stdout] --> src/gpu/material.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Lambertian { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 11 | albedo: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `albedo` and `fuzz` are never read [INFO] [stdout] --> src/gpu/material.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Metal { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | albedo: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | fuzz: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ir` is never read [INFO] [stdout] --> src/gpu/material.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Dielectric { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 63 | ir: f32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reflectance` is never used [INFO] [stdout] --> src/gpu/material.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn reflectance(cosine: f32, ref_idx: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `albedo` is never read [INFO] [stdout] --> src/gpu/material.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct TestMaterial { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 108 | albedo: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_color` is never used [INFO] [stdout] --> src/gpu/ray_color.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn ray_color(rays: Vec, world: &impl Hittable, depth: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_scene` is never used [INFO] [stdout] --> src/gpu/scene.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn test_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/gpu/scene.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn random_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point3Array` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Point3Array = Vec3Array; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ColorArray` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ColorArray = Vec3Array; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn dot(u: Vec3Array, v: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn cross(u: Vec3Array, v: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unit` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn unit(v: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn reflect(v: Vec3Array, n: Vec3Array) -> Vec3Array { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `small_array` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn small_array() -> Vec3Array { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_dot` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_dot() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cross` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn test_cross() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_unit` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn test_unit() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_near_zero` is never used [INFO] [stdout] --> src/gpu/vec3/vec3array.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn test_near_zero() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_color` is never used [INFO] [stdout] --> src/ray_color.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ray_color(rays: Vec, world: &impl Hittable, depth: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_scene` is never used [INFO] [stdout] --> src/scene.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn test_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scene.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn random_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/vec3/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "d1dfd6dbef32c60e9e0bfbda3caec98f45d914531e981f7c5b4b75b63275438d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1dfd6dbef32c60e9e0bfbda3caec98f45d914531e981f7c5b4b75b63275438d", kill_on_drop: false }` [INFO] [stdout] d1dfd6dbef32c60e9e0bfbda3caec98f45d914531e981f7c5b4b75b63275438d [INFO] checking YYF233333/rtoneweekend against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYYF233333%2Frtoneweekend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YYF233333/rtoneweekend on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YYF233333/rtoneweekend [INFO] finished tweaking git repo https://github.com/YYF233333/rtoneweekend [INFO] tweaked toml for git repo https://github.com/YYF233333/rtoneweekend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/YYF233333/rtoneweekend 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18db251a51432f2f4e6ff2f8abd75627646f29f2b917d0b4b09e7db20575fb48 [INFO] running `Command { std: "docker" "start" "-a" "18db251a51432f2f4e6ff2f8abd75627646f29f2b917d0b4b09e7db20575fb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18db251a51432f2f4e6ff2f8abd75627646f29f2b917d0b4b09e7db20575fb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18db251a51432f2f4e6ff2f8abd75627646f29f2b917d0b4b09e7db20575fb48", kill_on_drop: false }` [INFO] [stdout] 18db251a51432f2f4e6ff2f8abd75627646f29f2b917d0b4b09e7db20575fb48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eab366daecaba0819cf8f6779bf19c8fe068e8ae4ecd3de3ad7ac1dea0523135 [INFO] running `Command { std: "docker" "start" "-a" "eab366daecaba0819cf8f6779bf19c8fe068e8ae4ecd3de3ad7ac1dea0523135", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "eab366daecaba0819cf8f6779bf19c8fe068e8ae4ecd3de3ad7ac1dea0523135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab366daecaba0819cf8f6779bf19c8fe068e8ae4ecd3de3ad7ac1dea0523135", kill_on_drop: false }` [INFO] [stdout] eab366daecaba0819cf8f6779bf19c8fe068e8ae4ecd3de3ad7ac1dea0523135