[INFO] fetching crate cargo-dylint 3.1.2... [INFO] checking cargo-dylint-3.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-dylint 3.1.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cargo-dylint 3.1.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-dylint 3.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-dylint 3.1.2 [INFO] tweaked toml for crates.io crate cargo-dylint 3.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-dylint 3.1.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a63d47cd8b9d801e2596b495ab6688ddb779dfe3b3ad629db7d57e79a862678 [INFO] running `Command { std: "docker" "start" "-a" "9a63d47cd8b9d801e2596b495ab6688ddb779dfe3b3ad629db7d57e79a862678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a63d47cd8b9d801e2596b495ab6688ddb779dfe3b3ad629db7d57e79a862678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a63d47cd8b9d801e2596b495ab6688ddb779dfe3b3ad629db7d57e79a862678", kill_on_drop: false }` [INFO] [stdout] 9a63d47cd8b9d801e2596b495ab6688ddb779dfe3b3ad629db7d57e79a862678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b985d655bec0cc0462c56f7752a61765f3e290a76833c7f827fb09a95518633b [INFO] running `Command { std: "docker" "start" "-a" "b985d655bec0cc0462c56f7752a61765f3e290a76833c7f827fb09a95518633b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Checking similar-asserts v1.5.0 [INFO] [stderr] Compiling rust-embed-utils v8.4.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking rust-embed v8.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking cargo-util v0.2.11 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking erased-serde v0.4.4 [INFO] [stderr] Checking serde-untagged v0.1.5 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking dylint_internal v3.1.2 [INFO] [stderr] Compiling dylint v3.1.2 [INFO] [stderr] Checking cargo-dylint v3.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `dylint_lib` [INFO] [stdout] --> tests/warn.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg_attr(dylint_lib = "supplementary", allow(commented_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `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(dylint_lib, values("supplementary"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dylint_lib, values(\"supplementary\"))");` 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 name: `dylint_lib` [INFO] [stdout] --> tests/package_options.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg_attr(dylint_lib = "supplementary", allow(commented_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `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(dylint_lib, values("supplementary"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dylint_lib, values(\"supplementary\"))");` 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 name: `dylint_lib` [INFO] [stdout] --> tests/fix.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg_attr(dylint_lib = "general", allow(abs_home_path))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `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(dylint_lib, values("general"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dylint_lib, values(\"general\"))");` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `coverage` [INFO] [stdout] --> tests/ci.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(coverage))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `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)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage)");` 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 name: `dylint_lib` [INFO] [stdout] --> tests/ci.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg_attr(dylint_lib = "general", allow(non_thread_safe_call_in_test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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(dylint_lib, values("general"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dylint_lib, values(\"general\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dylint_lib` [INFO] [stdout] --> tests/ci.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | #[cfg_attr(dylint_lib = "general", allow(non_thread_safe_call_in_test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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(dylint_lib, values("general"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dylint_lib, values(\"general\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dylint_lib` [INFO] [stdout] --> tests/ci.rs:482:12 [INFO] [stdout] | [INFO] [stdout] 482 | #[cfg_attr(dylint_lib = "overscoped_allow", allow(overscoped_allow))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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(dylint_lib, values("overscoped_allow"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dylint_lib, values(\"overscoped_allow\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/package_options.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 138 | let re = Regex::new(r#"^clippy_utils = .*\btag = "rust-([^"]*)""#).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Version::parse(&rust_version).map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/package_options.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | .find_map(|line| re.captures(line).map(|captures| captures[1].to_owned())) [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 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/list.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 239 | let metadata = MetadataCommand::new().current_dir(path).no_deps().exec()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | let debug_dir = metadata.target_directory.join("debug"); [INFO] [stdout] 241 | / debug_dir [INFO] [stdout] 242 | | .canonicalize() [INFO] [stdout] 243 | | .with_context(|| format!("Could not canonicalize {debug_dir:?}")) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________________________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 `cargo-dylint` (test "package_options") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `coverage` [INFO] [stdout] --> tests/boundary_toolchains.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(coverage))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `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)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage)");` 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] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-dylint` (test "list") due to 2 previous errors [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | static METADATA: Lazy = Lazy::new(|| current_metadata().unwrap()); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 558 | fn readme_contents(dir: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 559 | read_to_string(dir.as_ref().join("README.md")).map_err(Into::into) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:595:21 [INFO] [stdout] | [INFO] [stdout] 592 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 593 | extension: impl AsRef + 'static, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 594 | ) -> impl Iterator> { [INFO] [stdout] 595 | self.filter(move |entry| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 596 | | entry.as_ref().map_or(true, |entry| { [INFO] [stdout] 597 | | entry.path().extension() == Some(extension.as_ref()) [INFO] [stdout] 598 | | }) [INFO] [stdout] 599 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/ci.rs:605:21 [INFO] [stdout] | [INFO] [stdout] 602 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 603 | file_name: impl AsRef + 'static, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 604 | ) -> impl Iterator> { [INFO] [stdout] 605 | self.filter(move |entry| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 606 | | entry.as_ref().map_or(true, |entry| { [INFO] [stdout] 607 | | entry.path().file_name() == Some(file_name.as_ref()) [INFO] [stdout] 608 | | }) [INFO] [stdout] 609 | | }) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-dylint` (test "ci") due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b985d655bec0cc0462c56f7752a61765f3e290a76833c7f827fb09a95518633b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b985d655bec0cc0462c56f7752a61765f3e290a76833c7f827fb09a95518633b", kill_on_drop: false }` [INFO] [stdout] b985d655bec0cc0462c56f7752a61765f3e290a76833c7f827fb09a95518633b