[INFO] cloning repository https://github.com/ronnychevalier/typope [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronnychevalier/typope" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronnychevalier%2Ftypope", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronnychevalier%2Ftypope'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b56e8965efec4329b6ab402859aed6989d72296e [INFO] building ronnychevalier/typope against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronnychevalier%2Ftypope" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ronnychevalier/typope on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ronnychevalier/typope [INFO] finished tweaking git repo https://github.com/ronnychevalier/typope [INFO] tweaked toml for git repo https://github.com/ronnychevalier/typope written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ronnychevalier/typope 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-toml-ng v0.6.0 [INFO] [stderr] Downloaded tree-sitter-json v0.21.0 [INFO] [stderr] Downloaded range-traits v0.3.2 [INFO] [stderr] Downloaded cc-traits v2.0.0 [INFO] [stderr] Downloaded btree-slab v0.6.1 [INFO] [stderr] Downloaded btree-range-map v0.7.2 [INFO] [stderr] Downloaded tree-sitter-go v0.21.2 [INFO] [stderr] Downloaded tree-sitter-python v0.21.0 [INFO] [stderr] Downloaded tree-sitter-yaml v0.6.1 [INFO] [stderr] Downloaded tree-sitter-c v0.21.4 [INFO] [stderr] Downloaded tree-sitter-md v0.2.3 [INFO] [stderr] Downloaded tree-sitter-rust v0.21.2 [INFO] [stderr] Downloaded tree-sitter-cpp v0.22.3 [INFO] [stderr] Downloaded tree-sitter-kotlin v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c91678b56d102c7360bf3e8624079ac747191fab6baa1fe9afb4a133904748ff [INFO] running `Command { std: "docker" "start" "-a" "c91678b56d102c7360bf3e8624079ac747191fab6baa1fe9afb4a133904748ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91678b56d102c7360bf3e8624079ac747191fab6baa1fe9afb4a133904748ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91678b56d102c7360bf3e8624079ac747191fab6baa1fe9afb4a133904748ff", kill_on_drop: false }` [INFO] [stdout] c91678b56d102c7360bf3e8624079ac747191fab6baa1fe9afb4a133904748ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f79de57702f0a4f962e2dd586b72d7b66155834b97d4207b79fa1e12d690018 [INFO] running `Command { std: "docker" "start" "-a" "0f79de57702f0a4f962e2dd586b72d7b66155834b97d4207b79fa1e12d690018", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling object v0.36.3 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cc-traits v2.0.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling tree-sitter-yaml v0.6.1 [INFO] [stderr] Compiling tree-sitter-md v0.2.3 [INFO] [stderr] Compiling tree-sitter-rust v0.21.2 [INFO] [stderr] Compiling tree-sitter-toml-ng v0.6.0 [INFO] [stderr] Compiling tree-sitter-c v0.21.4 [INFO] [stderr] Compiling tree-sitter-python v0.21.0 [INFO] [stderr] Compiling tree-sitter-cpp v0.22.3 [INFO] [stderr] Compiling tree-sitter-kotlin v0.3.8 [INFO] [stderr] Compiling tree-sitter-go v0.21.2 [INFO] [stderr] Compiling tree-sitter-json v0.21.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling supports-color v3.0.0 [INFO] [stderr] Compiling btree-slab v0.6.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling range-traits v0.3.2 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling btree-range-map v0.7.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling typope v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(typos) = typos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `-W if-let-rescope` implied by `-W rust-2024-compatibility` [INFO] [stdout] = help: to override `-W rust-2024-compatibility` add `#[allow(if_let_rescope)]` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match typos { Some(typos) => { [INFO] [stdout] 116 | Ok(Some(typos)) [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | Ok(None) [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(typos) = config.tool.typos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match config.tool.typos { Some(typos) => { [INFO] [stdout] 126 | Ok(Some(typos)) [INFO] [stdout] 127 ~ } _ => { [INFO] [stdout] 128 | Ok(None) [INFO] [stdout] 129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cli.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(derived) = Config::from_dir(ancestor)? { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `derived` calls a custom destructor [INFO] [stdout] | `derived` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.86/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `derived` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `-W tail-expr-drop-order` implied by `-W rust-2024-compatibility` [INFO] [stdout] = help: to override `-W rust-2024-compatibility` add `#[allow(tail_expr_drop_order)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "0f79de57702f0a4f962e2dd586b72d7b66155834b97d4207b79fa1e12d690018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f79de57702f0a4f962e2dd586b72d7b66155834b97d4207b79fa1e12d690018", kill_on_drop: false }` [INFO] [stdout] 0f79de57702f0a4f962e2dd586b72d7b66155834b97d4207b79fa1e12d690018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5b8f218131ab5179f44db1e47b18881e1c64b1e750a846ab29202b47e7e215 [INFO] running `Command { std: "docker" "start" "-a" "6f5b8f218131ab5179f44db1e47b18881e1c64b1e750a846ab29202b47e7e215", kill_on_drop: false }` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(typos) = typos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `-W if-let-rescope` implied by `-W rust-2024-compatibility` [INFO] [stdout] = help: to override `-W rust-2024-compatibility` add `#[allow(if_let_rescope)]` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match typos { Some(typos) => { [INFO] [stdout] 116 | Ok(Some(typos)) [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | Ok(None) [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling typope v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(typos) = config.tool.typos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match config.tool.typos { Some(typos) => { [INFO] [stdout] 126 | Ok(Some(typos)) [INFO] [stdout] 127 ~ } _ => { [INFO] [stdout] 128 | Ok(None) [INFO] [stdout] 129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cli.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(derived) = Config::from_dir(ancestor)? { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `derived` calls a custom destructor [INFO] [stdout] | `derived` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.86/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `derived` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `-W tail-expr-drop-order` implied by `-W rust-2024-compatibility` [INFO] [stdout] = help: to override `-W rust-2024-compatibility` add `#[allow(tail_expr_drop_order)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(typos) = typos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `-W if-let-rescope` implied by `-W rust-2024-compatibility` [INFO] [stdout] = help: to override `-W rust-2024-compatibility` add `#[allow(if_let_rescope)]` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match typos { Some(typos) => { [INFO] [stdout] 116 | Ok(Some(typos)) [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | Ok(None) [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(typos) = config.tool.typos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match config.tool.typos { Some(typos) => { [INFO] [stdout] 126 | Ok(Some(typos)) [INFO] [stdout] 127 ~ } _ => { [INFO] [stdout] 128 | Ok(None) [INFO] [stdout] 129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 7.88s [INFO] running `Command { std: "docker" "inspect" "6f5b8f218131ab5179f44db1e47b18881e1c64b1e750a846ab29202b47e7e215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5b8f218131ab5179f44db1e47b18881e1c64b1e750a846ab29202b47e7e215", kill_on_drop: false }` [INFO] [stdout] 6f5b8f218131ab5179f44db1e47b18881e1c64b1e750a846ab29202b47e7e215