[INFO] fetching crate snipdoc 0.1.12... [INFO] checking snipdoc-0.1.12 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate snipdoc 0.1.12 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate snipdoc 0.1.12 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snipdoc 0.1.12 [INFO] finished tweaking crates.io crate snipdoc 0.1.12 [INFO] tweaked toml for crates.io crate snipdoc 0.1.12 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate snipdoc 0.1.12 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] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25a48510380e26468a1d232f7faf8a11d820a804bf07ca1b495c05aa03ea0e3e [INFO] running `Command { std: "docker" "start" "-a" "25a48510380e26468a1d232f7faf8a11d820a804bf07ca1b495c05aa03ea0e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25a48510380e26468a1d232f7faf8a11d820a804bf07ca1b495c05aa03ea0e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25a48510380e26468a1d232f7faf8a11d820a804bf07ca1b495c05aa03ea0e3e", kill_on_drop: false }` [INFO] [stdout] 25a48510380e26468a1d232f7faf8a11d820a804bf07ca1b495c05aa03ea0e3e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e501ecf04b6a5fbb6095a50d832853cd511d814aa19c01b2f755b123c01ff20 [INFO] running `Command { std: "docker" "start" "-a" "8e501ecf04b6a5fbb6095a50d832853cd511d814aa19c01b2f755b123c01ff20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking snapbox-macros v0.3.9 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking snapbox v0.5.13 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling automod v1.0.14 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking tree-fs v0.1.0 [INFO] [stderr] Checking scraper v0.19.0 [INFO] [stderr] Checking snipdoc v0.1.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking trycmd v0.15.2 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/collector.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | .flat_map(|path| Self::file(path.as_path()).map(|findings| (path.clone(), findings))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/injector.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | .filter_map(|path| match RFile::new(path) { [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/walk.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 96 | let (tx, rx) = mpsc::channel(); [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] 121 | rx.into_iter().collect::>() [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/walk.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 96 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let tx = tx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Box::new(move |result| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 102 | | result.map_or_else( [INFO] [stdout] 103 | | |err| { [INFO] [stdout] 104 | | tracing::error!(err = %err,"dir entry error "); [INFO] [stdout] ... | [INFO] [stdout] 117 | | ignore::WalkState::Continue [INFO] [stdout] 118 | | }) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snipdoc` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8e501ecf04b6a5fbb6095a50d832853cd511d814aa19c01b2f755b123c01ff20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e501ecf04b6a5fbb6095a50d832853cd511d814aa19c01b2f755b123c01ff20", kill_on_drop: false }` [INFO] [stdout] 8e501ecf04b6a5fbb6095a50d832853cd511d814aa19c01b2f755b123c01ff20