[INFO] cloning repository https://github.com/yuri-you/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuri-you/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3adccba206d41656513dbf3373f489c94bea7b29 [INFO] checking yuri-you/raytracer against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytracer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuri-you/raytracer on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuri-you/raytracer [INFO] finished tweaking git repo https://github.com/yuri-you/raytracer [INFO] tweaked toml for git repo https://github.com/yuri-you/raytracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/yuri-you/raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b51d8f8e8a7b28818ceaa34bbe393d8ca55e67e16dd3e1240cc095179b3d8c05 [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" "b51d8f8e8a7b28818ceaa34bbe393d8ca55e67e16dd3e1240cc095179b3d8c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b51d8f8e8a7b28818ceaa34bbe393d8ca55e67e16dd3e1240cc095179b3d8c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51d8f8e8a7b28818ceaa34bbe393d8ca55e67e16dd3e1240cc095179b3d8c05", kill_on_drop: false }` [INFO] [stdout] b51d8f8e8a7b28818ceaa34bbe393d8ca55e67e16dd3e1240cc095179b3d8c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa987beddd9ae13924dc72bed884b2b610aa0610e3f8671b7e1042ee93d53ead [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" "fa987beddd9ae13924dc72bed884b2b610aa0610e3f8671b7e1042ee93d53ead", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::vec3::random_in_unit_sphere` [INFO] [stdout] --> src/color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vec3::random_in_unit_sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_unit_sphere` [INFO] [stdout] --> src/color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vec3::random_unit_sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_hemisphere` [INFO] [stdout] --> src/color.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::vec3::random_in_hemisphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::rand_double` [INFO] [stdout] --> src/material.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::data::rand_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/material.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lambertian` should have an upper camel case name [INFO] [stdout] --> src/material.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct lambertian{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Lambertian` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `metal` should have an upper camel case name [INFO] [stdout] --> src/material.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct metal{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dielectric` should have an upper camel case name [INFO] [stdout] --> src/material.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct dielectric{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Dielectric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_unit_sphere` [INFO] [stdout] --> src/color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vec3::random_in_unit_sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_unit_sphere` [INFO] [stdout] --> src/color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vec3::random_unit_sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_hemisphere` [INFO] [stdout] --> src/color.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::vec3::random_in_hemisphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::rand_double` [INFO] [stdout] --> src/material.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::data::rand_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/material.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lambertian` should have an upper camel case name [INFO] [stdout] --> src/material.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct lambertian{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Lambertian` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `metal` should have an upper camel case name [INFO] [stdout] --> src/material.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct metal{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dielectric` should have an upper camel case name [INFO] [stdout] --> src/material.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct dielectric{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Dielectric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn scatter(&self,r_in:&Ray,rec:&HitRecord , attenuation:&mut Vec3 ,scattered:&mut Ray)->bool{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn scatter(&self,r_in:&Ray,rec:&HitRecord , attenuation:&mut Vec3 ,scattered:&mut Ray)->bool{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_unit_disk` [INFO] [stdout] --> src/vec3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn random_in_unit_disk()->Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/vec3.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn random_in_hemisphere(normal:&Vec3)->Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_int` [INFO] [stdout] --> src/data.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rand_int(a:i32,b:i32)->i32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `schlick` [INFO] [stdout] --> src/material.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn schlick(cosine:f64, ref_idx:f64)->f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Infinity` should have an upper case name [INFO] [stdout] --> src/data.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static Infinity:f64 = 0xffffff as f64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `INFINITY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_unit_disk` [INFO] [stdout] --> src/vec3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn random_in_unit_disk()->Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/vec3.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn random_in_hemisphere(normal:&Vec3)->Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_int` [INFO] [stdout] --> src/data.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rand_int(a:i32,b:i32)->i32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `schlick` [INFO] [stdout] --> src/material.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn schlick(cosine:f64, ref_idx:f64)->f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Infinity` should have an upper case name [INFO] [stdout] --> src/data.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static Infinity:f64 = 0xffffff as f64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `INFINITY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.28s [INFO] running `Command { std: "docker" "inspect" "fa987beddd9ae13924dc72bed884b2b610aa0610e3f8671b7e1042ee93d53ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa987beddd9ae13924dc72bed884b2b610aa0610e3f8671b7e1042ee93d53ead", kill_on_drop: false }` [INFO] [stdout] fa987beddd9ae13924dc72bed884b2b610aa0610e3f8671b7e1042ee93d53ead