[INFO] fetching crate rdocs 0.1.2... [INFO] checking rdocs-0.1.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate rdocs 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rdocs 0.1.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rdocs 0.1.2 [INFO] finished tweaking crates.io crate rdocs 0.1.2 [INFO] tweaked toml for crates.io crate rdocs 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rdocs 0.1.2 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191b646836c146181e7f7580fc4cc45af1b6a30fa213cc102a3f1f9115dd4e11 [INFO] running `Command { std: "docker" "start" "-a" "191b646836c146181e7f7580fc4cc45af1b6a30fa213cc102a3f1f9115dd4e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191b646836c146181e7f7580fc4cc45af1b6a30fa213cc102a3f1f9115dd4e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191b646836c146181e7f7580fc4cc45af1b6a30fa213cc102a3f1f9115dd4e11", kill_on_drop: false }` [INFO] [stdout] 191b646836c146181e7f7580fc4cc45af1b6a30fa213cc102a3f1f9115dd4e11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d0566b1af23e5d08046d2c2e9e728e3a2ea71e7a4e9de93d0f07cf06a837bbb [INFO] running `Command { std: "docker" "start" "-a" "1d0566b1af23e5d08046d2c2e9e728e3a2ea71e7a4e9de93d0f07cf06a837bbb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking snapbox-macros v0.3.8 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking snapbox v0.5.8 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling pest v2.7.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Compiling pest_meta v2.7.8 [INFO] [stderr] Compiling pest_generator v2.7.8 [INFO] [stderr] Compiling pest_derive v2.7.8 [INFO] [stderr] Checking serde_yaml v0.9.32 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking insta v1.36.1 [INFO] [stderr] Checking toml_edit v0.22.7 [INFO] [stderr] Checking rdocs v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tree-fs v0.1.0 [INFO] [stdout] error: this value of type `Result, ParseError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 100 | let span = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | tracing::span!(tracing::Level::TRACE, "collect_file", path = %path.display()); [INFO] [stdout] 102 | let _guard = span.enter(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | match parse_content.extract() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, ReplacerError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replacer.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 85 | let span = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | tracing::span!(tracing::Level::TRACE, "replace_content", path = %path.display()); [INFO] [stdout] 87 | let _guard = span.enter(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | [INFO] [stdout] 89 | match self.replace_with_save(path, parse_contents) { [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: this value of type `Result<(std::string::String, Vec), ReplacerError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/replacer.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 114 | let span = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | tracing::span!(tracing::Level::TRACE, "replace_content", path = %path.display()); [INFO] [stdout] 116 | let _guard = span.enter(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | match self.replace(path, parse_contents) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rdocs` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1d0566b1af23e5d08046d2c2e9e728e3a2ea71e7a4e9de93d0f07cf06a837bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0566b1af23e5d08046d2c2e9e728e3a2ea71e7a4e9de93d0f07cf06a837bbb", kill_on_drop: false }` [INFO] [stdout] 1d0566b1af23e5d08046d2c2e9e728e3a2ea71e7a4e9de93d0f07cf06a837bbb