[INFO] cloning repository https://github.com/myuon/ruyt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myuon/ruyt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fruyt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fruyt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1dd48a002d701164c9b97b0af739d8a2d810487d [INFO] testing myuon/ruyt against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fruyt" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myuon/ruyt 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/myuon/ruyt [INFO] finished tweaking git repo https://github.com/myuon/ruyt [INFO] tweaked toml for git repo https://github.com/myuon/ruyt written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/myuon/ruyt 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] c281d138dc3b16c290167d729b305281c9783272eb4dc36c2607d5eab8ba470d [INFO] running `Command { std: "docker" "start" "-a" "c281d138dc3b16c290167d729b305281c9783272eb4dc36c2607d5eab8ba470d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c281d138dc3b16c290167d729b305281c9783272eb4dc36c2607d5eab8ba470d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c281d138dc3b16c290167d729b305281c9783272eb4dc36c2607d5eab8ba470d", kill_on_drop: false }` [INFO] [stdout] c281d138dc3b16c290167d729b305281c9783272eb4dc36c2607d5eab8ba470d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] b7936610520f976b4ae9f63c471ffb6d01957d0b76afe3e0e7834be8d584e6ea [INFO] running `Command { std: "docker" "start" "-a" "b7936610520f976b4ae9f63c471ffb6d01957d0b76afe3e0e7834be8d584e6ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling rand v0.5.4 [INFO] [stderr] Compiling ruyt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - renderer: Box Color>, [INFO] [stdout] 53 + renderer: Box Color>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] 64 + pub fn map(self, f: &dyn Fn(f32) -> f32) -> V3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/figures.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn random(&self, o: V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/figures.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | Some(rec) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:502:37 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/figures.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let db = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/figures.rs:763:30 [INFO] [stdout] | [INFO] [stdout] 763 | Figures::Figures(fs) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/textures.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/textures.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/textures.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/materials.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/materials.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/materials.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/materials.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/materials.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `SolidTexture` in public interface (error E0446) [INFO] [stdout] --> src/textures.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `CheckerTexture` in public interface (error E0446) [INFO] [stdout] --> src/textures.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `NoiseTexture` in public interface (error E0446) [INFO] [stdout] --> src/textures.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `DiffuseLight` in public interface (error E0446) [INFO] [stdout] --> src/materials.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | DiffuseLight(DiffuseLight), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `XYRect` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | XYRect(XYRect), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `YZRect` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | YZRect(YZRect), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `XZRect` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | XZRect(XZRect), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `FlipNormals` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | FlipNormals(FlipNormals), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Cuboid` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | Cuboid(Cuboid), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Translate` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | Translate(Translate), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `RotateY` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | RotateY(RotateY), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ConstantMedium` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `BvhNode` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_random_scene` [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn create_random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_nextweek_scene` [INFO] [stdout] --> src/main.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn create_nextweek_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `u` [INFO] [stdout] --> src/figures.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn u(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/figures.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn v(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surround` [INFO] [stdout] --> src/figures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn surround(&self, other: &Aabb) -> Aabb { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/figures.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_x_compare` [INFO] [stdout] --> src/figures.rs:596:8 [INFO] [stdout] | [INFO] [stdout] 596 | fn box_x_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_y_compare` [INFO] [stdout] --> src/figures.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 600 | fn box_y_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_z_compare` [INFO] [stdout] --> src/figures.rs:604:8 [INFO] [stdout] | [INFO] [stdout] 604 | fn box_z_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ConstantMedium` [INFO] [stdout] --> src/figures.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Figures` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/figures.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BvhNode` [INFO] [stdout] --> src/figures.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Figures` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/figures.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `constant_medium` [INFO] [stdout] --> src/figures.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bvh_node` [INFO] [stdout] --> src/figures.rs:719:12 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/textures.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/textures.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perlin_generate` [INFO] [stdout] --> src/textures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `permute` [INFO] [stdout] --> src/textures.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn permute(vec: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/textures.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/textures.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn new(scaler: f32) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Checker` [INFO] [stdout] --> src/textures.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Noise` [INFO] [stdout] --> src/textures.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `checker` [INFO] [stdout] --> src/textures.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `noise` [INFO] [stdout] --> src/textures.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn noise(scaler: f32) -> Textures { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pdf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(vec: &V3) -> OnbPdf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MixPdf` [INFO] [stdout] --> src/pdf.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | MixPdf(MixPdf), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pdfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdf.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metal` [INFO] [stdout] --> src/materials.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Metal(Metal), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metal` [INFO] [stdout] --> src/materials.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn metal(albedo: V3, fuzz: f32) -> Materials { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_V3` should have a snake case name [INFO] [stdout] --> src/vector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_V3(self) -> V3 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `as_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let invD = 1.0 / ray.direction.x(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let invD = 1.0 / ray.direction.y(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let invD = 1.0 / ray.direction.z(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "b7936610520f976b4ae9f63c471ffb6d01957d0b76afe3e0e7834be8d584e6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7936610520f976b4ae9f63c471ffb6d01957d0b76afe3e0e7834be8d584e6ea", kill_on_drop: false }` [INFO] [stdout] b7936610520f976b4ae9f63c471ffb6d01957d0b76afe3e0e7834be8d584e6ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] f948cbfda5cba1e8044e1c5280b25325356c9ae71968a86197b2b117bc5c836f [INFO] running `Command { std: "docker" "start" "-a" "f948cbfda5cba1e8044e1c5280b25325356c9ae71968a86197b2b117bc5c836f", kill_on_drop: false }` [INFO] [stderr] Compiling ruyt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - renderer: Box Color>, [INFO] [stdout] 53 + renderer: Box Color>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] 64 + pub fn map(self, f: &dyn Fn(f32) -> f32) -> V3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/figures.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn random(&self, o: V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/figures.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | Some(rec) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:502:37 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/figures.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let db = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/figures.rs:763:30 [INFO] [stdout] | [INFO] [stdout] 763 | Figures::Figures(fs) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/textures.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/textures.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/textures.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/materials.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/materials.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/materials.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/materials.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/materials.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `SolidTexture` in public interface (error E0446) [INFO] [stdout] --> src/textures.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `CheckerTexture` in public interface (error E0446) [INFO] [stdout] --> src/textures.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `NoiseTexture` in public interface (error E0446) [INFO] [stdout] --> src/textures.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `DiffuseLight` in public interface (error E0446) [INFO] [stdout] --> src/materials.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | DiffuseLight(DiffuseLight), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `XYRect` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | XYRect(XYRect), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `YZRect` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | YZRect(YZRect), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `XZRect` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | XZRect(XZRect), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `FlipNormals` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | FlipNormals(FlipNormals), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Cuboid` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | Cuboid(Cuboid), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Translate` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | Translate(Translate), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `RotateY` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | RotateY(RotateY), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ConstantMedium` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `BvhNode` in public interface (error E0446) [INFO] [stdout] --> src/figures.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_random_scene` [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn create_random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_nextweek_scene` [INFO] [stdout] --> src/main.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn create_nextweek_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `u` [INFO] [stdout] --> src/figures.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn u(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/figures.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn v(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surround` [INFO] [stdout] --> src/figures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn surround(&self, other: &Aabb) -> Aabb { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/figures.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_x_compare` [INFO] [stdout] --> src/figures.rs:596:8 [INFO] [stdout] | [INFO] [stdout] 596 | fn box_x_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_y_compare` [INFO] [stdout] --> src/figures.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 600 | fn box_y_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_z_compare` [INFO] [stdout] --> src/figures.rs:604:8 [INFO] [stdout] | [INFO] [stdout] 604 | fn box_z_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ConstantMedium` [INFO] [stdout] --> src/figures.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Figures` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/figures.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BvhNode` [INFO] [stdout] --> src/figures.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Figures` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/figures.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `constant_medium` [INFO] [stdout] --> src/figures.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bvh_node` [INFO] [stdout] --> src/figures.rs:719:12 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/textures.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/textures.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perlin_generate` [INFO] [stdout] --> src/textures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `permute` [INFO] [stdout] --> src/textures.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn permute(vec: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/textures.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/textures.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn new(scaler: f32) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Checker` [INFO] [stdout] --> src/textures.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Noise` [INFO] [stdout] --> src/textures.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `checker` [INFO] [stdout] --> src/textures.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `noise` [INFO] [stdout] --> src/textures.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn noise(scaler: f32) -> Textures { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pdf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(vec: &V3) -> OnbPdf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MixPdf` [INFO] [stdout] --> src/pdf.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | MixPdf(MixPdf), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pdfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdf.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metal` [INFO] [stdout] --> src/materials.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Metal(Metal), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metal` [INFO] [stdout] --> src/materials.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn metal(albedo: V3, fuzz: f32) -> Materials { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_V3` should have a snake case name [INFO] [stdout] --> src/vector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_V3(self) -> V3 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `as_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let invD = 1.0 / ray.direction.x(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let invD = 1.0 / ray.direction.y(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let invD = 1.0 / ray.direction.z(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "f948cbfda5cba1e8044e1c5280b25325356c9ae71968a86197b2b117bc5c836f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f948cbfda5cba1e8044e1c5280b25325356c9ae71968a86197b2b117bc5c836f", kill_on_drop: false }` [INFO] [stdout] f948cbfda5cba1e8044e1c5280b25325356c9ae71968a86197b2b117bc5c836f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 6713a8a3910e6c3fb9f73b1af4430b62d66f29c18810d64f1d191d614fdccf72 [INFO] running `Command { std: "docker" "start" "-a" "6713a8a3910e6c3fb9f73b1af4430b62d66f29c18810d64f1d191d614fdccf72", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | renderer: Box Color>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - renderer: Box Color>, [INFO] [stderr] 53 + renderer: Box Color>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/vector.rs:64:26 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stderr] 64 + pub fn map(self, f: &dyn Fn(f32) -> f32) -> V3 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/figures.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/figures.rs:128:32 [INFO] [stderr] | [INFO] [stderr] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/figures.rs:132:22 [INFO] [stderr] | [INFO] [stderr] 132 | fn random(&self, o: V3) -> V3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/figures.rs:186:28 [INFO] [stderr] | [INFO] [stderr] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/figures.rs:186:37 [INFO] [stderr] | [INFO] [stderr] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rec` [INFO] [stderr] --> src/figures.rs:195:18 [INFO] [stderr] | [INFO] [stderr] 195 | Some(rec) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/figures.rs:243:28 [INFO] [stderr] | [INFO] [stderr] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/figures.rs:243:37 [INFO] [stderr] | [INFO] [stderr] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/figures.rs:282:28 [INFO] [stderr] | [INFO] [stderr] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/figures.rs:282:37 [INFO] [stderr] | [INFO] [stderr] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/figures.rs:321:28 [INFO] [stderr] | [INFO] [stderr] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/figures.rs:321:37 [INFO] [stderr] | [INFO] [stderr] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/figures.rs:391:28 [INFO] [stderr] | [INFO] [stderr] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/figures.rs:391:37 [INFO] [stderr] | [INFO] [stderr] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/figures.rs:502:28 [INFO] [stderr] | [INFO] [stderr] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/figures.rs:502:37 [INFO] [stderr] | [INFO] [stderr] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/figures.rs:515:13 [INFO] [stderr] | [INFO] [stderr] 515 | let db = false; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/figures.rs:633:28 [INFO] [stderr] | [INFO] [stderr] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/figures.rs:633:37 [INFO] [stderr] | [INFO] [stderr] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fs` [INFO] [stderr] --> src/figures.rs:763:30 [INFO] [stderr] | [INFO] [stderr] 763 | Figures::Figures(fs) => unimplemented!(), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/textures.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/textures.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/textures.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray_in` [INFO] [stderr] --> src/materials.rs:17:30 [INFO] [stderr] | [INFO] [stderr] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hit_record` [INFO] [stderr] --> src/materials.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scattered` [INFO] [stderr] --> src/materials.rs:17:68 [INFO] [stderr] | [INFO] [stderr] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/materials.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/materials.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/materials.rs:21:39 [INFO] [stderr] | [INFO] [stderr] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray_in` [INFO] [stderr] --> src/materials.rs:48:30 [INFO] [stderr] | [INFO] [stderr] 48 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stderr] [INFO] [stderr] warning: private type `SolidTexture` in public interface (error E0446) [INFO] [stderr] --> src/textures.rs:168:11 [INFO] [stderr] | [INFO] [stderr] 168 | Solid(SolidTexture), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `CheckerTexture` in public interface (error E0446) [INFO] [stderr] --> src/textures.rs:169:13 [INFO] [stderr] | [INFO] [stderr] 169 | Checker(CheckerTexture), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `NoiseTexture` in public interface (error E0446) [INFO] [stderr] --> src/textures.rs:170:11 [INFO] [stderr] | [INFO] [stderr] 170 | Noise(NoiseTexture), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `DiffuseLight` in public interface (error E0446) [INFO] [stderr] --> src/materials.rs:164:18 [INFO] [stderr] | [INFO] [stderr] 164 | DiffuseLight(DiffuseLight), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `XYRect` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:641:12 [INFO] [stderr] | [INFO] [stderr] 641 | XYRect(XYRect), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `YZRect` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:642:12 [INFO] [stderr] | [INFO] [stderr] 642 | YZRect(YZRect), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `XZRect` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:643:12 [INFO] [stderr] | [INFO] [stderr] 643 | XZRect(XZRect), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `FlipNormals` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:644:17 [INFO] [stderr] | [INFO] [stderr] 644 | FlipNormals(FlipNormals), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `Cuboid` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:645:12 [INFO] [stderr] | [INFO] [stderr] 645 | Cuboid(Cuboid), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `Translate` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:646:15 [INFO] [stderr] | [INFO] [stderr] 646 | Translate(Translate), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `RotateY` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:647:13 [INFO] [stderr] | [INFO] [stderr] 647 | RotateY(RotateY), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `ConstantMedium` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:648:20 [INFO] [stderr] | [INFO] [stderr] 648 | ConstantMedium(ConstantMedium), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `BvhNode` in public interface (error E0446) [INFO] [stderr] --> src/figures.rs:650:13 [INFO] [stderr] | [INFO] [stderr] 650 | BvhNode(BvhNode), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_random_scene` [INFO] [stderr] --> src/main.rs:171:4 [INFO] [stderr] | [INFO] [stderr] 171 | fn create_random_scene() -> Scene { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_nextweek_scene` [INFO] [stderr] --> src/main.rs:249:4 [INFO] [stderr] | [INFO] [stderr] 249 | fn create_nextweek_scene() -> Scene { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `u` [INFO] [stderr] --> src/figures.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn u(&self) -> V3 { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `v` [INFO] [stderr] --> src/figures.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn v(&self) -> V3 { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `surround` [INFO] [stderr] --> src/figures.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn surround(&self, other: &Aabb) -> Aabb { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/figures.rs:563:8 [INFO] [stderr] | [INFO] [stderr] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `box_x_compare` [INFO] [stderr] --> src/figures.rs:596:8 [INFO] [stderr] | [INFO] [stderr] 596 | fn box_x_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `box_y_compare` [INFO] [stderr] --> src/figures.rs:600:8 [INFO] [stderr] | [INFO] [stderr] 600 | fn box_y_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `box_z_compare` [INFO] [stderr] --> src/figures.rs:604:8 [INFO] [stderr] | [INFO] [stderr] 604 | fn box_z_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ConstantMedium` [INFO] [stderr] --> src/figures.rs:648:5 [INFO] [stderr] | [INFO] [stderr] 648 | ConstantMedium(ConstantMedium), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Figures` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/figures.rs:638:10 [INFO] [stderr] | [INFO] [stderr] 638 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BvhNode` [INFO] [stderr] --> src/figures.rs:650:5 [INFO] [stderr] | [INFO] [stderr] 650 | BvhNode(BvhNode), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Figures` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/figures.rs:638:10 [INFO] [stderr] | [INFO] [stderr] 638 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `constant_medium` [INFO] [stderr] --> src/figures.rs:712:12 [INFO] [stderr] | [INFO] [stderr] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bvh_node` [INFO] [stderr] --> src/figures.rs:719:12 [INFO] [stderr] | [INFO] [stderr] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/textures.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/textures.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | fn new() -> Perlin { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `perlin_generate` [INFO] [stderr] --> src/textures.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | fn perlin_generate() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `permute` [INFO] [stderr] --> src/textures.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | fn permute(vec: &mut Vec, n: usize) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `perlin_generate_perm` [INFO] [stderr] --> src/textures.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | fn perlin_generate_perm() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/textures.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | fn new(scaler: f32) -> NoiseTexture { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Checker` [INFO] [stderr] --> src/textures.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | Checker(CheckerTexture), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Noise` [INFO] [stderr] --> src/textures.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | Noise(NoiseTexture), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `checker` [INFO] [stderr] --> src/textures.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `noise` [INFO] [stderr] --> src/textures.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn noise(scaler: f32) -> Textures { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/pdf.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(vec: &V3) -> OnbPdf { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MixPdf` [INFO] [stderr] --> src/pdf.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | MixPdf(MixPdf), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pdfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pdf.rs:117:10 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Metal` [INFO] [stderr] --> src/materials.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | Metal(Metal), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `metal` [INFO] [stderr] --> src/materials.rs:174:12 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn metal(albedo: V3, fuzz: f32) -> Materials { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_V3` should have a snake case name [INFO] [stderr] --> src/vector.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn as_V3(self) -> V3 { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `as_v3` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `invD` should have a snake case name [INFO] [stderr] --> src/figures.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let invD = 1.0 / ray.direction.x(); [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stderr] [INFO] [stderr] warning: variable `invD` should have a snake case name [INFO] [stderr] --> src/figures.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | let invD = 1.0 / ray.direction.y(); [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stderr] [INFO] [stderr] warning: variable `invD` should have a snake case name [INFO] [stderr] --> src/figures.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | let invD = 1.0 / ray.direction.z(); [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stderr] [INFO] [stderr] warning: `ruyt` (bin "ruyt" test) generated 76 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ruyt-fc84c886a8db2739) [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" "6713a8a3910e6c3fb9f73b1af4430b62d66f29c18810d64f1d191d614fdccf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6713a8a3910e6c3fb9f73b1af4430b62d66f29c18810d64f1d191d614fdccf72", kill_on_drop: false }` [INFO] [stdout] 6713a8a3910e6c3fb9f73b1af4430b62d66f29c18810d64f1d191d614fdccf72