[INFO] fetching crate cargo-watch 8.5.2... [INFO] checking cargo-watch-8.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-watch 8.5.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cargo-watch 8.5.2 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 cargo-watch 8.5.2 [INFO] finished tweaking crates.io crate cargo-watch 8.5.2 [INFO] tweaked toml for crates.io crate cargo-watch 8.5.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-watch 8.5.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fec6b5b5efded6bea416dc12c2bf0e776ee2bab9db23381b3a8a6cbb21ac3a59 [INFO] running `Command { std: "docker" "start" "-a" "fec6b5b5efded6bea416dc12c2bf0e776ee2bab9db23381b3a8a6cbb21ac3a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec6b5b5efded6bea416dc12c2bf0e776ee2bab9db23381b3a8a6cbb21ac3a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec6b5b5efded6bea416dc12c2bf0e776ee2bab9db23381b3a8a6cbb21ac3a59", kill_on_drop: false }` [INFO] [stdout] fec6b5b5efded6bea416dc12c2bf0e776ee2bab9db23381b3a8a6cbb21ac3a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 483729bc63d31ed259200a0f22d9f2ef31da8fea5fe55c461fc5d748c53db864 [INFO] running `Command { std: "docker" "start" "-a" "483729bc63d31ed259200a0f22d9f2ef31da8fea5fe55c461fc5d748c53db864", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling winnow v0.5.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking event-listener v4.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling terminfo v0.7.5 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking xdg-home v1.0.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking command-group v1.0.8 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking clearscreen v1.0.11 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Checking watchexec v1.17.2 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking cargo-platform v0.1.6 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking cargo_metadata v0.17.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking zbus v3.14.1 [INFO] [stderr] Checking notify-rust v4.10.0 [INFO] [stderr] Checking cargo-watch v8.5.2 (/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/options.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 196 | let metadata = MetadataCommand::new() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let resolve = match metadata.resolve { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | None => return Ok(Vec::new()), [INFO] [stdout] 202 | Some(resolve) => resolve, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | let mut pkgids_seen = HashSet::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let mut local_deps = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | Ok(local_deps.into_iter().collect::>()) [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/options.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 196 | let metadata = MetadataCommand::new() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let resolve = match metadata.resolve { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | None => return Ok(Vec::new()), [INFO] [stdout] 202 | Some(resolve) => resolve, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | let mut pkgids_seen = HashSet::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let mut local_deps = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | Ok(local_deps.into_iter().collect::>()) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-watch` (bin "cargo-watch") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-watch` (bin "cargo-watch" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "483729bc63d31ed259200a0f22d9f2ef31da8fea5fe55c461fc5d748c53db864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483729bc63d31ed259200a0f22d9f2ef31da8fea5fe55c461fc5d748c53db864", kill_on_drop: false }` [INFO] [stdout] 483729bc63d31ed259200a0f22d9f2ef31da8fea5fe55c461fc5d748c53db864