[INFO] fetching crate spr 1.3.4... [INFO] checking spr-1.3.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate spr 1.3.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate spr 1.3.4 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 spr 1.3.4 [INFO] finished tweaking crates.io crate spr 1.3.4 [INFO] tweaked toml for crates.io crate spr 1.3.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate spr 1.3.4 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f30bca22a0dbdf300b3458a7a697753c3b336dff26ab6d755c974bd87da8bb99 [INFO] running `Command { std: "docker" "start" "-a" "f30bca22a0dbdf300b3458a7a697753c3b336dff26ab6d755c974bd87da8bb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f30bca22a0dbdf300b3458a7a697753c3b336dff26ab6d755c974bd87da8bb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30bca22a0dbdf300b3458a7a697753c3b336dff26ab6d755c974bd87da8bb99", kill_on_drop: false }` [INFO] [stdout] f30bca22a0dbdf300b3458a7a697753c3b336dff26ab6d755c974bd87da8bb99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b77d14f76baf30d7556e6913116a8b1875a94c2652e98b4406fd4aaa58f7b298 [INFO] running `Command { std: "docker" "start" "-a" "b77d14f76baf30d7556e6913116a8b1875a94c2652e98b4406fd4aaa58f7b298", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Compiling hyperx v1.4.0 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Checking pem v1.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling snafu-derive v0.7.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking clap_lex v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling graphql-parser v0.4.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.3.0 [INFO] [stderr] Compiling clap_derive v3.2.6 [INFO] [stderr] Checking snafu v0.7.1 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking dialoguer v0.10.1 [INFO] [stderr] Checking lazy-regex v2.3.0 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking clap v3.2.6 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking jsonwebtoken v8.1.1 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling graphql_client_codegen v0.11.0 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking octocrab v0.16.0 [INFO] [stderr] Checking git2 v0.14.4 [INFO] [stderr] Compiling graphql_query_derive v0.11.0 [INFO] [stderr] Checking graphql_client v0.11.0 [INFO] [stderr] Checking spr v1.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::sync::MutexGuard<'_, git2::Repository>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/git.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn write_index(&self, mut index: git2::Index) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | Ok(index.write_tree_to(&*self.repo())?) [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 `std::sync::MutexGuard<'_, git2::Repository>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/git.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn write_index(&self, mut index: git2::Index) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | Ok(index.write_tree_to(&*self.repo())?) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spr` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spr` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b77d14f76baf30d7556e6913116a8b1875a94c2652e98b4406fd4aaa58f7b298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b77d14f76baf30d7556e6913116a8b1875a94c2652e98b4406fd4aaa58f7b298", kill_on_drop: false }` [INFO] [stdout] b77d14f76baf30d7556e6913116a8b1875a94c2652e98b4406fd4aaa58f7b298