[INFO] fetching crate cargo-dylint 3.2.0... [INFO] checking cargo-dylint-3.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cargo-dylint 3.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cargo-dylint 3.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 cargo-dylint 3.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-dylint 3.2.0 [INFO] tweaked toml for crates.io crate cargo-dylint 3.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-dylint 3.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 01912b099c3f773958e1aa36c1cc5def0800857f32e682bc086bd576a71ec963 [INFO] running `Command { std: "docker" "start" "-a" "01912b099c3f773958e1aa36c1cc5def0800857f32e682bc086bd576a71ec963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01912b099c3f773958e1aa36c1cc5def0800857f32e682bc086bd576a71ec963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01912b099c3f773958e1aa36c1cc5def0800857f32e682bc086bd576a71ec963", kill_on_drop: false }` [INFO] [stdout] 01912b099c3f773958e1aa36c1cc5def0800857f32e682bc086bd576a71ec963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9f8c6b9e84ee4bf48426796b6ba87568fb132e5717a5c09d6570574b4748d241 [INFO] running `Command { std: "docker" "start" "-a" "9f8c6b9e84ee4bf48426796b6ba87568fb132e5717a5c09d6570574b4748d241", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking once_cell v1.20.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling cc v1.1.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rewriter v0.1.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking similar-asserts v1.6.0 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking cargo-util v0.2.14 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde-untagged v0.1.6 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking cargo-util-schemas v0.5.0 [INFO] [stderr] Compiling dylint_internal v3.2.0 [INFO] [stderr] Compiling dylint v3.2.0 [INFO] [stderr] Checking cargo-dylint v3.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `impl Iterator>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 255 | let re = Regex::new(r"^[^:]*\b(Apache|BSD-3-Clause|ISC|MIT|N/A)\b").unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | for entry in walkdir(false).with_file_name("Cargo.toml") { [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 `impl Iterator>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 317 | let re = Regex::new(r"^\[[^\]]*\]:").unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | for entry in walkdir(true).with_extension("md") { [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 `impl Iterator>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 344 | let ref_re = Regex::new(&format!(r#"(?m){CODE}|{CODE_BLOCK}|\[([^\]]*)\]([^:]|$)"#)).unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | let link_re = Regex::new(r"(?m)^\[([^\]]*)\]:").unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | for entry in walkdir(true).with_extension("md") { [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 `impl Iterator>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 402 | let tempdir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 415 | for entry in walkdir(true).with_extension("md") { [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-dylint` (test "ci") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9f8c6b9e84ee4bf48426796b6ba87568fb132e5717a5c09d6570574b4748d241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8c6b9e84ee4bf48426796b6ba87568fb132e5717a5c09d6570574b4748d241", kill_on_drop: false }` [INFO] [stdout] 9f8c6b9e84ee4bf48426796b6ba87568fb132e5717a5c09d6570574b4748d241