[INFO] fetching crate os-checker 0.1.1... [INFO] checking os-checker-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate os-checker 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate os-checker 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] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate os-checker 0.1.1 [INFO] finished tweaking crates.io crate os-checker 0.1.1 [INFO] tweaked toml for crates.io crate os-checker 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate os-checker 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d930c22517861be6292e10bf1c9254f9b008c79e330bd92c15c8bc9116e3b9fb [INFO] running `Command { std: "docker" "start" "-a" "d930c22517861be6292e10bf1c9254f9b008c79e330bd92c15c8bc9116e3b9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d930c22517861be6292e10bf1c9254f9b008c79e330bd92c15c8bc9116e3b9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d930c22517861be6292e10bf1c9254f9b008c79e330bd92c15c8bc9116e3b9fb", kill_on_drop: false }` [INFO] [stdout] d930c22517861be6292e10bf1c9254f9b008c79e330bd92c15c8bc9116e3b9fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 14409617790e3bee14e04fef27b195b07befbf06b7ed7d9e35139d38c91cf617 [INFO] running `Command { std: "docker" "start" "-a" "14409617790e3bee14e04fef27b195b07befbf06b7ed7d9e35139d38c91cf617", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking ansitok v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking prettydiff v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking ansi-str v0.8.0 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking yash-syntax v0.10.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking marked-yaml v0.7.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking os-checker v0.1.1 (/opt/rustwide/workdir) [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/cli/mod.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | self.repos()?.map(|repo| repo?.try_into()).collect() [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repo/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | let parsed: BTreeMap> = marked_yaml::from_yaml(0, yaml) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | .with_context(|| "仓库配置解析错误,请检查 yaml 格式或者内容是否正确")?; [INFO] [stdout] 31 | / parsed [INFO] [stdout] 32 | | .into_iter() [INFO] [stdout] 33 | | .map(|(key, config)| { [INFO] [stdout] 34 | | (Config { [INFO] [stdout] ... | [INFO] [stdout] 38 | | .check() [INFO] [stdout] 39 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/repo/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 33 | .map(|(key, config)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | / (Config { [INFO] [stdout] 35 | | uri: uri::uri(key)?, [INFO] [stdout] 36 | | config, [INFO] [stdout] 37 | | }) [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/repo/uri.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | LazyLock::new(|| Regex::new(r#"(.*/)*(?P.*?)/(?P.*?)(\.git)?$"#).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/repo/uri.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 81 | let ((user, repo), tag) = match key.strip_prefix("file://") { [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] 91 | 0 => bail!( [INFO] [stdout] | ______________________- [INFO] [stdout] 92 | | "{key} 不是正确的代码库来源;请指定以下一种格式:\ [INFO] [stdout] 93 | | `file://localpath`;github 的 `user/repo`;完整的 git 仓库地址" [INFO] [stdout] 94 | | ), [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Uri { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] 102 | | tag, [INFO] [stdout] 103 | | user, [INFO] [stdout] 104 | | repo, [INFO] [stdout] ... | [INFO] [stdout] 107 | | _local_tmp_dir: None, [INFO] [stdout] 108 | | }) [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] | |_____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] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/repo/uri.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 113 | let cap = USER_REPO.captures(key).with_context(f)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let user = cap.name("user").with_context(f)?.as_str().into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | let repo = cap.name("repo").with_context(f)?.as_str().into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Ok((user, repo)) [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] | 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/run_checker/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn try_from(config: Config) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let repo = Repo::try_from(config)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Ok(RepoStat { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | stat: repo.outputs_and_statistics()?, [INFO] [stdout] 75 | | repo, [INFO] [stdout] 76 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/run_checker/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | fn try_from(repo: Repo) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Ok(RepoStat { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | stat: repo.outputs_and_statistics()?, [INFO] [stdout] 86 | | repo, [INFO] [stdout] 87 | | }) [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/run_checker/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(repo_root: &str, dirs_excluded: &[&str], config: Config) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let layout = Layout::parse(repo_root, dirs_excluded) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | .with_context(|| eyre!("无法解析 `{repo_root}` 内的 Rust 项目布局"))?; [INFO] [stdout] 101 | Ok(Self { layout, config }) [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/run_checker/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 157 | let parsed = match resolve.checker { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | CheckerTool::Fmt => { [INFO] [stdout] 159 | let fmt = serde_json::from_slice(stdout).with_context(|| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | let package_name = XString::from(resolve.package.name); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | trace!(%package_root, %package_name); [INFO] [stdout] 192 | Ok(Output { [INFO] [stdout] | ________^ [INFO] [stdout] 193 | | raw, [INFO] [stdout] 194 | | parsed, [INFO] [stdout] 195 | | count, [INFO] [stdout] ... | [INFO] [stdout] 199 | | checker: resolve.checker, [INFO] [stdout] 200 | | }) [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] | | 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] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/run_checker/mod.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 169 | .map(|mes| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | mes.map(ClippyMessage::from).with_context(|| { [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/run_checker/mod.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | warnings: Regex::new(r#"(?P\d+) warnings?"#).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/run_checker/mod.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | errors: Regex::new(r#"(?P\d+)( \w+)? errors?"#).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/run_checker/mod.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 400 | fn from(inner: CargoMessage) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | ClippyMessage { [INFO] [stdout] 402 | tag: extract_cargo_message(&inner), [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/run_checker/analysis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(outputs: Vec) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / outputs [INFO] [stdout] 29 | | .into_iter() [INFO] [stdout] 30 | | .chunk_by(|out| out.package_name.clone()) [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/run_checker/analysis.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 77 | let kinds: IndexMap<_, _> = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | key: key.to_compact_string(), [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/run_checker/analysis.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 77 | let kinds: IndexMap<_, _> = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | data: Data { [INFO] [stdout] | ___________________^ [INFO] [stdout] 89 | | user: user.clone(), [INFO] [stdout] 90 | | repo: repo.clone(), [INFO] [stdout] 91 | | package: self.pkg_name.clone(), [INFO] [stdout] 92 | | total_count: kinds.values().sum(), // 由于筛选了 Kind,这里不能直接使用 total_count [INFO] [stdout] 93 | | kinds, [INFO] [stdout] 94 | | }, [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/run_checker/analysis.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 77 | let kinds: IndexMap<_, _> = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | children: None, [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/run_checker/analysis.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 346 | user: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | repo: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | ) -> TreeNode { [INFO] [stdout] 349 | let key_str = key.to_compact_string(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | let children = stat [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | let kinds: IndexMap<_, _> = kinds [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | data: Data { [INFO] [stdout] | ___________________^ [INFO] [stdout] 370 | | user, [INFO] [stdout] 371 | | repo, [INFO] [stdout] 372 | | package: XString::default(), [INFO] [stdout] 373 | | total_count, [INFO] [stdout] 374 | | kinds, [INFO] [stdout] 375 | | }, [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/run_checker/analysis.rs:376:23 [INFO] [stdout] | [INFO] [stdout] 346 | user: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | repo: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | ) -> TreeNode { [INFO] [stdout] 349 | let key_str = key.to_compact_string(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | let children = stat [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | let kinds: IndexMap<_, _> = kinds [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | children: Some(children), [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `os-checker` (bin "os-checker") due to 21 previous errors [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/cli/mod.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | self.repos()?.map(|repo| repo?.try_into()).collect() [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repo/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | let parsed: BTreeMap> = marked_yaml::from_yaml(0, yaml) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | .with_context(|| "仓库配置解析错误,请检查 yaml 格式或者内容是否正确")?; [INFO] [stdout] 31 | / parsed [INFO] [stdout] 32 | | .into_iter() [INFO] [stdout] 33 | | .map(|(key, config)| { [INFO] [stdout] 34 | | (Config { [INFO] [stdout] ... | [INFO] [stdout] 38 | | .check() [INFO] [stdout] 39 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/repo/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 33 | .map(|(key, config)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | / (Config { [INFO] [stdout] 35 | | uri: uri::uri(key)?, [INFO] [stdout] 36 | | config, [INFO] [stdout] 37 | | }) [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/repo/uri.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | LazyLock::new(|| Regex::new(r#"(.*/)*(?P.*?)/(?P.*?)(\.git)?$"#).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/repo/uri.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 81 | let ((user, repo), tag) = match key.strip_prefix("file://") { [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] 91 | 0 => bail!( [INFO] [stdout] | ______________________- [INFO] [stdout] 92 | | "{key} 不是正确的代码库来源;请指定以下一种格式:\ [INFO] [stdout] 93 | | `file://localpath`;github 的 `user/repo`;完整的 git 仓库地址" [INFO] [stdout] 94 | | ), [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Uri { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] 102 | | tag, [INFO] [stdout] 103 | | user, [INFO] [stdout] 104 | | repo, [INFO] [stdout] ... | [INFO] [stdout] 107 | | _local_tmp_dir: None, [INFO] [stdout] 108 | | }) [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] | |_____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] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/repo/uri.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 113 | let cap = USER_REPO.captures(key).with_context(f)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let user = cap.name("user").with_context(f)?.as_str().into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | let repo = cap.name("repo").with_context(f)?.as_str().into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Ok((user, repo)) [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] | 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/repo/tests.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|c| (&c.uri, c.config.checker_action().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/run_checker/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn try_from(config: Config) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let repo = Repo::try_from(config)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Ok(RepoStat { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | stat: repo.outputs_and_statistics()?, [INFO] [stdout] 75 | | repo, [INFO] [stdout] 76 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/run_checker/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | fn try_from(repo: Repo) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Ok(RepoStat { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | stat: repo.outputs_and_statistics()?, [INFO] [stdout] 86 | | repo, [INFO] [stdout] 87 | | }) [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/run_checker/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(repo_root: &str, dirs_excluded: &[&str], config: Config) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let layout = Layout::parse(repo_root, dirs_excluded) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | .with_context(|| eyre!("无法解析 `{repo_root}` 内的 Rust 项目布局"))?; [INFO] [stdout] 101 | Ok(Self { layout, config }) [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/run_checker/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 157 | let parsed = match resolve.checker { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | CheckerTool::Fmt => { [INFO] [stdout] 159 | let fmt = serde_json::from_slice(stdout).with_context(|| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | let package_name = XString::from(resolve.package.name); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | trace!(%package_root, %package_name); [INFO] [stdout] 192 | Ok(Output { [INFO] [stdout] | ________^ [INFO] [stdout] 193 | | raw, [INFO] [stdout] 194 | | parsed, [INFO] [stdout] 195 | | count, [INFO] [stdout] ... | [INFO] [stdout] 199 | | checker: resolve.checker, [INFO] [stdout] 200 | | }) [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] | | 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] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/run_checker/mod.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 169 | .map(|mes| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | mes.map(ClippyMessage::from).with_context(|| { [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/run_checker/mod.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | warnings: Regex::new(r#"(?P\d+) warnings?"#).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/run_checker/mod.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | errors: Regex::new(r#"(?P\d+)( \w+)? errors?"#).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/run_checker/mod.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 400 | fn from(inner: CargoMessage) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | ClippyMessage { [INFO] [stdout] 402 | tag: extract_cargo_message(&inner), [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/run_checker/analysis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(outputs: Vec) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / outputs [INFO] [stdout] 29 | | .into_iter() [INFO] [stdout] 30 | | .chunk_by(|out| out.package_name.clone()) [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/run_checker/analysis.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 77 | let kinds: IndexMap<_, _> = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | key: key.to_compact_string(), [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/run_checker/analysis.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 77 | let kinds: IndexMap<_, _> = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | data: Data { [INFO] [stdout] | ___________________^ [INFO] [stdout] 89 | | user: user.clone(), [INFO] [stdout] 90 | | repo: repo.clone(), [INFO] [stdout] 91 | | package: self.pkg_name.clone(), [INFO] [stdout] 92 | | total_count: kinds.values().sum(), // 由于筛选了 Kind,这里不能直接使用 total_count [INFO] [stdout] 93 | | kinds, [INFO] [stdout] 94 | | }, [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/run_checker/analysis.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 77 | let kinds: IndexMap<_, _> = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | children: None, [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/run_checker/analysis.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 346 | user: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | repo: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | ) -> TreeNode { [INFO] [stdout] 349 | let key_str = key.to_compact_string(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | let children = stat [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | let kinds: IndexMap<_, _> = kinds [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | data: Data { [INFO] [stdout] | ___________________^ [INFO] [stdout] 370 | | user, [INFO] [stdout] 371 | | repo, [INFO] [stdout] 372 | | package: XString::default(), [INFO] [stdout] 373 | | total_count, [INFO] [stdout] 374 | | kinds, [INFO] [stdout] 375 | | }, [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/run_checker/analysis.rs:376:23 [INFO] [stdout] | [INFO] [stdout] 346 | user: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | repo: XString, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | ) -> TreeNode { [INFO] [stdout] 349 | let key_str = key.to_compact_string(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | let children = stat [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | let kinds: IndexMap<_, _> = kinds [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | children: Some(children), [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 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `os-checker` (bin "os-checker" test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "14409617790e3bee14e04fef27b195b07befbf06b7ed7d9e35139d38c91cf617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14409617790e3bee14e04fef27b195b07befbf06b7ed7d9e35139d38c91cf617", kill_on_drop: false }` [INFO] [stdout] 14409617790e3bee14e04fef27b195b07befbf06b7ed7d9e35139d38c91cf617