[INFO] cloning repository https://github.com/MoAlyousef/objectif [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoAlyousef/objectif" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoAlyousef%2Fobjectif", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoAlyousef%2Fobjectif'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd283ccd33e664b22fada4311f438c0e69d0ca40 [INFO] checking MoAlyousef/objectif/bd283ccd33e664b22fada4311f438c0e69d0ca40 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoAlyousef%2Fobjectif" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MoAlyousef/objectif 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 git repo https://github.com/MoAlyousef/objectif [INFO] finished tweaking git repo https://github.com/MoAlyousef/objectif [INFO] tweaked toml for git repo https://github.com/MoAlyousef/objectif written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MoAlyousef/objectif 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-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 578982ff4d2335dc295a8c58bb0a46c8832024ac81649633544385dd11cec8dc [INFO] running `Command { std: "docker" "start" "-a" "578982ff4d2335dc295a8c58bb0a46c8832024ac81649633544385dd11cec8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "578982ff4d2335dc295a8c58bb0a46c8832024ac81649633544385dd11cec8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "578982ff4d2335dc295a8c58bb0a46c8832024ac81649633544385dd11cec8dc", kill_on_drop: false }` [INFO] [stdout] 578982ff4d2335dc295a8c58bb0a46c8832024ac81649633544385dd11cec8dc [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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aae108fb635d17270aeb152233523e01eeb0b026f25aeec0e9c7bde26ae65e3 [INFO] running `Command { std: "docker" "start" "-a" "3aae108fb635d17270aeb152233523e01eeb0b026f25aeec0e9c7bde26ae65e3", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking objectif-core v0.1.0 (/opt/rustwide/workdir/objectif-core) [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> objectif-core/src/lib.rs:346:88 [INFO] [stdout] | [INFO] [stdout] 346 | pub unsafe fn try_add_class_method(name: &'static str, f: *const ()) -> Result<(), &str> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 346 | pub unsafe fn try_add_class_method(name: &'static str, f: *const ()) -> Result<(), &'static str> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> objectif-core/src/lib.rs:346:88 [INFO] [stdout] | [INFO] [stdout] 346 | pub unsafe fn try_add_class_method(name: &'static str, f: *const ()) -> Result<(), &str> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 346 | pub unsafe fn try_add_class_method(name: &'static str, f: *const ()) -> Result<(), &'static str> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling objectif-derive v0.1.0 (/opt/rustwide/workdir/objectif-derive) [INFO] [stderr] Checking objectif v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `MyObject` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/8_swizzle.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let myobj = MyObject::default(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | let num: i32 = call_method![myobj, number].unwrap(); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let num: i32 = call_method![myobj2, number].unwrap(); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] = 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: this value of type `MyObject` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/3_ext_method.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let myobj = MyObject::default(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | let num: i32 = call_method![myobj, number].unwrap(); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] = 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 `objectif` (example "3_ext_method") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `objectif` (example "8_swizzle") due to 2 previous errors [INFO] [stdout] error: this value of type `std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/5_polymorphism.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | for elem in v { [INFO] [stdout] | ^ [INFO] [stdout] 107 | let elem_area: f64 = unsafe { call_method![*elem, area].unwrap() }; [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] = 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 `objectif` (example "5_polymorphism") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3aae108fb635d17270aeb152233523e01eeb0b026f25aeec0e9c7bde26ae65e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aae108fb635d17270aeb152233523e01eeb0b026f25aeec0e9c7bde26ae65e3", kill_on_drop: false }` [INFO] [stdout] 3aae108fb635d17270aeb152233523e01eeb0b026f25aeec0e9c7bde26ae65e3