[INFO] fetching crate stratum-server 5.7.5... [INFO] checking stratum-server-5.7.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate stratum-server 5.7.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate stratum-server 5.7.5 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 stratum-server 5.7.5 [INFO] finished tweaking crates.io crate stratum-server 5.7.5 [INFO] tweaked toml for crates.io crate stratum-server 5.7.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate stratum-server 5.7.5 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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e19e7ef8c2652e822248476cd941ee76edcd0a5b9936f77886cb8f1be5f1603 [INFO] running `Command { std: "docker" "start" "-a" "4e19e7ef8c2652e822248476cd941ee76edcd0a5b9936f77886cb8f1be5f1603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e19e7ef8c2652e822248476cd941ee76edcd0a5b9936f77886cb8f1be5f1603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e19e7ef8c2652e822248476cd941ee76edcd0a5b9936f77886cb8f1be5f1603", kill_on_drop: false }` [INFO] [stdout] 4e19e7ef8c2652e822248476cd941ee76edcd0a5b9936f77886cb8f1be5f1603 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 609a7c1b86c2fef78dc7e2190d0424e87b03ad28179c00ed2a7603f68bdb00ae [INFO] running `Command { std: "docker" "start" "-a" "609a7c1b86c2fef78dc7e2190d0424e87b03ad28179c00ed2a7603f68bdb00ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rlimit v0.10.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking encodings v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking mintex v0.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling uuid-macro-internal v1.7.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking extended-primitives v0.3.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tower-http v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-test v0.4.3 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking dhat v0.3.3 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking stratum-server v5.7.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `coverage_nightly` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(coverage_nightly, feature(coverage_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-utils` [INFO] [stdout] --> src/session.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `api`, `axum`, `btcagent`, `default`, `dhat-heap`, `hyper`, `tcp`, `tower-http`, `upstream`, `v1`, and `v2` [INFO] [stdout] = help: consider adding `test-utils` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ConnectionReader` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) async fn run(mut self) -> Result<()> { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let (mut reader, tx, handle) = self.connection.init(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | tokio::pin!(sleep); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let maybe_frame = tokio::select! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] 89 | | res = reader.read_frame() => { [INFO] [stdout] 90 | | match res { [INFO] [stdout] 91 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `CancellationToken` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let cancel_token = self.cancel_token.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | / tokio::select! { [INFO] [stdout] 144 | | res = self.handle_incoming() => { [INFO] [stdout] 145 | | if let Err(err) = res { [INFO] [stdout] 146 | | error!(cause = %err, "failed to accept"); [INFO] [stdout] ... | [INFO] [stdout] 149 | | () = cancel_token.cancelled() => {} [INFO] [stdout] 150 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stratum-server` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "609a7c1b86c2fef78dc7e2190d0424e87b03ad28179c00ed2a7603f68bdb00ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "609a7c1b86c2fef78dc7e2190d0424e87b03ad28179c00ed2a7603f68bdb00ae", kill_on_drop: false }` [INFO] [stdout] 609a7c1b86c2fef78dc7e2190d0424e87b03ad28179c00ed2a7603f68bdb00ae