[INFO] fetching crate asmcahligzamaze 1.0.2... [INFO] checking asmcahligzamaze-1.0.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate asmcahligzamaze 1.0.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate asmcahligzamaze 1.0.2 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 crates.io crate asmcahligzamaze 1.0.2 [INFO] finished tweaking crates.io crate asmcahligzamaze 1.0.2 [INFO] tweaked toml for crates.io crate asmcahligzamaze 1.0.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate asmcahligzamaze 1.0.2 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] 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] 54e30592dfda3a9efcc1e0ecfc4bd3517ae0ef3905f67d19c4f78fd278f29ddf [INFO] running `Command { std: "docker" "start" "-a" "54e30592dfda3a9efcc1e0ecfc4bd3517ae0ef3905f67d19c4f78fd278f29ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54e30592dfda3a9efcc1e0ecfc4bd3517ae0ef3905f67d19c4f78fd278f29ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e30592dfda3a9efcc1e0ecfc4bd3517ae0ef3905f67d19c4f78fd278f29ddf", kill_on_drop: false }` [INFO] [stdout] 54e30592dfda3a9efcc1e0ecfc4bd3517ae0ef3905f67d19c4f78fd278f29ddf [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] 74f188a62430ae05797867093d1986f6d09e8b6f26aa045da6be8d956469489d [INFO] running `Command { std: "docker" "start" "-a" "74f188a62430ae05797867093d1986f6d09e8b6f26aa045da6be8d956469489d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking png v0.17.3 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking nanorand v0.6.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking tiff v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.11 [INFO] [stderr] Checking exr v1.4.1 [INFO] [stderr] Checking image v0.24.0 [INFO] [stderr] Checking asmcahligzamaze v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SOUNDS_DIR` [INFO] [stdout] --> src/sys.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | SOUNDS_DIR, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SOUNDS_DIR` [INFO] [stdout] --> src/sys.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | SOUNDS_DIR, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/play.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn file_exists(filepath: impl ToString) -> bool { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let filepath = filepath.to_string(); [INFO] [stdout] 47 | match File::open(&filepath) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys/video/image.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn load(base_filepath: impl ToString) -> Result { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | match image::open(format!("{}/{}", BASE_DIR, base_filepath)) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/play.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn file_exists(filepath: impl ToString) -> bool { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let filepath = filepath.to_string(); [INFO] [stdout] 47 | match File::open(&filepath) { [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: this value of type `Result, std::string::String>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys/video/text.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn load_font<'a>(ctx: &'a Rc, filepath: impl ToString, size: i32) -> Result, String> { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | match ctx.sdl_context.load_font(format!("{}/{}", BASE_DIR, filepath), size as u16) { // why not self.sdl_context.load_font()? - b... [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] warning: method `hash64` is never used [INFO] [stdout] --> src/base.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait Hash64 { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 67 | fn hash64(self: &Self) -> u64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `music_id` and `ambient_id` are never read [INFO] [stdout] --> src/master/ether.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Ether { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | pub music_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 110 | pub ambient_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mus` and `amb` are never read [INFO] [stdout] --> src/master/ambient.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 41 | Set { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 42 | mus: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | amb: Option [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys/video/image.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn load(base_filepath: impl ToString) -> Result { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | match image::open(format!("{}/{}", BASE_DIR, base_filepath)) { [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 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, std::string::String>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys/video/text.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn load_font<'a>(ctx: &'a Rc, filepath: impl ToString, size: i32) -> Result, String> { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | match ctx.sdl_context.load_font(format!("{}/{}", BASE_DIR, filepath), size as u16) { // why not self.sdl_context.load_font()? - b... [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] [stderr] error: could not compile `asmcahligzamaze` (bin "asmcahligzamaze" test) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `hash64` is never used [INFO] [stdout] --> src/base.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait Hash64 { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 67 | fn hash64(self: &Self) -> u64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `music_id` and `ambient_id` are never read [INFO] [stdout] --> src/master/ether.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Ether { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | pub music_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 110 | pub ambient_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mus` and `amb` are never read [INFO] [stdout] --> src/master/ambient.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 41 | Set { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 42 | mus: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | amb: Option [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asmcahligzamaze` (bin "asmcahligzamaze") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74f188a62430ae05797867093d1986f6d09e8b6f26aa045da6be8d956469489d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f188a62430ae05797867093d1986f6d09e8b6f26aa045da6be8d956469489d", kill_on_drop: false }` [INFO] [stdout] 74f188a62430ae05797867093d1986f6d09e8b6f26aa045da6be8d956469489d