[INFO] fetching crate renoir 0.2.0... [INFO] checking renoir-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate renoir 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate renoir 0.2.0 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 renoir 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate renoir 0.2.0 [INFO] tweaked toml for crates.io crate renoir 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate renoir 0.2.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a61027d0fa8e284bacb128d4e61042f2dd89e27f0fb43d71543762a92736e15c [INFO] running `Command { std: "docker" "start" "-a" "a61027d0fa8e284bacb128d4e61042f2dd89e27f0fb43d71543762a92736e15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a61027d0fa8e284bacb128d4e61042f2dd89e27f0fb43d71543762a92736e15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a61027d0fa8e284bacb128d4e61042f2dd89e27f0fb43d71543762a92736e15c", kill_on_drop: false }` [INFO] [stdout] a61027d0fa8e284bacb128d4e61042f2dd89e27f0fb43d71543762a92736e15c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] aa014f57766aad3eea3398cf3101bc1c3b4c850a5bf2245e2cdb56c5ef255861 [INFO] running `Command { std: "docker" "start" "-a" "aa014f57766aad3eea3398cf3101bc1c3b4c850a5bf2245e2cdb56c5ef255861", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking wyhash v0.5.0 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking lazy-init v0.5.1 [INFO] [stderr] Checking glidesort v0.1.2 [INFO] [stderr] Checking quick_cache v0.4.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking deunicode v1.4.3 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking micrometer v0.2.7 [INFO] [stderr] Checking fake v2.9.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking mimalloc v0.1.39 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ssh2 v0.9.4 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking nexmark v0.2.0 [INFO] [stderr] Checking kstring v2.0.0 [INFO] [stderr] Checking toml_edit v0.22.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking toml v0.8.11 [INFO] [stderr] Checking renoir v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `(std::option::Option, std::option::Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operator/mod.rs:1639:31 [INFO] [stdout] | [INFO] [stdout] 1638 | move |acc1, mut acc2| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1639 | *acc1 = match (acc1.take(), acc2.take()) { [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 `(std::option::Option, std::option::Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operator/mod.rs:1639:31 [INFO] [stdout] | [INFO] [stdout] 1638 | move |acc1, mut acc2| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1639 | *acc1 = match (acc1.take(), acc2.take()) { [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 `std::sync::MutexGuard<'_, std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operator/sink/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | / self.result [INFO] [stdout] 42 | | .try_lock() [INFO] [stdout] 43 | | .expect("Cannot lock output result") [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: trait `Sink` is never used [INFO] [stdout] --> src/operator/sink/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) trait Sink: Operator {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cached_replicas` is never used [INFO] [stdout] --> src/operator/start/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) trait StartReceiver: Clone { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn cached_replicas(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/profiler/mod.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | unsafe { &mut PROFILER } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 131 | unsafe { &raw mut PROFILER } [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `renoir` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::sync::MutexGuard<'_, std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operator/sink/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | / self.result [INFO] [stdout] 42 | | .try_lock() [INFO] [stdout] 43 | | .expect("Cannot lock output result") [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: trait `Sink` is never used [INFO] [stdout] --> src/operator/sink/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) trait Sink: Operator {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cached_replicas` is never used [INFO] [stdout] --> src/operator/start/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) trait StartReceiver: Clone { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn cached_replicas(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/profiler/mod.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | unsafe { &mut PROFILER } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 131 | unsafe { &raw mut PROFILER } [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `renoir` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aa014f57766aad3eea3398cf3101bc1c3b4c850a5bf2245e2cdb56c5ef255861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa014f57766aad3eea3398cf3101bc1c3b4c850a5bf2245e2cdb56c5ef255861", kill_on_drop: false }` [INFO] [stdout] aa014f57766aad3eea3398cf3101bc1c3b4c850a5bf2245e2cdb56c5ef255861