[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] 3f946d0635ac466c74a7fe279e95f9898af23731 [INFO] building ronnychevalier/typope against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216-2 [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 is_ci v1.2.0 [INFO] [stderr] Downloaded range-traits v0.3.2 [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] [stderr] Downloaded cc-traits v2.0.0 [INFO] [stderr] Downloaded btree-range-map v0.7.2 [INFO] [stderr] Downloaded btree-slab v0.6.1 [INFO] [stderr] Downloaded clap v4.5.24 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded tree-sitter-go v0.21.2 [INFO] [stderr] Downloaded miette v7.4.0 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded clap_builder v4.5.24 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [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 unicode-width v0.1.14 [INFO] [stderr] Downloaded tree-sitter-md v0.2.3 [INFO] [stderr] Downloaded syn v2.0.95 [INFO] [stderr] Downloaded winnow v0.6.22 [INFO] [stderr] Downloaded object v0.36.7 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded rustix v0.38.43 [INFO] [stderr] Downloaded tree-sitter-rust v0.21.2 [INFO] [stderr] Downloaded textwrap v0.16.1 [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded tree-sitter-json v0.21.0 [INFO] [stderr] Downloaded cc v1.2.7 [INFO] [stderr] Downloaded clap_derive v4.5.24 [INFO] [stderr] Downloaded globset v0.4.15 [INFO] [stderr] Downloaded owo-colors v4.1.0 [INFO] [stderr] Downloaded backtrace-ext v0.2.1 [INFO] [stderr] Downloaded miette-derive v7.4.0 [INFO] [stderr] Downloaded supports-color v3.0.2 [INFO] [stderr] Downloaded terminal_size v0.4.1 [INFO] [stderr] Downloaded fastrand v2.3.0 [INFO] [stderr] Downloaded supports-hyperlinks v3.1.0 [INFO] [stderr] Downloaded supports-unicode v3.0.0 [INFO] [stderr] Downloaded unicode-linebreak v0.1.5 [INFO] [stderr] Downloaded tree-sitter-cpp v0.22.3 [INFO] [stderr] Downloaded tree-sitter-kotlin v0.3.8 [INFO] [stderr] Downloaded linux-raw-sys v0.4.15 [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] eebd9b99ac0c59bda4ac54e4fd696c13b41a79bd14fd2c143a99a99d88bff0e5 [INFO] running `Command { std: "docker" "start" "-a" "eebd9b99ac0c59bda4ac54e4fd696c13b41a79bd14fd2c143a99a99d88bff0e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eebd9b99ac0c59bda4ac54e4fd696c13b41a79bd14fd2c143a99a99d88bff0e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebd9b99ac0c59bda4ac54e4fd696c13b41a79bd14fd2c143a99a99d88bff0e5", kill_on_drop: false }` [INFO] [stdout] eebd9b99ac0c59bda4ac54e4fd696c13b41a79bd14fd2c143a99a99d88bff0e5 [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] c2e496835da9f35750471738b9c6fdb81c493747c402f467797cc4021c692427 [INFO] running `Command { std: "docker" "start" "-a" "c2e496835da9f35750471738b9c6fdb81c493747c402f467797cc4021c692427", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling cc-traits v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tree-sitter-kotlin v0.3.8 [INFO] [stderr] Compiling tree-sitter-md v0.2.3 [INFO] [stderr] Compiling tree-sitter-toml-ng v0.6.0 [INFO] [stderr] Compiling tree-sitter-python v0.21.0 [INFO] [stderr] Compiling tree-sitter-json v0.21.0 [INFO] [stderr] Compiling tree-sitter-yaml v0.6.1 [INFO] [stderr] Compiling tree-sitter-c v0.21.4 [INFO] [stderr] Compiling tree-sitter-go v0.21.2 [INFO] [stderr] Compiling tree-sitter-cpp v0.22.3 [INFO] [stderr] Compiling tree-sitter-rust v0.21.2 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling clap_builder v4.5.24 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling btree-slab v0.6.1 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling range-traits v0.3.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling miette v7.4.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling btree-range-map v0.7.2 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling clap v4.5.24 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling typope v0.3.1 (/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.95/src/error.rs:662:1 [INFO] [stdout] | [INFO] [stdout] 662 | 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 3m 01s [INFO] running `Command { std: "docker" "inspect" "c2e496835da9f35750471738b9c6fdb81c493747c402f467797cc4021c692427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e496835da9f35750471738b9c6fdb81c493747c402f467797cc4021c692427", kill_on_drop: false }` [INFO] [stdout] c2e496835da9f35750471738b9c6fdb81c493747c402f467797cc4021c692427 [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] a5f626ba657e7fcd7400e85bb3cb51762f92052ffe5aab985061e89c8acfb945 [INFO] running `Command { std: "docker" "start" "-a" "a5f626ba657e7fcd7400e85bb3cb51762f92052ffe5aab985061e89c8acfb945", 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] [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] Compiling typope v0.3.1 (/opt/rustwide/workdir) [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.95/src/error.rs:662:1 [INFO] [stdout] | [INFO] [stdout] 662 | 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 8.30s [INFO] running `Command { std: "docker" "inspect" "a5f626ba657e7fcd7400e85bb3cb51762f92052ffe5aab985061e89c8acfb945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f626ba657e7fcd7400e85bb3cb51762f92052ffe5aab985061e89c8acfb945", kill_on_drop: false }` [INFO] [stdout] a5f626ba657e7fcd7400e85bb3cb51762f92052ffe5aab985061e89c8acfb945