[INFO] fetching crate panrelease 0.12.4... [INFO] checking panrelease-0.12.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate panrelease 0.12.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate panrelease 0.12.4 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 panrelease 0.12.4 [INFO] finished tweaking crates.io crate panrelease 0.12.4 [INFO] tweaked toml for crates.io crate panrelease 0.12.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate panrelease 0.12.4 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2ff4a27b2cebbfcefc9339f1987162285605fd9968e11be662ddae3e8e5299a5 [INFO] running `Command { std: "docker" "start" "-a" "2ff4a27b2cebbfcefc9339f1987162285605fd9968e11be662ddae3e8e5299a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ff4a27b2cebbfcefc9339f1987162285605fd9968e11be662ddae3e8e5299a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff4a27b2cebbfcefc9339f1987162285605fd9968e11be662ddae3e8e5299a5", kill_on_drop: false }` [INFO] [stdout] 2ff4a27b2cebbfcefc9339f1987162285605fd9968e11be662ddae3e8e5299a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 184e0cfb1edea7bb9c602d6fdc2ba412c1e99f49f38aaf436f68e0bf1f302c25 [INFO] running `Command { std: "docker" "start" "-a" "184e0cfb1edea7bb9c602d6fdc2ba412c1e99f49f38aaf436f68e0bf1f302c25", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking ureq v2.10.0 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking update-informer v1.1.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking panrelease v0.12.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::error::ErrorKind` [INFO] [stdout] --> src/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::error::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/runner.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus` and `Output` [INFO] [stdout] --> src/runner.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runner.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wasm_utils::exec` [INFO] [stdout] --> src/runner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wasm_utils::exec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | doc: toml_edit::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | doc: cargo_str.parse::()?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/system/nodejs_system.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error::ErrorKind` [INFO] [stdout] --> src/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::error::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::BuildMetadata` [INFO] [stdout] --> src/args.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use semver::BuildMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/runner.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus` and `Output` [INFO] [stdout] --> src/runner.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runner.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wasm_utils::exec` [INFO] [stdout] --> src/runner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wasm_utils::exec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | doc: toml_edit::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | doc: cargo_str.parse::()?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/system/nodejs_system.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/project/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PanModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/value.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/parser/xml/xdmerror.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prologue`, `epilogue`, and `xmldecl` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct XMLDocument<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub prologue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub content: Vec>, [INFO] [stdout] 50 | pub epilogue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub xmldecl: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | PI(String, Value<'a>), [INFO] [stdout] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 92 | PI((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 | Comment(()), // Comment value is a string [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(()), // These only occur in the prologue [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 | Reference(()), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | ~~ [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/args.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | let re = Regex::new(r"(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)(\.r(?P\d+))$").unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | re.captures(build_info) [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/package/cargo.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | path, [INFO] [stdout] 22 | | doc: cargo_str.parse::()?, [INFO] [stdout] 23 | | filesystem: PhantomData, [INFO] [stdout] 24 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/package/cargo.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | anyhow::bail!("cannot find version in Cargo.toml") [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | }; [INFO] [stdout] 33 | Ok(Version::from_str(ver)?) [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/package/gradle.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 32 | let version_regex = Regex::new(VERSION_REGEX)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(Version::parse(version_str)?) [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] [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/package/npm.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | .and_then(|v| Ok(Version::parse(v)?)) [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/runner.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn build(cmd_name: &str, args: &[String], dir: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let mut command = Command::new(cmd_name); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | command, [INFO] [stdout] 24 | | }) [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/parser/json.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 90 | let parse_true = value(true, tag("true")); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | let parse_false = value(false, tag("false")); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | alt((parse_true, parse_false))(input) [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: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> src/parser/xml/qname.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] 33 | | result.push_str(p.as_str()); [INFO] [stdout] 34 | | result.push(':'); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] | +++++++ [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/parser/xml/parsexml.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 512 | let parse_hex = map( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | let parse_decimal = map(take_while_m_n(1, 6, |c: char| c.is_ascii_digit()), |dec| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 521 | / map_opt( [INFO] [stdout] 522 | | alt(( [INFO] [stdout] 523 | | delimited(tag("&#x"), parse_hex, tag(";")), [INFO] [stdout] 524 | | delimited(tag("&#"), parse_decimal, tag(";")), [INFO] [stdout] 525 | | )), [INFO] [stdout] 526 | | |value| Option::from(std::char::from_u32(value.unwrap()).unwrap().to_string()), [INFO] [stdout] 527 | | )(input) [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 8 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `panrelease` (lib) due to 9 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/project/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PanModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/value.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/parser/xml/xdmerror.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prologue`, `epilogue`, and `xmldecl` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct XMLDocument<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub prologue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub content: Vec>, [INFO] [stdout] 50 | pub epilogue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub xmldecl: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | PI(String, Value<'a>), [INFO] [stdout] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 92 | PI((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 | Comment(()), // Comment value is a string [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(()), // These only occur in the prologue [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 | Reference(()), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | ~~ [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/args.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | let re = Regex::new(r"(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)(\.r(?P\d+))$").unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | re.captures(build_info) [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/package/cargo.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | path, [INFO] [stdout] 22 | | doc: cargo_str.parse::()?, [INFO] [stdout] 23 | | filesystem: PhantomData, [INFO] [stdout] 24 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/package/cargo.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | anyhow::bail!("cannot find version in Cargo.toml") [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | }; [INFO] [stdout] 33 | Ok(Version::from_str(ver)?) [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/package/gradle.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 32 | let version_regex = Regex::new(VERSION_REGEX)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(Version::parse(version_str)?) [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] [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/package/npm.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | .and_then(|v| Ok(Version::parse(v)?)) [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/runner.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn build(cmd_name: &str, args: &[String], dir: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let mut command = Command::new(cmd_name); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | command, [INFO] [stdout] 24 | | }) [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/parser/json.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 90 | let parse_true = value(true, tag("true")); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | let parse_false = value(false, tag("false")); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | alt((parse_true, parse_false))(input) [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: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> src/parser/xml/qname.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] 33 | | result.push_str(p.as_str()); [INFO] [stdout] 34 | | result.push(':'); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] | +++++++ [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/parser/xml/parsexml.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 512 | let parse_hex = map( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | let parse_decimal = map(take_while_m_n(1, 6, |c: char| c.is_ascii_digit()), |dec| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 521 | / map_opt( [INFO] [stdout] 522 | | alt(( [INFO] [stdout] 523 | | delimited(tag("&#x"), parse_hex, tag(";")), [INFO] [stdout] 524 | | delimited(tag("&#"), parse_decimal, tag(";")), [INFO] [stdout] 525 | | )), [INFO] [stdout] 526 | | |value| Option::from(std::char::from_u32(value.unwrap()).unwrap().to_string()), [INFO] [stdout] 527 | | )(input) [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 8 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `panrelease` (lib test) due to 9 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "184e0cfb1edea7bb9c602d6fdc2ba412c1e99f49f38aaf436f68e0bf1f302c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "184e0cfb1edea7bb9c602d6fdc2ba412c1e99f49f38aaf436f68e0bf1f302c25", kill_on_drop: false }` [INFO] [stdout] 184e0cfb1edea7bb9c602d6fdc2ba412c1e99f49f38aaf436f68e0bf1f302c25