[INFO] fetching crate zmq2 0.5.0... [INFO] checking zmq2-0.5.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate zmq2 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate zmq2 0.5.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 zmq2 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zmq2 0.5.0 [INFO] tweaked toml for crates.io crate zmq2 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate zmq2 0.5.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] 97cc133cd7ef0367df2bf8761ce2479ab724fd4ce70a68218c6d2400537e3fdb [INFO] running `Command { std: "docker" "start" "-a" "97cc133cd7ef0367df2bf8761ce2479ab724fd4ce70a68218c6d2400537e3fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97cc133cd7ef0367df2bf8761ce2479ab724fd4ce70a68218c6d2400537e3fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97cc133cd7ef0367df2bf8761ce2479ab724fd4ce70a68218c6d2400537e3fdb", kill_on_drop: false }` [INFO] [stdout] 97cc133cd7ef0367df2bf8761ce2479ab724fd4ce70a68218c6d2400537e3fdb [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] b369197881ed0865c845c6fac4d3429f0fe9eccb47b4193a5cff2a06fe700913 [INFO] running `Command { std: "docker" "start" "-a" "b369197881ed0865c845c6fac4d3429f0fe9eccb47b4193a5cff2a06fe700913", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling zmq2 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling cfg-expr v0.10.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling dircpy v0.3.8 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Checking timebomb v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling zeromq-src v0.2.2+4.3.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling zmq-sys2 v0.3.0 [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> tests/z85.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Input(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Message` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/zguide/pathosub/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 9 | let context = zmq2::Context::new(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let subscriber = context.socket(zmq2::SUB).unwrap(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let topic = subscriber.recv_msg(0).unwrap(); [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 `zmq2` (example "pathosub") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Message` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/message.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | let original = Message::from(&input); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Message::from(input) == original [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] [stdout] warning: unexpected `cfg` condition value: `compiletest_rs` [INFO] [stdout] --> tests/test.rs:589:7 [INFO] [stdout] | [INFO] [stdout] 589 | #[cfg(feature = "compiletest_rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `zmq_has` [INFO] [stdout] = help: consider adding `compiletest_rs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zmq2` (test "message") due to 2 previous errors [INFO] [stdout] error: this value of type `std::vec::Drain<'_, zmq2::SocketType>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/test.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 185 | let ctx = Context::new(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | for sock_type in socket_types.drain(..) { [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 `Message` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/test.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 477 | let ctx = Context::new(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 478 | let xpub = ctx.socket(XPUB).unwrap(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 479 | let sub = ctx.socket(SUB).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 488 | let event = xpub.recv_msg(0).unwrap(); [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zmq2` (test "test") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b369197881ed0865c845c6fac4d3429f0fe9eccb47b4193a5cff2a06fe700913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b369197881ed0865c845c6fac4d3429f0fe9eccb47b4193a5cff2a06fe700913", kill_on_drop: false }` [INFO] [stdout] b369197881ed0865c845c6fac4d3429f0fe9eccb47b4193a5cff2a06fe700913