[INFO] cloning repository https://github.com/andystanton/raytracer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andystanton/raytracer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandystanton%2Fraytracer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandystanton%2Fraytracer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e000aeba06479636275df18899859b803097b4c9 [INFO] checking andystanton/raytracer-rs/e000aeba06479636275df18899859b803097b4c9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandystanton%2Fraytracer-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andystanton/raytracer-rs on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andystanton/raytracer-rs [INFO] finished tweaking git repo https://github.com/andystanton/raytracer-rs [INFO] tweaked toml for git repo https://github.com/andystanton/raytracer-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andystanton/raytracer-rs 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e491eac5ebaad6702e943fa570e8319b57665893dd0df187a39f758d3b1d39 [INFO] running `Command { std: "docker" "start" "-a" "d7e491eac5ebaad6702e943fa570e8319b57665893dd0df187a39f758d3b1d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e491eac5ebaad6702e943fa570e8319b57665893dd0df187a39f758d3b1d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e491eac5ebaad6702e943fa570e8319b57665893dd0df187a39f758d3b1d39", kill_on_drop: false }` [INFO] [stdout] d7e491eac5ebaad6702e943fa570e8319b57665893dd0df187a39f758d3b1d39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c0222df984b0bcacc523f10f01a1dcddcdf50889623df6919e06ab299893490 [INFO] running `Command { std: "docker" "start" "-a" "2c0222df984b0bcacc523f10f01a1dcddcdf50889623df6919e06ab299893490", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking either v1.2.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking futures v0.1.16 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking noise v0.4.1 (https://github.com/brendanzab/noise-rs.git?rev=42753cbcc857655f211ecf2658f492931cb252fb#42753cbc) [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking png v0.8.0 [INFO] [stderr] Checking stderrlog v0.2.3 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking image v0.14.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/material.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | r0 + (1.0 - r0) * pow((1.0 - cosine), 5) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - r0 + (1.0 - r0) * pow((1.0 - cosine), 5) [INFO] [stdout] 91 + r0 + (1.0 - r0) * pow(1.0 - cosine, 5) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/material.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | r0 + (1.0 - r0) * pow((1.0 - cosine), 5) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - r0 + (1.0 - r0) * pow((1.0 - cosine), 5) [INFO] [stdout] 91 + r0 + (1.0 - r0) * pow(1.0 - cosine, 5) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | list: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | list: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | texture: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | texture: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | left: Arc, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | left: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | right: Arc, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | right: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub odd: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub odd: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub even: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | pub even: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | impl Clone for 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn box_clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | fn colour(ray: &Ray3, hitable: &Hitable, depth: u32) -> Vector3 { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 | fn colour(ray: &Ray3, hitable: &dyn Hitable, depth: u32) -> Vector3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | list: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | list: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | texture: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | texture: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | left: Arc, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | left: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | right: Arc, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | right: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub odd: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub odd: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub even: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | pub even: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | impl Clone for 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | type ArcHitable = Arc; [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | type ArcHitable = Arc; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn box_axis_compare(axis: usize) -> Box Ordering> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn box_axis_compare(axis: usize) -> Box Ordering> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn box_clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | fn colour(ray: &Ray3, hitable: &Hitable, depth: u32) -> Vector3 { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 | fn colour(ray: &Ray3, hitable: &dyn Hitable, depth: u32) -> Vector3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | type ArcHitable = Arc; [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | type ArcHitable = Arc; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn box_axis_compare(axis: usize) -> Box Ordering> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn box_axis_compare(axis: usize) -> Box Ordering> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | fn box_clone(&self) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timeutil::TimeUtil` [INFO] [stdout] --> src/sphere.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use timeutil::TimeUtil; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timeutil::TimeUtil` [INFO] [stdout] --> src/sphere.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use timeutil::TimeUtil; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hitable.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add_hitable(&mut self, hitable: H) where H: Hitable + Sync + Send + 'static { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | self.list.push(Box::new(hitable)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quad.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(vertices: [Point3; 4], rotation: Quaternion, material: Material) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Self { [INFO] [stdout] 26 | hitable_list: HitableList::new() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 27 | | .with_hitable(Triangle::new([rotation.rotate_point(vertices[0]), rotation.rotate_point(vertices[1]), rotation.rotate_point(vertices[2])], material.clone())) [INFO] [stdout] 28 | | .with_hitable(Triangle::new([rotation.rotate_point(vertices[0]), rotation.rotate_point(vertices[2]), rotation.rotate_point(vertices[3])], material.clone())) [INFO] [stdout] | |____________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pyramid.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(position: Point3, base_length: f32, height: f32, rotation: Quaternion, material: Material) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | hitable_list: HitableList::new() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | .with_hitable(Triangle::new([base_vertices[0], zenith, base_vertices[3]], material.clone())) [INFO] [stdout] 39 | | .with_hitable(Triangle::new([base_vertices[3], zenith, base_vertices[2]], material.clone())) [INFO] [stdout] 40 | | .with_hitable(Triangle::new([base_vertices[2], zenith, base_vertices[1]], material.clone())) [INFO] [stdout] 41 | | .with_hitable(Triangle::new([base_vertices[1], zenith, base_vertices[0]], material.clone())) [INFO] [stdout] 42 | | .with_hitable(Quad::new([base_vertices[0], base_vertices[3], base_vertices[2], base_vertices[1], ], Quaternion::one(), material.clone())) [INFO] [stdout] | |_________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/teapot.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(centre: Point3, scale: f32, rotation: Quaternion, material: Material) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Teapot { [INFO] [stdout] 28 | hitable_list: (0..INDICES.len() / 3).fold(HitableList::new(), |hitable_list, i| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 29 | | hitable_list.with_hitable(NormalTriangle::new( [INFO] [stdout] 30 | | [ [INFO] [stdout] 31 | | rotation.rotate_point(VERTICES[INDICES[i * 3 + 0]] * scale) + centre.to_vec(), [INFO] [stdout] ... | [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/teapot.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 28 | hitable_list: (0..INDICES.len() / 3).fold(HitableList::new(), |hitable_list, i| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | hitable_list.with_hitable(NormalTriangle::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 30 | | [ [INFO] [stdout] 31 | | rotation.rotate_point(VERTICES[INDICES[i * 3 + 0]] * scale) + centre.to_vec(), [INFO] [stdout] 32 | | rotation.rotate_point(VERTICES[INDICES[i * 3 + 1]] * scale) + centre.to_vec(), [INFO] [stdout] ... | [INFO] [stdout] 40 | | material.clone(), [INFO] [stdout] 41 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/texture.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> Box { [INFO] [stdout] | ------------------------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Box::new(Self { odd, even }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/randomutil.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | fn gen_range(&mut self, low: T, high: T) -> T where Self: Sized { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | self.rng.borrow_mut().gen_range(low, high) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 8 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hitable.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add_hitable(&mut self, hitable: H) where H: Hitable + Sync + Send + 'static { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | self.list.push(Box::new(hitable)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quad.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(vertices: [Point3; 4], rotation: Quaternion, material: Material) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Self { [INFO] [stdout] 26 | hitable_list: HitableList::new() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 27 | | .with_hitable(Triangle::new([rotation.rotate_point(vertices[0]), rotation.rotate_point(vertices[1]), rotation.rotate_point(vertices[2])], material.clone())) [INFO] [stdout] 28 | | .with_hitable(Triangle::new([rotation.rotate_point(vertices[0]), rotation.rotate_point(vertices[2]), rotation.rotate_point(vertices[3])], material.clone())) [INFO] [stdout] | |____________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pyramid.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(position: Point3, base_length: f32, height: f32, rotation: Quaternion, material: Material) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | hitable_list: HitableList::new() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | .with_hitable(Triangle::new([base_vertices[0], zenith, base_vertices[3]], material.clone())) [INFO] [stdout] 39 | | .with_hitable(Triangle::new([base_vertices[3], zenith, base_vertices[2]], material.clone())) [INFO] [stdout] 40 | | .with_hitable(Triangle::new([base_vertices[2], zenith, base_vertices[1]], material.clone())) [INFO] [stdout] 41 | | .with_hitable(Triangle::new([base_vertices[1], zenith, base_vertices[0]], material.clone())) [INFO] [stdout] 42 | | .with_hitable(Quad::new([base_vertices[0], base_vertices[3], base_vertices[2], base_vertices[1], ], Quaternion::one(), material.clone())) [INFO] [stdout] | |_________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/teapot.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(centre: Point3, scale: f32, rotation: Quaternion, material: Material) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Teapot { [INFO] [stdout] 28 | hitable_list: (0..INDICES.len() / 3).fold(HitableList::new(), |hitable_list, i| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 29 | | hitable_list.with_hitable(NormalTriangle::new( [INFO] [stdout] 30 | | [ [INFO] [stdout] 31 | | rotation.rotate_point(VERTICES[INDICES[i * 3 + 0]] * scale) + centre.to_vec(), [INFO] [stdout] ... | [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/teapot.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 28 | hitable_list: (0..INDICES.len() / 3).fold(HitableList::new(), |hitable_list, i| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | hitable_list.with_hitable(NormalTriangle::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 30 | | [ [INFO] [stdout] 31 | | rotation.rotate_point(VERTICES[INDICES[i * 3 + 0]] * scale) + centre.to_vec(), [INFO] [stdout] 32 | | rotation.rotate_point(VERTICES[INDICES[i * 3 + 1]] * scale) + centre.to_vec(), [INFO] [stdout] ... | [INFO] [stdout] 40 | | material.clone(), [INFO] [stdout] 41 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/texture.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(odd: Box, even: Box) -> Box { [INFO] [stdout] | ------------------------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Box::new(Self { odd, even }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/randomutil.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | fn gen_range(&mut self, low: T, high: T) -> T where Self: Sized { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | self.rng.borrow_mut().gen_range(low, high) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 8 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c0222df984b0bcacc523f10f01a1dcddcdf50889623df6919e06ab299893490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0222df984b0bcacc523f10f01a1dcddcdf50889623df6919e06ab299893490", kill_on_drop: false }` [INFO] [stdout] 2c0222df984b0bcacc523f10f01a1dcddcdf50889623df6919e06ab299893490