[INFO] fetching crate mcai_worker_sdk 2.2.1... [INFO] checking mcai_worker_sdk-2.2.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate mcai_worker_sdk 2.2.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate mcai_worker_sdk 2.2.1 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 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-1-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1d948ee69f4d628edd2e8b45c946a8add7cc719fdb1c4bc5aae498f36189312f [INFO] running `Command { std: "docker" "start" "-a" "1d948ee69f4d628edd2e8b45c946a8add7cc719fdb1c4bc5aae498f36189312f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d948ee69f4d628edd2e8b45c946a8add7cc719fdb1c4bc5aae498f36189312f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d948ee69f4d628edd2e8b45c946a8add7cc719fdb1c4bc5aae498f36189312f", kill_on_drop: false }` [INFO] [stdout] 1d948ee69f4d628edd2e8b45c946a8add7cc719fdb1c4bc5aae498f36189312f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 44859509bdf4265c911074876ab81b031b8749de138c35dbd8a6cd7fadd809b1 [INFO] running `Command { std: "docker" "start" "-a" "44859509bdf4265c911074876ab81b031b8749de138c35dbd8a6cd7fadd809b1", 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] Compiling cc v1.1.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking idna v0.5.0 [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] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking amq-protocol-uri v6.1.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling amq-protocol v6.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling lapin v1.10.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking num-rational v0.4.2 [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] Compiling backtrace v0.3.73 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking miniz_oxide v0.7.4 [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 zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Compiling sysinfo v0.23.13 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking nvml-wrapper-sys v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking fraction v0.12.2 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Compiling 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 amq-protocol-types v6.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling license v2.0.3 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking tcp-stream v0.20.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking amq-protocol-tcp v6.1.0 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cargo_toml v0.20.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking iso8601 v0.5.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Compiling mcai-license v0.1.0 [INFO] [stderr] Checking async-lapin v1.3.0 [INFO] [stderr] Compiling mcai_build v0.3.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking jsonschema v0.16.1 [INFO] [stderr] Checking async-amqp v1.2.0 [INFO] [stderr] Checking yaserde v0.7.1 [INFO] [stderr] Checking nvml-wrapper v0.7.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling yaserde_derive v0.7.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking uuid v0.8.2 [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_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 `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] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/mod.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 61 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | if let Some(error) = thread.join().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 `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] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/mod.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 61 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | if let Some(error) = thread.join().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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcai_worker_sdk` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcai_worker_sdk` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "44859509bdf4265c911074876ab81b031b8749de138c35dbd8a6cd7fadd809b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44859509bdf4265c911074876ab81b031b8749de138c35dbd8a6cd7fadd809b1", kill_on_drop: false }` [INFO] [stdout] 44859509bdf4265c911074876ab81b031b8749de138c35dbd8a6cd7fadd809b1