[INFO] fetching crate rutebot 0.7.5... [INFO] checking rutebot-0.7.5 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate rutebot 0.7.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rutebot 0.7.5 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 rutebot 0.7.5 [INFO] finished tweaking crates.io crate rutebot 0.7.5 [INFO] tweaked toml for crates.io crate rutebot 0.7.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate rutebot 0.7.5 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5c909b5cb6bfa658df2f53c6422b2f8792f6d362340ca7279d6d507c3a198be3 [INFO] running `Command { std: "docker" "start" "-a" "5c909b5cb6bfa658df2f53c6422b2f8792f6d362340ca7279d6d507c3a198be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c909b5cb6bfa658df2f53c6422b2f8792f6d362340ca7279d6d507c3a198be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c909b5cb6bfa658df2f53c6422b2f8792f6d362340ca7279d6d507c3a198be3", kill_on_drop: false }` [INFO] [stdout] 5c909b5cb6bfa658df2f53c6422b2f8792f6d362340ca7279d6d507c3a198be3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8e93844e39457735c59ee5b95373d9a444986c00a333926baf6d6d3825b13357 [INFO] running `Command { std: "docker" "start" "-a" "8e93844e39457735c59ee5b95373d9a444986c00a333926baf6d6d3825b13357", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking common-multipart-rfc7578 v0.3.1 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking fure v0.4.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.5.1 [INFO] [stderr] Checking rutebot v0.7.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/responses.rs:839:12 [INFO] [stdout] | [INFO] [stdout] 839 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_enum_variant))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hyper-rustls`, `hyper-tls`, and `rustls-tls` [INFO] [stdout] = help: consider adding `cargo-clippy` 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] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/responses.rs:839:12 [INFO] [stdout] | [INFO] [stdout] 839 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_enum_variant))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hyper-rustls`, `hyper-tls`, and `rustls-tls` [INFO] [stdout] = help: consider adding `cargo-clippy` 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `rutebot::responses::EditedMessage` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/basic_req_res_tests.rs:428:46 [INFO] [stdout] | [INFO] [stdout] 419 | let rutebot = common::create_client(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | let location: Message = rutebot.prepare_api_request(request).send().await.unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | if let EditedMessage::Message(message) = rutebot [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 429 | | .prepare_api_request(edit_request) [INFO] [stdout] 430 | | .send() [INFO] [stdout] 431 | | .await [INFO] [stdout] 432 | | .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: this value of type `rutebot::responses::EditedMessage` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/basic_req_res_tests.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 442 | let rutebot = common::create_client(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | let location: Message = rutebot.prepare_api_request(request).send().await.unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 451 | if let EditedMessage::Message(message) = rutebot [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 452 | | .prepare_api_request(stop_request) [INFO] [stdout] 453 | | .send() [INFO] [stdout] 454 | | .await [INFO] [stdout] 455 | | .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: this value of type `rutebot::responses::EditedMessage` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/basic_req_res_tests.rs:663:46 [INFO] [stdout] | [INFO] [stdout] 654 | let rutebot = common::create_client(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 655 | let chat_id = common::get_chat_id(); [INFO] [stdout] 656 | let text_message: Message = rutebot [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | if let EditedMessage::Message(message) = rutebot [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 664 | | .prepare_api_request(edit_request) [INFO] [stdout] 665 | | .send() [INFO] [stdout] 666 | | .await [INFO] [stdout] 667 | | .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: this value of type `rutebot::responses::EditedMessage` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/basic_req_res_tests.rs:702:46 [INFO] [stdout] | [INFO] [stdout] 677 | let rutebot = common::create_client(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 698 | let animation: Message = rutebot.prepare_api_request(request).send().await.unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 702 | if let EditedMessage::Message(message) = rutebot [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 703 | | .prepare_api_request(edit_request) [INFO] [stdout] 704 | | .send() [INFO] [stdout] 705 | | .await [INFO] [stdout] 706 | | .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: this value of type `rutebot::responses::EditedMessage` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/basic_req_res_tests.rs:752:46 [INFO] [stdout] | [INFO] [stdout] 716 | let rutebot = common::create_client(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 741 | let response: Message = rutebot.prepare_api_request(request).send().await.unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 752 | if let EditedMessage::Message(message) = rutebot [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 753 | | .prepare_api_request(edit_video) [INFO] [stdout] 754 | | .send() [INFO] [stdout] 755 | | .await [INFO] [stdout] 756 | | .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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rutebot` (test "basic_req_res_tests") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8e93844e39457735c59ee5b95373d9a444986c00a333926baf6d6d3825b13357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e93844e39457735c59ee5b95373d9a444986c00a333926baf6d6d3825b13357", kill_on_drop: false }` [INFO] [stdout] 8e93844e39457735c59ee5b95373d9a444986c00a333926baf6d6d3825b13357