[INFO] cloning repository https://github.com/LtdJorge/RayTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LtdJorge/RayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLtdJorge%2FRayTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLtdJorge%2FRayTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bab105877f139f1a25cb558031207823972074c5 [INFO] testing LtdJorge/RayTracer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLtdJorge%2FRayTracer" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LtdJorge/RayTracer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LtdJorge/RayTracer [INFO] finished tweaking git repo https://github.com/LtdJorge/RayTracer [INFO] tweaked toml for git repo https://github.com/LtdJorge/RayTracer written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/LtdJorge/RayTracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b21d83fa3c6a74f978f39fec1c30ce13b040dd0684c347c0626f8745c1713eb [INFO] running `Command { std: "docker" "start" "-a" "6b21d83fa3c6a74f978f39fec1c30ce13b040dd0684c347c0626f8745c1713eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b21d83fa3c6a74f978f39fec1c30ce13b040dd0684c347c0626f8745c1713eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b21d83fa3c6a74f978f39fec1c30ce13b040dd0684c347c0626f8745c1713eb", kill_on_drop: false }` [INFO] [stdout] 6b21d83fa3c6a74f978f39fec1c30ce13b040dd0684c347c0626f8745c1713eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dbcdabbc51632b79305ae54c2373a47ef5a8717fa31867c7957365002f0582c [INFO] running `Command { std: "docker" "start" "-a" "7dbcdabbc51632b79305ae54c2373a47ef5a8717fa31867c7957365002f0582c", kill_on_drop: false }` [INFO] [stderr] Compiling raytracing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ray` [INFO] [stdout] --> src/hittables/hit_record.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::{Vec3, Point3, Ray}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittables/sphere.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/hittables/sphere.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/hittables/sphere.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/hittables/sphere.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_test_image` [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn write_test_image() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_pixel` [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn write_pixel(red: f64, green: f64, blue: f64){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p` [INFO] [stdout] --> src/hittables/hit_record.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | p: Point3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/hit_record.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normal` [INFO] [stdout] --> src/hittables/hit_record.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | normal: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/hit_record.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t` [INFO] [stdout] --> src/hittables/hit_record.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | t: f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/hit_record.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `center` [INFO] [stdout] --> src/hittables/sphere.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | center: Point3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/sphere.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/hittables/sphere.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | radius: f64 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/sphere.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hit` [INFO] [stdout] --> src/hittables/sphere.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.20s [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7dbcdabbc51632b79305ae54c2373a47ef5a8717fa31867c7957365002f0582c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dbcdabbc51632b79305ae54c2373a47ef5a8717fa31867c7957365002f0582c", kill_on_drop: false }` [INFO] [stdout] 7dbcdabbc51632b79305ae54c2373a47ef5a8717fa31867c7957365002f0582c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a064a1f10d7c4b7a9f2d1973ae102dfe6edbd458dd45337b429ec26f73f57381 [INFO] running `Command { std: "docker" "start" "-a" "a064a1f10d7c4b7a9f2d1973ae102dfe6edbd458dd45337b429ec26f73f57381", kill_on_drop: false }` [INFO] [stderr] Compiling raytracing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ray` [INFO] [stdout] --> src/hittables/hit_record.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::{Vec3, Point3, Ray}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittables/sphere.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/hittables/sphere.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/hittables/sphere.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/hittables/sphere.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_test_image` [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn write_test_image() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_pixel` [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn write_pixel(red: f64, green: f64, blue: f64){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `p` [INFO] [stdout] --> src/hittables/hit_record.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | p: Point3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/hit_record.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normal` [INFO] [stdout] --> src/hittables/hit_record.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | normal: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/hit_record.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t` [INFO] [stdout] --> src/hittables/hit_record.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | t: f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/hit_record.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `center` [INFO] [stdout] --> src/hittables/sphere.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | center: Point3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/sphere.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/hittables/sphere.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | radius: f64 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/hittables/sphere.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hit` [INFO] [stdout] --> src/hittables/sphere.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "a064a1f10d7c4b7a9f2d1973ae102dfe6edbd458dd45337b429ec26f73f57381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a064a1f10d7c4b7a9f2d1973ae102dfe6edbd458dd45337b429ec26f73f57381", kill_on_drop: false }` [INFO] [stdout] a064a1f10d7c4b7a9f2d1973ae102dfe6edbd458dd45337b429ec26f73f57381 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3d7779ce69527b781d33d87e919440a6edca384b1c4f699de928127cc3aabd5 [INFO] running `Command { std: "docker" "start" "-a" "b3d7779ce69527b781d33d87e919440a6edca384b1c4f699de928127cc3aabd5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Ray` [INFO] [stderr] --> src/hittables/hit_record.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::math::{Vec3, Point3, Ray}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/hittables/sphere.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t_min` [INFO] [stderr] --> src/hittables/sphere.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t_max` [INFO] [stderr] --> src/hittables/sphere.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `record` [INFO] [stderr] --> src/hittables/sphere.rs:11:51 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_test_image` [INFO] [stderr] --> src/main.rs:80:4 [INFO] [stderr] | [INFO] [stderr] 80 | fn write_test_image() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_pixel` [INFO] [stderr] --> src/main.rs:105:4 [INFO] [stderr] | [INFO] [stderr] 105 | fn write_pixel(red: f64, green: f64, blue: f64){ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `p` [INFO] [stderr] --> src/hittables/hit_record.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | p: Point3, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/hittables/hit_record.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `normal` [INFO] [stderr] --> src/hittables/hit_record.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | normal: Vec3, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/hittables/hit_record.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `t` [INFO] [stderr] --> src/hittables/hit_record.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | t: f64 [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HitRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/hittables/hit_record.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `center` [INFO] [stderr] --> src/hittables/sphere.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | center: Point3, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/hittables/sphere.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `radius` [INFO] [stderr] --> src/hittables/sphere.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | radius: f64 [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/hittables/sphere.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hit` [INFO] [stderr] --> src/hittables/sphere.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn hit(ray: &Ray, t_min: f64, t_max: f64, record: &HitRecord){} [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `raytracing-rust` (bin "raytracing-rust" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raytracing_rust-4ba0be61e1bbe1ee) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3d7779ce69527b781d33d87e919440a6edca384b1c4f699de928127cc3aabd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d7779ce69527b781d33d87e919440a6edca384b1c4f699de928127cc3aabd5", kill_on_drop: false }` [INFO] [stdout] b3d7779ce69527b781d33d87e919440a6edca384b1c4f699de928127cc3aabd5