[INFO] fetching crate mcai_worker_sdk 2.2.1... [INFO] checking mcai_worker_sdk-2.2.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mcai_worker_sdk 2.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate mcai_worker_sdk 2.2.1 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 mcai_worker_sdk 2.2.1 [INFO] finished tweaking crates.io crate mcai_worker_sdk 2.2.1 [INFO] tweaked toml for crates.io crate mcai_worker_sdk 2.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate mcai_worker_sdk 2.2.1 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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fdd8dc9959efc7076cd0d59076168dccdd71c28d28cc4a504c621c9019192e8 [INFO] running `Command { std: "docker" "start" "-a" "3fdd8dc9959efc7076cd0d59076168dccdd71c28d28cc4a504c621c9019192e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fdd8dc9959efc7076cd0d59076168dccdd71c28d28cc4a504c621c9019192e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdd8dc9959efc7076cd0d59076168dccdd71c28d28cc4a504c621c9019192e8", kill_on_drop: false }` [INFO] [stdout] 3fdd8dc9959efc7076cd0d59076168dccdd71c28d28cc4a504c621c9019192e8 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afb54714898395ae8d5b6858a19fdfc3e788167a056c58b561d1101cce110ff7 [INFO] running `Command { std: "docker" "start" "-a" "afb54714898395ae8d5b6858a19fdfc3e788167a056c58b561d1101cce110ff7", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling reword v6.4.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking amq-protocol-uri v6.1.0 [INFO] [stderr] Compiling amq-protocol v6.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling lapin v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking pinky-swear v4.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling sysinfo v0.23.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking nvml-wrapper-sys v0.5.0 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Checking fraction v0.12.2 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iso8601 v0.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking xml-rs v0.8.21 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking nvml-wrapper v0.7.0 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking value-bag-serde1 v1.9.0 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking amq-protocol-types v6.1.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling license v2.0.3 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking tcp-stream v0.20.10 [INFO] [stderr] Checking amq-protocol-tcp v6.1.0 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Compiling yaserde_derive v0.7.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling cargo_toml v0.20.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking jsonschema v0.16.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking yaserde v0.7.1 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking async-lapin v1.3.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking async-amqp v1.2.0 [INFO] [stderr] Compiling mcai-license v0.1.0 [INFO] [stderr] Compiling mcai_build v0.3.1 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking mockito v0.29.0 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Compiling mcai_worker_sdk v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `pinky_swear::PinkySwear, std::result::Result<(), lapin::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/publish/job_progression.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn job_progression(channel: Arc, job_progression: JobProgression) -> Result<()> { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | / channel [INFO] [stdout] 17 | | .basic_publish( [INFO] [stdout] 18 | | EXCHANGE_NAME_JOB_RESPONSE, [INFO] [stdout] 19 | | QUEUE_JOB_PROGRESSION, [INFO] [stdout] ... | [INFO] [stdout] 22 | | BasicProperties::default().with_delivery_mode(config::get_amqp_delivery_mode()), [INFO] [stdout] 23 | | ) [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 `std::sync::MutexGuard<'_, std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_current_job_id(&self, _worker: Arc>) -> Option { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | / self [INFO] [stdout] 138 | | .current_job_result [INFO] [stdout] 139 | | .lock() [INFO] [stdout] 140 | | .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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/worker/docker.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(instance_uuid) = &INSTANCE_UUID { [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(instance_uuid) = &raw const INSTANCE_UUID { [INFO] [stdout] | ~~~~~~~~~~ [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 `mcai_worker_sdk` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `pinky_swear::PinkySwear, std::result::Result<(), lapin::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/publish/job_progression.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn job_progression(channel: Arc, job_progression: JobProgression) -> Result<()> { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | / channel [INFO] [stdout] 17 | | .basic_publish( [INFO] [stdout] 18 | | EXCHANGE_NAME_JOB_RESPONSE, [INFO] [stdout] 19 | | QUEUE_JOB_PROGRESSION, [INFO] [stdout] ... | [INFO] [stdout] 22 | | BasicProperties::default().with_delivery_mode(config::get_amqp_delivery_mode()), [INFO] [stdout] 23 | | ) [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 `std::sync::MutexGuard<'_, std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_current_job_id(&self, _worker: Arc>) -> Option { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | / self [INFO] [stdout] 138 | | .current_job_result [INFO] [stdout] 139 | | .lock() [INFO] [stdout] 140 | | .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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/worker/docker.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(instance_uuid) = &INSTANCE_UUID { [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(instance_uuid) = &raw const INSTANCE_UUID { [INFO] [stdout] | ~~~~~~~~~~ [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 `mcai_worker_sdk` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "afb54714898395ae8d5b6858a19fdfc3e788167a056c58b561d1101cce110ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb54714898395ae8d5b6858a19fdfc3e788167a056c58b561d1101cce110ff7", kill_on_drop: false }` [INFO] [stdout] afb54714898395ae8d5b6858a19fdfc3e788167a056c58b561d1101cce110ff7