[INFO] fetching crate projectable 1.3.0... [INFO] checking projectable-1.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate projectable 1.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate projectable 1.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate projectable 1.3.0 [INFO] finished tweaking crates.io crate projectable 1.3.0 [INFO] tweaked toml for crates.io crate projectable 1.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate projectable 1.3.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9086d30d750fa6c8381dbf25f43297a87a1544960cb9426cce7054185128ae4 [INFO] running `Command { std: "docker" "start" "-a" "d9086d30d750fa6c8381dbf25f43297a87a1544960cb9426cce7054185128ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9086d30d750fa6c8381dbf25f43297a87a1544960cb9426cce7054185128ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9086d30d750fa6c8381dbf25f43297a87a1544960cb9426cce7054185128ae4", kill_on_drop: false }` [INFO] [stdout] d9086d30d750fa6c8381dbf25f43297a87a1544960cb9426cce7054185128ae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b586f04ac328381de4df993d38c98d392158a2002c7a1b0b3bbe789c612a913d [INFO] running `Command { std: "docker" "start" "-a" "b586f04ac328381de4df993d38c98d392158a2002c7a1b0b3bbe789c612a913d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling serde_derive v1.0.158 [INFO] [stderr] Compiling serde v1.0.158 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling io-lifetimes v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Compiling openssl-src v111.26.0+1.1.1u [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Checking bstr v1.3.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.5 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Checking unicode-bidi v0.3.12 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking winnow v0.3.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking filetime v0.2.20 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking anstyle-parse v0.1.1 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking concolor-query v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking concolor-override v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.22 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking anstyle v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking clap_builder v4.3.4 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking anstream v0.2.6 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking uuid v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking os_pipe v1.1.4 [INFO] [stderr] Checking predicates-core v1.0.5 [INFO] [stderr] Checking file-id v0.1.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking duct v0.13.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking human-sort v0.2.2 [INFO] [stderr] Checking termtree v0.4.0 [INFO] [stderr] Checking easy-cast v0.5.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking easy_switch v0.1.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking collect-all v0.1.0 [INFO] [stderr] Checking predicates-tree v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling test-log v0.2.11 [INFO] [stderr] Checking clap v4.3.4 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Checking serde_spanned v0.6.1 [INFO] [stderr] Checking toml_datetime v0.6.1 [INFO] [stderr] Checking toml_edit v0.19.7 [INFO] [stderr] Checking notify v6.0.1 [INFO] [stderr] Checking os_info v3.7.0 [INFO] [stderr] Checking notify-debouncer-full v0.2.0 [INFO] [stderr] Checking tui-textarea v0.2.0 [INFO] [stderr] Checking tui-logger v0.8.3 [INFO] [stderr] Checking ansi-to-tui v2.0.2 [INFO] [stderr] Checking rust_search v2.1.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking assert_fs v1.0.10 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking toml v0.7.3 [INFO] [stderr] Checking human-panic v1.1.3 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking git2 v0.16.1 [INFO] [stderr] Checking projectable v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `filetree::Filetree` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/components/filetree.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 85 | config: Rc, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | ..Self::from_dir(path, queue)? [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 `preview_file::PreviewFile` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/components/preview_file.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn with_config(config: Rc) -> Self { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | ..Self::new() [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `filetree::Filetree` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/components/filetree.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 85 | config: Rc, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | ..Self::from_dir(path, queue)? [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] [stderr] error: could not compile `projectable` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `preview_file::PreviewFile` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/components/preview_file.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn with_config(config: Rc) -> Self { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | ..Self::new() [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 `TempDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/marks.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let temp = TempDir::new().expect("should have no error create temp dir"); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | / defer! { [INFO] [stdout] 158 | | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `TempDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/marks.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let temp = TempDir::new().expect("should have no error create temp dir"); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | / defer! { [INFO] [stdout] 175 | | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] 176 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `TempDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/marks.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let temp = temp_marks("{}"); [INFO] [stdout] | ^^^^ [INFO] [stdout] 200 | / defer! { [INFO] [stdout] 201 | | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] 202 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `TempDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/marks.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let temp = temp_marks("{\"/other_project\": [\"mark\"]}"); [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | / defer! { [INFO] [stdout] 216 | | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] 217 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `projectable` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b586f04ac328381de4df993d38c98d392158a2002c7a1b0b3bbe789c612a913d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b586f04ac328381de4df993d38c98d392158a2002c7a1b0b3bbe789c612a913d", kill_on_drop: false }` [INFO] [stdout] b586f04ac328381de4df993d38c98d392158a2002c7a1b0b3bbe789c612a913d