[INFO] fetching crate scallop 0.0.16... [INFO] checking scallop-0.0.16 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate scallop 0.0.16 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate scallop 0.0.16 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 scallop 0.0.16 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate scallop 0.0.16 [INFO] tweaked toml for crates.io crate scallop 0.0.16 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate scallop 0.0.16 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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6d96e94e7ec708fddbac49e99400ba629229e251fd8430f2b6a6af66527d793 [INFO] running `Command { std: "docker" "start" "-a" "c6d96e94e7ec708fddbac49e99400ba629229e251fd8430f2b6a6af66527d793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6d96e94e7ec708fddbac49e99400ba629229e251fd8430f2b6a6af66527d793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d96e94e7ec708fddbac49e99400ba629229e251fd8430f2b6a6af66527d793", kill_on_drop: false }` [INFO] [stdout] c6d96e94e7ec708fddbac49e99400ba629229e251fd8430f2b6a6af66527d793 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e77ec18e49ff5f91f16e01c2edb7ec609aef9f46b8706a3056e2ee0c0f7e5bb1 [INFO] running `Command { std: "docker" "start" "-a" "e77ec18e49ff5f91f16e01c2edb7ec609aef9f46b8706a3056e2ee0c0f7e5bb1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling autotools v0.2.7 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling scallop v0.0.16 (/opt/rustwide/workdir) [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking ipc-channel v0.18.2 [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn str_to_raw>(s: S) -> *mut c_char { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | try_ptr_from_str!(s.as_ref()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 24 | match std::ffi::CString::new($s) { [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] = note: this error originates in the macro `try_ptr_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/shell.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | format!("{version}.{}", bash::PATCH_LEVEL) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scallop` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn str_to_raw>(s: S) -> *mut c_char { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | try_ptr_from_str!(s.as_ref()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 24 | match std::ffi::CString::new($s) { [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] = note: this error originates in the macro `try_ptr_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/shell.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | format!("{version}.{}", bash::PATCH_LEVEL) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scallop` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e77ec18e49ff5f91f16e01c2edb7ec609aef9f46b8706a3056e2ee0c0f7e5bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77ec18e49ff5f91f16e01c2edb7ec609aef9f46b8706a3056e2ee0c0f7e5bb1", kill_on_drop: false }` [INFO] [stdout] e77ec18e49ff5f91f16e01c2edb7ec609aef9f46b8706a3056e2ee0c0f7e5bb1