[INFO] cloning repository https://github.com/sdao/gammaray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sdao/gammaray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdao%2Fgammaray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdao%2Fgammaray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 274b898629cb1ddee79f6adbb7076c98ef384d47 [INFO] building sdao/gammaray/274b898629cb1ddee79f6adbb7076c98ef384d47 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdao%2Fgammaray" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sdao/gammaray on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/sdao/gammaray [INFO] finished tweaking git repo https://github.com/sdao/gammaray [INFO] tweaked toml for git repo https://github.com/sdao/gammaray written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sdao/gammaray already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b7116d3c9171c741d3b91757ede24ca071239cad7d9d77804442f367f666852 [INFO] running `Command { std: "docker" "start" "-a" "8b7116d3c9171c741d3b91757ede24ca071239cad7d9d77804442f367f666852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b7116d3c9171c741d3b91757ede24ca071239cad7d9d77804442f367f666852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7116d3c9171c741d3b91757ede24ca071239cad7d9d77804442f367f666852", kill_on_drop: false }` [INFO] [stdout] 8b7116d3c9171c741d3b91757ede24ca071239cad7d9d77804442f367f666852 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d232b058cf2c978d85ae4be933b22c071dc4080907611006dbbc892e03808ef8 [INFO] running `Command { std: "docker" "start" "-a" "d232b058cf2c978d85ae4be933b22c071dc4080907611006dbbc892e03808ef8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling wavefront_obj v5.1.0 [INFO] [stderr] Compiling bitflags v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling gammaray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/matrix.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | ( self[r1][c1] * self[r2][c2] * self[r3][c3] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | - self[r1][c3] * self[r2][c2] * self[r3][c1]) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 ~ self[r1][c1] * self[r2][c2] * self[r3][c3] [INFO] [stdout] 137 | + self[r1][c2] * self[r2][c3] * self[r3][c1] [INFO] [stdout] ... [INFO] [stdout] 140 | - self[r1][c2] * self[r2][c1] * self[r3][c3] [INFO] [stdout] 141 ~ - self[r1][c3] * self[r2][c2] * self[r3][c1] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/matrix.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | (- self[0][3] * self.determinant3(1, 2, 3, 0, 1, 2) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | + self[3][3] * self.determinant3(0, 1, 2, 0, 1, 2)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 ~ - self[0][3] * self.determinant3(1, 2, 3, 0, 1, 2) [INFO] [stdout] 146 | + self[1][3] * self.determinant3(0, 2, 3, 0, 1, 2) [INFO] [stdout] 147 | - self[2][3] * self.determinant3(0, 1, 3, 0, 1, 2) [INFO] [stdout] 148 ~ + self[3][3] * self.determinant3(0, 1, 2, 0, 1, 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | prims: std::vec::Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | prims: std::vec::Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | light: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | light: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | lobes: std::vec::Vec> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | lobes: std::vec::Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | type Output = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 500 | type Output = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:502:43 [INFO] [stdout] | [INFO] [stdout] 502 | fn index(&self, index: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 502 | fn index(&self, index: usize) -> &Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:339:43 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn build(prims: std::vec::Vec>) -> Bvh { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 339 | pub fn build(prims: std::vec::Vec>) -> Bvh { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/util.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn partition(slice: &mut [T], predicate: &Fn(&T) -> bool) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub fn partition(slice: &mut [T], predicate: &dyn Fn(&T) -> bool) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/util.rs:21:64 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nth_element(slice: &mut [T], nth: usize, less_than: &Fn(&T, &T) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nth_element(slice: &mut [T], nth: usize, less_than: &dyn Fn(&T, &T) -> bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/stage.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(prims: std::vec::Vec>) -> Stage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(prims: std::vec::Vec>) -> Stage { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/stage.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | integrator: &integrators::Integrator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | integrator: &dyn integrators::Integrator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:296:50 [INFO] [stdout] | [INFO] [stdout] 296 | let mut lobes_list = std::vec::Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 | let mut lobes_list = std::vec::Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/film.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let mut pixel = &mut self.pixels[core::index(y, x, self.width)]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lobe_kind` and `pdf_forward` are never read [INFO] [stdout] --> src/render/integrators.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 107 | struct BdptVertex { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub lobe_kind: material::LobeKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub pdf_forward: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/gammaray.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | let mut prims: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | let mut prims: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 14.34s [INFO] running `Command { std: "docker" "inspect" "d232b058cf2c978d85ae4be933b22c071dc4080907611006dbbc892e03808ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d232b058cf2c978d85ae4be933b22c071dc4080907611006dbbc892e03808ef8", kill_on_drop: false }` [INFO] [stdout] d232b058cf2c978d85ae4be933b22c071dc4080907611006dbbc892e03808ef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 340f444ed022c2a21676011784ad0a3805f46ab616ad2fb5eaf8013be41f26ee [INFO] running `Command { std: "docker" "start" "-a" "340f444ed022c2a21676011784ad0a3805f46ab616ad2fb5eaf8013be41f26ee", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/matrix.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | ( self[r1][c1] * self[r2][c2] * self[r3][c3] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | - self[r1][c3] * self[r2][c2] * self[r3][c1]) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 ~ self[r1][c1] * self[r2][c2] * self[r3][c3] [INFO] [stdout] 137 | + self[r1][c2] * self[r2][c3] * self[r3][c1] [INFO] [stdout] ... [INFO] [stdout] 140 | - self[r1][c2] * self[r2][c1] * self[r3][c3] [INFO] [stdout] 141 ~ - self[r1][c3] * self[r2][c2] * self[r3][c1] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/matrix.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | (- self[0][3] * self.determinant3(1, 2, 3, 0, 1, 2) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | + self[3][3] * self.determinant3(0, 1, 2, 0, 1, 2)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 ~ - self[0][3] * self.determinant3(1, 2, 3, 0, 1, 2) [INFO] [stdout] 146 | + self[1][3] * self.determinant3(0, 2, 3, 0, 1, 2) [INFO] [stdout] 147 | - self[2][3] * self.determinant3(0, 1, 3, 0, 1, 2) [INFO] [stdout] 148 ~ + self[3][3] * self.determinant3(0, 1, 2, 0, 1, 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | prims: std::vec::Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | prims: std::vec::Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | light: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | light: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | lobes: std::vec::Vec> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | lobes: std::vec::Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | type Output = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 500 | type Output = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:502:43 [INFO] [stdout] | [INFO] [stdout] 502 | fn index(&self, index: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 502 | fn index(&self, index: usize) -> &Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:339:43 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn build(prims: std::vec::Vec>) -> Bvh { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 339 | pub fn build(prims: std::vec::Vec>) -> Bvh { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gammaray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/util.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn partition(slice: &mut [T], predicate: &Fn(&T) -> bool) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub fn partition(slice: &mut [T], predicate: &dyn Fn(&T) -> bool) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/util.rs:21:64 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nth_element(slice: &mut [T], nth: usize, less_than: &Fn(&T, &T) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nth_element(slice: &mut [T], nth: usize, less_than: &dyn Fn(&T, &T) -> bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/stage.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(prims: std::vec::Vec>) -> Stage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(prims: std::vec::Vec>) -> Stage { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/stage.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | integrator: &integrators::Integrator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | integrator: &dyn integrators::Integrator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:296:50 [INFO] [stdout] | [INFO] [stdout] 296 | let mut lobes_list = std::vec::Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 | let mut lobes_list = std::vec::Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/film.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let mut pixel = &mut self.pixels[core::index(y, x, self.width)]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lobe_kind` and `pdf_forward` are never read [INFO] [stdout] --> src/render/integrators.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 107 | struct BdptVertex { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub lobe_kind: material::LobeKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub pdf_forward: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/gammaray.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | let mut prims: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | let mut prims: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/matrix.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | ( self[r1][c1] * self[r2][c2] * self[r3][c3] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | - self[r1][c3] * self[r2][c2] * self[r3][c1]) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 ~ self[r1][c1] * self[r2][c2] * self[r3][c3] [INFO] [stdout] 137 | + self[r1][c2] * self[r2][c3] * self[r3][c1] [INFO] [stdout] ... [INFO] [stdout] 140 | - self[r1][c2] * self[r2][c1] * self[r3][c3] [INFO] [stdout] 141 ~ - self[r1][c3] * self[r2][c2] * self[r3][c1] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/matrix.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | (- self[0][3] * self.determinant3(1, 2, 3, 0, 1, 2) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | + self[3][3] * self.determinant3(0, 1, 2, 0, 1, 2)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 ~ - self[0][3] * self.determinant3(1, 2, 3, 0, 1, 2) [INFO] [stdout] 146 | + self[1][3] * self.determinant3(0, 2, 3, 0, 1, 2) [INFO] [stdout] 147 | - self[2][3] * self.determinant3(0, 1, 3, 0, 1, 2) [INFO] [stdout] 148 ~ + self[3][3] * self.determinant3(0, 1, 2, 0, 1, 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/material/lobes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | pub struct LobeKind: u32 { [INFO] [stdout] 27 | | const LOBE_NONE = 0b00000000; [INFO] [stdout] 28 | | /// PDF is non-delta-distributed. [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | prims: std::vec::Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | prims: std::vec::Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | light: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | light: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | lobes: std::vec::Vec> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | lobes: std::vec::Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | type Output = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 500 | type Output = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:502:43 [INFO] [stdout] | [INFO] [stdout] 502 | fn index(&self, index: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 502 | fn index(&self, index: usize) -> &Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/bvh.rs:339:43 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn build(prims: std::vec::Vec>) -> Bvh { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 339 | pub fn build(prims: std::vec::Vec>) -> Bvh { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/util.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn partition(slice: &mut [T], predicate: &Fn(&T) -> bool) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub fn partition(slice: &mut [T], predicate: &dyn Fn(&T) -> bool) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geom/util.rs:21:64 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nth_element(slice: &mut [T], nth: usize, less_than: &Fn(&T, &T) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nth_element(slice: &mut [T], nth: usize, less_than: &dyn Fn(&T, &T) -> bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/stage.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(prims: std::vec::Vec>) -> Stage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(prims: std::vec::Vec>) -> Stage { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/stage.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | integrator: &integrators::Integrator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | integrator: &dyn integrators::Integrator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/material.rs:296:50 [INFO] [stdout] | [INFO] [stdout] 296 | let mut lobes_list = std::vec::Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 | let mut lobes_list = std::vec::Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/film.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let mut pixel = &mut self.pixels[core::index(y, x, self.width)]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lobe_kind` and `pdf_forward` are never read [INFO] [stdout] --> src/render/integrators.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 107 | struct BdptVertex { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub lobe_kind: material::LobeKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub pdf_forward: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "340f444ed022c2a21676011784ad0a3805f46ab616ad2fb5eaf8013be41f26ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340f444ed022c2a21676011784ad0a3805f46ab616ad2fb5eaf8013be41f26ee", kill_on_drop: false }` [INFO] [stdout] 340f444ed022c2a21676011784ad0a3805f46ab616ad2fb5eaf8013be41f26ee