[INFO] cloning repository https://github.com/hannahscript/raymarcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hannahscript/raymarcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhannahscript%2Fraymarcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhannahscript%2Fraymarcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c53f2d5609ff06a083f31515ffaeeddbef517b7 [INFO] testing hannahscript/raymarcher against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhannahscript%2Fraymarcher" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hannahscript/raymarcher [INFO] finished tweaking git repo https://github.com/hannahscript/raymarcher [INFO] tweaked toml for git repo https://github.com/hannahscript/raymarcher written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hannahscript/raymarcher on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hannahscript/raymarcher 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" "+1.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55 [INFO] running `Command { std: "docker" "start" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.52 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ash v0.37.2+1.3.238 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling syn v2.0.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-types v0.13.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling profiling v1.0.7 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.27 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling serde v1.0.156 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.156 [INFO] [stderr] Compiling show-image v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling raw-window-handle v0.5.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling show-image-macros v0.12.3 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling naga v0.9.0 [INFO] [stderr] Compiling futures-executor v0.3.27 [INFO] [stderr] Compiling futures v0.3.27 [INFO] [stderr] Compiling vector3d v0.2.1 [INFO] [stderr] Compiling wgpu-hal v0.13.2 [INFO] [stderr] Compiling wgpu v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling raymarcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ExclusionObject` and `Sphere` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::scene::{Color, ExclusionObject, Scene, Sierpinski, Sphere}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `length` [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::vec_util::{length, normalize, V3d}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dist` is never read [INFO] [stdout] --> src/scene.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | dist = d; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `normal_estimation_epsilon` is never read [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct RayMarcher { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | ray_dist_epsilon: f64, [INFO] [stdout] 22 | normal_estimation_epsilon: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_ray`, `get_normal`, and `apply_lighting` are never used [INFO] [stdout] --> src/main.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl RayMarcher { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn send_ray<'a>(&'a self, origin: V3d, direction: V3d, scene: &'a Scene) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn get_normal(&self, p: V3d, scene: &Scene) -> V3d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn apply_lighting(&self, p: V3d, color: Color, scene: &Scene) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_image` is never used [INFO] [stdout] --> src/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn create_test_image(image_width: u32, image_height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/scene.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExclusionObject` is never constructed [INFO] [stdout] --> src/scene.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ExclusionObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background_color` is never read [INFO] [stdout] --> src/scene.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 89 | pub objects: Vec>, [INFO] [stdout] 90 | pub background_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sdf` is never used [INFO] [stdout] --> src/scene.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Scene { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 94 | pub fn sdf(&self, p: V3d) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling raymarcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ExclusionObject` and `Sphere` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::scene::{Color, ExclusionObject, Scene, Sierpinski, Sphere}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `length` [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::vec_util::{length, normalize, V3d}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dist` is never read [INFO] [stdout] --> src/scene.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | dist = d; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `normal_estimation_epsilon` is never read [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct RayMarcher { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | ray_dist_epsilon: f64, [INFO] [stdout] 22 | normal_estimation_epsilon: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_ray`, `get_normal`, and `apply_lighting` are never used [INFO] [stdout] --> src/main.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl RayMarcher { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn send_ray<'a>(&'a self, origin: V3d, direction: V3d, scene: &'a Scene) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn get_normal(&self, p: V3d, scene: &Scene) -> V3d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn apply_lighting(&self, p: V3d, color: Color, scene: &Scene) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_image` is never used [INFO] [stdout] --> src/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn create_test_image(image_width: u32, image_height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/scene.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExclusionObject` is never constructed [INFO] [stdout] --> src/scene.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ExclusionObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background_color` is never read [INFO] [stdout] --> src/scene.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 89 | pub objects: Vec>, [INFO] [stdout] 90 | pub background_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sdf` is never used [INFO] [stdout] --> src/scene.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Scene { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 94 | pub fn sdf(&self, p: V3d) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ExclusionObject` and `Sphere` [INFO] [stderr] --> src/main.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::scene::{Color, ExclusionObject, Scene, Sierpinski, Sphere}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `length` [INFO] [stderr] --> src/main.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::vec_util::{length, normalize, V3d}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `dist` is never read [INFO] [stderr] --> src/scene.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | dist = d; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `normal_estimation_epsilon` is never read [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | struct RayMarcher { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 21 | ray_dist_epsilon: f64, [INFO] [stderr] 22 | normal_estimation_epsilon: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `send_ray`, `get_normal`, and `apply_lighting` are never used [INFO] [stderr] --> src/main.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 40 | impl RayMarcher { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 77 | fn send_ray<'a>(&'a self, origin: V3d, direction: V3d, scene: &'a Scene) -> Color { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | fn get_normal(&self, p: V3d, scene: &Scene) -> V3d { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 134 | fn apply_lighting(&self, p: V3d, color: Color, scene: &Scene) -> Color { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_image` is never used [INFO] [stderr] --> src/main.rs:176:4 [INFO] [stderr] | [INFO] [stderr] 176 | fn create_test_image(image_width: u32, image_height: u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Sphere` is never constructed [INFO] [stderr] --> src/scene.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Sphere { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ExclusionObject` is never constructed [INFO] [stderr] --> src/scene.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct ExclusionObject { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `background_color` is never read [INFO] [stderr] --> src/scene.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 88 | pub struct Scene { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 89 | pub objects: Vec>, [INFO] [stderr] 90 | pub background_color: Color, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `sdf` is never used [INFO] [stderr] --> src/scene.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 93 | impl Scene { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 94 | pub fn sdf(&self, p: V3d) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `raymarcher` (bin "raymarcher" test) generated 10 warnings (run `cargo fix --bin "raymarcher" -p raymarcher --tests` to apply 2 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/raymarcher-2c8ab206495d33b9) [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" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55", kill_on_drop: false }` [INFO] [stdout] 7c5e5b29635c04108ea77a5ab34b5611ada00a1aae58b453687a54a9de594b55