[INFO] cloning repository https://github.com/PietPtr/PapierMache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PietPtr/PapierMache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPietPtr%2FPapierMache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPietPtr%2FPapierMache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c077b5be7f0d4835537aeeabdf74e2647a244c6e [INFO] checking PietPtr/PapierMache/c077b5be7f0d4835537aeeabdf74e2647a244c6e against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPietPtr%2FPapierMache" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PietPtr/PapierMache 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 git repo https://github.com/PietPtr/PapierMache [INFO] finished tweaking git repo https://github.com/PietPtr/PapierMache [INFO] tweaked toml for git repo https://github.com/PietPtr/PapierMache written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PietPtr/PapierMache 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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4d27fa45256a67b2e0fb3125d39a417064de215c3ff20a3749b9410367c842e8 [INFO] running `Command { std: "docker" "start" "-a" "4d27fa45256a67b2e0fb3125d39a417064de215c3ff20a3749b9410367c842e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d27fa45256a67b2e0fb3125d39a417064de215c3ff20a3749b9410367c842e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d27fa45256a67b2e0fb3125d39a417064de215c3ff20a3749b9410367c842e8", kill_on_drop: false }` [INFO] [stdout] 4d27fa45256a67b2e0fb3125d39a417064de215c3ff20a3749b9410367c842e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a9b7aaf0166e5c3580016ac9cc98ef72f68a78134798d51b6e3433fcc38f07d1 [INFO] running `Command { std: "docker" "start" "-a" "a9b7aaf0166e5c3580016ac9cc98ef72f68a78134798d51b6e3433fcc38f07d1", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.0.102 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking papier v0.1.0 (/opt/rustwide/workdir/base) [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `hash_map::Entry` [INFO] [stdout] --> base/src/papier.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{hash_map::Entry, HashMap}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | str::FromStr, [INFO] [stdout] 4 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `hash_map::Entry` [INFO] [stdout] --> base/src/papier.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{hash_map::Entry, HashMap}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | str::FromStr, [INFO] [stdout] 4 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Compiling markup5ever v0.11.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] --> base/src/papervm.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(program: Vec) -> PaperVM { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | PaperVM { [INFO] [stdout] 268 | memory: HashMap::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] = 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] --> base/src/papervm.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(program: Vec) -> PaperVM { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | subroutine: None, [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] --> base/src/papervm.rs:483:28 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn write(chars: impl IntoChars) -> Instruction { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | Instruction::Write(Arc::new(chars.chars_ref())) [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] --> base/src/papervm.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn call(instructions: Vec, args: Vec) -> Instruction [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] 490 | Instruction::Call(instructions, args.into_iter().map(Into::into).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: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `papier` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> base/src/papervm.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(program: Vec) -> PaperVM { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | PaperVM { [INFO] [stdout] 268 | memory: HashMap::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] = 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] --> base/src/papervm.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(program: Vec) -> PaperVM { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | subroutine: None, [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] --> base/src/papervm.rs:483:28 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn write(chars: impl IntoChars) -> Instruction { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | Instruction::Write(Arc::new(chars.chars_ref())) [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] --> base/src/papervm.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn call(instructions: Vec, args: Vec) -> Instruction [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] 490 | Instruction::Call(instructions, args.into_iter().map(Into::into).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: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `papier` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a9b7aaf0166e5c3580016ac9cc98ef72f68a78134798d51b6e3433fcc38f07d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b7aaf0166e5c3580016ac9cc98ef72f68a78134798d51b6e3433fcc38f07d1", kill_on_drop: false }` [INFO] [stdout] a9b7aaf0166e5c3580016ac9cc98ef72f68a78134798d51b6e3433fcc38f07d1