[INFO] cloning repository https://github.com/rumbogs/rust-raytracer-one-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rumbogs/rust-raytracer-one-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frumbogs%2Frust-raytracer-one-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frumbogs%2Frust-raytracer-one-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aec68f58611feb2e96a72596d7a1ccdc553940ae [INFO] building rumbogs/rust-raytracer-one-weekend against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frumbogs%2Frust-raytracer-one-weekend" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rumbogs/rust-raytracer-one-weekend on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rumbogs/rust-raytracer-one-weekend [INFO] finished tweaking git repo https://github.com/rumbogs/rust-raytracer-one-weekend [INFO] tweaked toml for git repo https://github.com/rumbogs/rust-raytracer-one-weekend written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/rumbogs/rust-raytracer-one-weekend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a275a8798f79eedf3cb5081bf8d925ce776a102cf374760548c326c865292fcd [INFO] running `Command { std: "docker" "start" "-a" "a275a8798f79eedf3cb5081bf8d925ce776a102cf374760548c326c865292fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a275a8798f79eedf3cb5081bf8d925ce776a102cf374760548c326c865292fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a275a8798f79eedf3cb5081bf8d925ce776a102cf374760548c326c865292fcd", kill_on_drop: false }` [INFO] [stdout] a275a8798f79eedf3cb5081bf8d925ce776a102cf374760548c326c865292fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fd881f3746e90ddaa6c7231406e5a67d18bdefd1f193bf146a3828d1778687d [INFO] running `Command { std: "docker" "start" "-a" "2fd881f3746e90ddaa6c7231406e5a67d18bdefd1f193bf146a3828d1778687d", 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] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling getrandom v0.1.7 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.0 [INFO] [stderr] Compiling raytracing-one-weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_scene() -> Vec> { [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] 44 - fn random_scene() -> Vec> { [INFO] [stdout] 44 + fn random_scene() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | fn cornell_box(aspect: f32) -> (Vec>, Camera) { [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] 107 - fn cornell_box(aspect: f32) -> (Vec>, Camera) { [INFO] [stdout] 107 + fn cornell_box(aspect: f32) -> (Vec>, Camera) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | fn cornell_smoke() -> Vec> { [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] 228 - fn cornell_smoke() -> Vec> { [INFO] [stdout] 228 + fn cornell_smoke() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | fn random_scene2() -> Vec> { [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] 339 - fn random_scene2() -> Vec> { [INFO] [stdout] 339 + fn random_scene2() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:398:29 [INFO] [stdout] | [INFO] [stdout] 398 | fn final_scene() -> Vec> { [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] 398 - fn final_scene() -> Vec> { [INFO] [stdout] 398 + fn final_scene() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | pub pdf: Option>, [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] 38 - pub pdf: Option>, [INFO] [stdout] 38 + pub pdf: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/modifiers/flip_normals.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | object: Box [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] 7 - object: Box [INFO] [stdout] 7 + object: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/modifiers/rotate.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub object: Box, [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] 10 - pub object: Box, [INFO] [stdout] 10 + pub object: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/modifiers/translate.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub object: Box, [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] 8 - pub object: Box, [INFO] [stdout] 8 + pub object: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Leaf(Box), [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] 10 - Leaf(Box), [INFO] [stdout] 10 + Leaf(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/constant_medium.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | boundary: Box, [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] 11 - boundary: Box, [INFO] [stdout] 11 + boundary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/object_list.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub list: Vec>, [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] 10 - pub list: Vec>, [INFO] [stdout] 10 + pub list: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pdf.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub hittable: Box, [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] 40 - pub hittable: Box, [INFO] [stdout] 40 + pub hittable: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pdf.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pdf: [Box; 2], [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] 53 - pdf: [Box; 2], [INFO] [stdout] 53 + pdf: [Box; 2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/modifiers/flip_normals.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(object: Box) -> Self { [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] 11 - pub fn new(object: Box) -> Self { [INFO] [stdout] 11 + pub fn new(object: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/modifiers/rotate.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(object: Box, angle: f32) -> Self { [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] 17 - pub fn new(object: Box, angle: f32) -> Self { [INFO] [stdout] 17 + pub fn new(object: Box, angle: f32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [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] 19 - fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 19 + fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [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] 19 - fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 19 + fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [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] 37 - fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 37 + fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [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] 37 - fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 37 + fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [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] 55 - fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 55 + fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [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] 55 - fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 55 + fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [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] 74 - pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [INFO] [stdout] 74 + pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/constant_medium.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [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] 17 - pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [INFO] [stdout] 17 + pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/object_list.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(list: Vec>) -> Self { [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] 14 - pub fn new(list: Vec>) -> Self { [INFO] [stdout] 14 + pub fn new(list: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pdf.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(p0: Box, p1: Box) -> Self { [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] 57 - pub fn new(p0: Box, p1: Box) -> Self { [INFO] [stdout] 57 + pub fn new(p0: Box, p1: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pdf.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(p0: Box, p1: Box) -> Self { [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] 57 - pub fn new(p0: Box, p1: Box) -> Self { [INFO] [stdout] 57 + pub fn new(p0: Box, p1: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | let mut vec1: Vec> = Vec::with_capacity(list_length / 2 + 1); [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] 98 - let mut vec1: Vec> = Vec::with_capacity(list_length / 2 + 1); [INFO] [stdout] 98 + let mut vec1: Vec> = Vec::with_capacity(list_length / 2 + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/bvh_tree.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | let mut vec2: Vec> = Vec::with_capacity(list_length / 2); [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] 99 - let mut vec2: Vec> = Vec::with_capacity(list_length / 2); [INFO] [stdout] 99 + let mut vec2: Vec> = Vec::with_capacity(list_length / 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/cube.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | let mut list: Vec> = Vec::with_capacity(6); [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] 19 - let mut list: Vec> = Vec::with_capacity(6); [INFO] [stdout] 19 + let mut list: Vec> = Vec::with_capacity(6); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | let mut object_list: Vec> = Vec::with_capacity(n + 1); [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] 46 - let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] 46 + let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let mut object_list: Vec> = Vec::with_capacity(n + 1); [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] 109 - let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] 109 + let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:230:34 [INFO] [stdout] | [INFO] [stdout] 230 | let mut object_list: Vec> = Vec::with_capacity(n + 1); [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] 230 - let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] 230 + let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:341:34 [INFO] [stdout] | [INFO] [stdout] 341 | let mut object_list: Vec> = Vec::with_capacity(n + 1); [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] 341 - let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] 341 + let mut object_list: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:399:27 [INFO] [stdout] | [INFO] [stdout] 399 | let mut list: Vec> = Vec::with_capacity(30); [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] 399 - let mut list: Vec> = Vec::with_capacity(30); [INFO] [stdout] 399 + let mut list: Vec> = Vec::with_capacity(30); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:400:30 [INFO] [stdout] | [INFO] [stdout] 400 | let mut boxlist: Vec> = Vec::with_capacity(10000); [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] 400 - let mut boxlist: Vec> = Vec::with_capacity(10000); [INFO] [stdout] 400 + let mut boxlist: Vec> = Vec::with_capacity(10000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 401 | let mut boxlist2: Vec> = Vec::with_capacity(10000); [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] 401 - let mut boxlist2: Vec> = Vec::with_capacity(10000); [INFO] [stdout] 401 + let mut boxlist2: Vec> = Vec::with_capacity(10000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_material` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let light_material = Material::DiffuseLight { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nx` [INFO] [stdout] --> src/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | let (nx, ny) = img.dimensions(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ny` [INFO] [stdout] --> src/main.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | let (nx, ny) = img.dimensions(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aluminium` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let aluminium: Material = Material::Metal { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aluminium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/main.rs:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | let camera: &Camera = &Camera::new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_camera` [INFO] [stdout] --> src/main.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | let final_camera: &Camera = &Camera::new( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn pdf_value(&self, o: Vector3, v: Vector3) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/hittable.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | fn pdf_value(&self, o: Vector3, v: Vector3) -> 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/hittable.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn random(&self, o: Vector3) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered_direction` [INFO] [stdout] --> src/material.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let scattered_direction = scattered.direction(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/material.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | let target: Vector3 = rec.p + rec.normal + random_on_unit_sphere(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `albedo` [INFO] [stdout] --> src/material.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 143 | Material::Lambertian { albedo } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `albedo: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn scattering_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/objects/cube.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | 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/objects/cube.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | 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/objects/moving_sphere.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | 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/objects/moving_sphere.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | 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/objects/plane.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | 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/objects/plane.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | 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/objects/plane.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | 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/objects/plane.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | 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/objects/plane.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | 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/objects/plane.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | 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/objects/sphere.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | 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/objects/sphere.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | 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/objects/sphere.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | Some((rec, material)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/objects/sphere.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | Some((rec, material)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cornell_smoke` [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn cornell_smoke() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene2` [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn random_scene2() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `final_scene` [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn final_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | w: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Isotropic` [INFO] [stdout] --> src/material.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Isotropic { texture: Texture }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `Leaf` [INFO] [stdout] --> src/objects/bvh_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Leaf(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Node` [INFO] [stdout] --> src/objects/bvh_tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Node(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/bvh_tree.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/constant_medium.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local` [INFO] [stdout] --> src/onb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn local(&self, a: f32, b: f32, c: f32) -> Vector3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate` [INFO] [stdout] --> src/perlin.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn perlin_generate() -> [Vector3; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `permute` [INFO] [stdout] --> src/perlin.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn permute(p: &mut [usize; 256]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/perlin.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn perlin_generate_perm() -> [usize; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/perlin.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CheckerTexture` [INFO] [stdout] --> src/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / CheckerTexture { [INFO] [stdout] 11 | | even: Box, [INFO] [stdout] 12 | | odd: Box, [INFO] [stdout] 13 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: `NoiseTexture` [INFO] [stdout] --> src/texture.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / NoiseTexture { [INFO] [stdout] 15 | | noise: Perlin, [INFO] [stdout] 16 | | scale: f32, [INFO] [stdout] 17 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: `ImageTexture` [INFO] [stdout] --> src/texture.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / ImageTexture { [INFO] [stdout] 19 | | img: DynamicImage, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: 85 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.50s [INFO] running `Command { std: "docker" "inspect" "2fd881f3746e90ddaa6c7231406e5a67d18bdefd1f193bf146a3828d1778687d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd881f3746e90ddaa6c7231406e5a67d18bdefd1f193bf146a3828d1778687d", kill_on_drop: false }` [INFO] [stdout] 2fd881f3746e90ddaa6c7231406e5a67d18bdefd1f193bf146a3828d1778687d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [ERROR] error running command: no output for 300 seconds