[INFO] cloning repository https://github.com/Mikastiv/rustracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mikastiv/rustracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikastiv%2Frustracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikastiv%2Frustracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95735226db178e497549353bee1b8b36fa2478fa [INFO] checking Mikastiv/rustracer/95735226db178e497549353bee1b8b36fa2478fa against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikastiv%2Frustracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mikastiv/rustracer on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mikastiv/rustracer [INFO] finished tweaking git repo https://github.com/Mikastiv/rustracer [INFO] tweaked toml for git repo https://github.com/Mikastiv/rustracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mikastiv/rustracer 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c223f9ef54dbfb97c308bd8ff08c25fae8347d6cb438bf779b690259e279ffaf [INFO] running `Command { std: "docker" "start" "-a" "c223f9ef54dbfb97c308bd8ff08c25fae8347d6cb438bf779b690259e279ffaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c223f9ef54dbfb97c308bd8ff08c25fae8347d6cb438bf779b690259e279ffaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c223f9ef54dbfb97c308bd8ff08c25fae8347d6cb438bf779b690259e279ffaf", kill_on_drop: false }` [INFO] [stdout] c223f9ef54dbfb97c308bd8ff08c25fae8347d6cb438bf779b690259e279ffaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b592052ef128271d1e30a4c1c71b6b889302adca3f211bfb0615d6f587285920 [INFO] running `Command { std: "docker" "start" "-a" "b592052ef128271d1e30a4c1c71b6b889302adca3f211bfb0615d6f587285920", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rustracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result<(), ImageError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:355:23 [INFO] [stdout] | [INFO] [stdout] 286 | let (tx, rx) = channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | let multi_progress = MultiProgress::new(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | if let Err(err) = img.save("output.png") { [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] warning: fields `img_width`, `img_height`, `sample_per_pixel`, and `max_depth` are never read [INFO] [stdout] --> src/scene.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Scene { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | pub img_width: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub img_height: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub sample_per_pixel: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub max_depth: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/scene/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), ImageError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:355:23 [INFO] [stdout] | [INFO] [stdout] 286 | let (tx, rx) = channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | let multi_progress = MultiProgress::new(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | if let Err(err) = img.save("output.png") { [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] [stderr] error: could not compile `rustracer` (bin "rustracer" test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: fields `img_width`, `img_height`, `sample_per_pixel`, and `max_depth` are never read [INFO] [stdout] --> src/scene.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Scene { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | pub img_width: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub img_height: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub sample_per_pixel: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub max_depth: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/scene/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustracer` (bin "rustracer") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b592052ef128271d1e30a4c1c71b6b889302adca3f211bfb0615d6f587285920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b592052ef128271d1e30a4c1c71b6b889302adca3f211bfb0615d6f587285920", kill_on_drop: false }` [INFO] [stdout] b592052ef128271d1e30a4c1c71b6b889302adca3f211bfb0615d6f587285920