[INFO] fetching crate mdmodels 0.1.1... [INFO] checking mdmodels-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mdmodels 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mdmodels 0.1.1 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 mdmodels 0.1.1 [INFO] finished tweaking crates.io crate mdmodels 0.1.1 [INFO] tweaked toml for crates.io crate mdmodels 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate mdmodels 0.1.1 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a03bdb13eaaf20afe99f47596bcfd261c5e79ff5588f85875dc10d0c9a30c6be [INFO] running `Command { std: "docker" "start" "-a" "a03bdb13eaaf20afe99f47596bcfd261c5e79ff5588f85875dc10d0c9a30c6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a03bdb13eaaf20afe99f47596bcfd261c5e79ff5588f85875dc10d0c9a30c6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03bdb13eaaf20afe99f47596bcfd261c5e79ff5588f85875dc10d0c9a30c6be", kill_on_drop: false }` [INFO] [stdout] a03bdb13eaaf20afe99f47596bcfd261c5e79ff5588f85875dc10d0c9a30c6be [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1080d560b30f82b4830f9522cf86bd47ef71b98b5c65c65b52a587803adffe2f [INFO] running `Command { std: "docker" "start" "-a" "1080d560b30f82b4830f9522cf86bd47ef71b98b5c65c65b52a587803adffe2f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking winnow v0.6.11 [INFO] [stderr] Compiling minijinja-embed v2.0.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling mdmodels v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.0 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_with v3.8.0 [INFO] [stderr] Checking minijinja v2.0.1 [INFO] [stderr] Checking hyper-util v0.1.4 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking gray_matter v0.2.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/attribute.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | } else if let Ok(s) = s.to_lowercase().parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [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] --> src/validation.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 162 | let mut set = HashSet::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | set.into_iter().collect() [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] --> src/schema.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 58 | let (mut schema, used_refs) = process_class(obj, model); [INFO] [stdout] | ------ --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let used_refs = used_refs.into_iter().collect::>(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let schema = JSONSchema { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | serde_json::to_string_pretty(&schema).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] [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] --> src/markdown/parser.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 274 | let re = Regex::new(r"\(([^)]+)\)").unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | [INFO] [stdout] 276 | re.captures(heading) [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: irrefutable `if let` pattern [INFO] [stdout] --> src/attribute.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | } else if let Ok(s) = s.to_lowercase().parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdmodels` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> src/validation.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 162 | let mut set = HashSet::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | set.into_iter().collect() [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] --> src/schema.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 58 | let (mut schema, used_refs) = process_class(obj, model); [INFO] [stdout] | ------ --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let used_refs = used_refs.into_iter().collect::>(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let schema = JSONSchema { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | serde_json::to_string_pretty(&schema).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] [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] --> src/markdown/parser.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 274 | let re = Regex::new(r"\(([^)]+)\)").unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | [INFO] [stdout] 276 | re.captures(heading) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdmodels` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1080d560b30f82b4830f9522cf86bd47ef71b98b5c65c65b52a587803adffe2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1080d560b30f82b4830f9522cf86bd47ef71b98b5c65c65b52a587803adffe2f", kill_on_drop: false }` [INFO] [stdout] 1080d560b30f82b4830f9522cf86bd47ef71b98b5c65c65b52a587803adffe2f