[INFO] fetching crate mcai_worker_sdk 2.2.1... [INFO] checking mcai_worker_sdk-2.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [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 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed4128ab7ad12f678c148d1b912334a20fb7ae0d3fa35d99597872f425399375 [INFO] running `Command { std: "docker" "start" "-a" "ed4128ab7ad12f678c148d1b912334a20fb7ae0d3fa35d99597872f425399375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed4128ab7ad12f678c148d1b912334a20fb7ae0d3fa35d99597872f425399375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4128ab7ad12f678c148d1b912334a20fb7ae0d3fa35d99597872f425399375", kill_on_drop: false }` [INFO] [stdout] ed4128ab7ad12f678c148d1b912334a20fb7ae0d3fa35d99597872f425399375 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81c4ac1f02ff7b0c0d50fbe0b286ce9c2571547821aea2b4533a22aba35d4044 [INFO] running `Command { std: "docker" "start" "-a" "81c4ac1f02ff7b0c0d50fbe0b286ce9c2571547821aea2b4533a22aba35d4044", kill_on_drop: false }` [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling reword v6.4.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking amq-protocol-uri v6.1.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling amq-protocol v6.1.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling lapin v1.10.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking pinky-swear v4.5.0 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling sysinfo v0.23.13 [INFO] [stderr] Checking nvml-wrapper-sys v0.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking iso8601 v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking xml-rs v0.8.21 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking fraction v0.12.2 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking backtrace v0.3.73 [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] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking openssl v0.10.66 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nvml-wrapper v0.7.0 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking 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 log v0.4.22 [INFO] [stderr] Checking amq-protocol-types v6.1.0 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Compiling license v2.0.3 [INFO] [stderr] Checking native-tls v0.2.12 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking yaserde v0.7.1 [INFO] [stderr] Checking mockito v0.29.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tcp-stream v0.20.10 [INFO] [stderr] Compiling yaserde_derive v0.7.1 [INFO] [stderr] Checking amq-protocol-tcp v6.1.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking cargo_toml v0.20.4 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking async-lapin v1.3.0 [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 jsonschema v0.16.1 [INFO] [stderr] Compiling mcai_worker_sdk v2.2.1 (/opt/rustwide/workdir) [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(instance_uuid) = addr_of!(INSTANCE_UUID) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | .and_then(|certificate_path| std::fs::read_to_string(certificate_path).ok()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 27 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let client = Client::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 40 | | client, [INFO] [stdout] 41 | | endpoint: access_token.endpoint(), [INFO] [stdout] 42 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/job/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 36 | let parameters_schema: RootSchema = schema_for!(P); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | serde_json::from_value(parameters.clone()).map_err(|error| { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/job/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn validate_parameters(schema: RootSchema, parameters_value: Value) -> Result<()> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let schema_json_value = serde_json::to_value(schema)?; [INFO] [stdout] 94 | let json_schema = JSONSchema::compile(&schema_json_value) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | json_schema.validate(¶meters_value).map_err(|errors| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logging.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 30 | let job_id = Arc::new(Mutex::new(None)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / Self { [INFO] [stdout] 34 | | pattern: pattern.to_owned(), [INFO] [stdout] 35 | | job_id: job_id.clone(), [INFO] [stdout] 36 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logging.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|j| serde_json::to_string(&j).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logging.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 93 | let (mcai_encoder, shared_job_id) = McaiLogEncoder::new(&format!( [INFO] [stdout] | ------------ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let stderr = ConsoleAppender::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let log_builder = Config::builder().appender( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let (log_builder, root_builder) = if let Ok(file_logging) = std::env::var("FILE_LOGGING") { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let file_appender = FileAppender::builder() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let log_builder = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | log_builder.build(root_builder.build(log_level)).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mcai_worker/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 104 | _channel: Option, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | _parameters: P, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | _job_result: JobResult, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Err(MessageError::NotImplemented()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/local/exchange.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 81 | fn send_response(&mut self, message: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | task::block_on(async move { self.response_sender.send(message).await.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/local/exchange.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 111 | fn send_response(&'_ self, message: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | task::block_on(async move { self.response_sender.send(message).await.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/local/exchange.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 119 | let message = ResponseMessage::Feedback(Feedback::Progression(JobProgression::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | task::block_on(async move { self.response_sender.send(message).await.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn send_response(&mut self, response: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | task::block_on(async move { self.connection.lock().await.send_response(response).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:42:86 [INFO] [stdout] | [INFO] [stdout] 41 | fn send_response(&mut self, response: ResponseMessage) -> Result<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | task::block_on(async move { self.connection.lock().await.send_response(response).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 46 | let connection = self.connection.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Arc::new(Mutex::new(RabbitmqResponseSender { connection })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 72 | fn send_response(&'_ self, message: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | task::block_on(async move { [INFO] [stdout] 74 | / self [INFO] [stdout] 75 | | .connection [INFO] [stdout] 76 | | .lock() [INFO] [stdout] 77 | | .await [INFO] [stdout] 78 | | .send_response(message) [INFO] [stdout] 79 | | .await [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 88 | let message = ResponseMessage::Feedback(Feedback::Progression(JobProgression::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | / self [INFO] [stdout] 94 | | .connection [INFO] [stdout] 95 | | .lock() [INFO] [stdout] 96 | | .await [INFO] [stdout] 97 | | .send_response(message) [INFO] [stdout] 98 | | .await [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: these values and local bindings have 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 values have significant drop implementation and will 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] 29 | | MessageError::ProcessingError(result) [INFO] [stdout] 30 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parameter/store.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|value| serde_json::from_str(&value).unwrap_or(Value::String(value))), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/mod.rs:100:91 [INFO] [stdout] | [INFO] [stdout] 98 | let order_receiver = order_receiver_from_exchange.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let next_message = task::block_on(async move { order_receiver.lock().await.recv().await }); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 33 | _worker: Arc>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | response_sender: McaiChannel, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | worker_configuration: WorkerConfiguration, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | shared_job_id: SharedJobId, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | worker_activity: Arc::new(Mutex::new(WorkerActivity::Idle)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 33 | _worker: Arc>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | response_sender: McaiChannel, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | worker_configuration: WorkerConfiguration, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | shared_job_id: SharedJobId, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | job_status: Arc::new(Mutex::new(JobStatus::Unknown)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 33 | _worker: Arc>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | response_sender: McaiChannel, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | worker_configuration: WorkerConfiguration, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | shared_job_id: SharedJobId, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | current_job_result: Arc::new(Mutex::new(None)), [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: these values and local bindings have 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 values have significant drop implementation and will 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] 141 | | .clone() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker/configuration.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 56 | let parameters = mcai_worker.get_parameters_schema()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let mcai_worker = mcai_worker.get_mcai_worker_description(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | Ok(WorkerConfiguration { [INFO] [stdout] | ________^ [INFO] [stdout] 66 | | description: WorkerDescription { [INFO] [stdout] 67 | | instance_id: instance_id.to_string(), [INFO] [stdout] 68 | | name: mcai_worker.get_name(), [INFO] [stdout] ... | [INFO] [stdout] 82 | | parameters, [INFO] [stdout] 83 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 24 previous errors; 1 warning emitted [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(instance_uuid) = addr_of!(INSTANCE_UUID) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcai_worker_sdk` (lib) due to 25 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | .and_then(|certificate_path| std::fs::read_to_string(certificate_path).ok()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 27 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let client = Client::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 40 | | client, [INFO] [stdout] 41 | | endpoint: access_token.endpoint(), [INFO] [stdout] 42 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/job/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 36 | let parameters_schema: RootSchema = schema_for!(P); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | serde_json::from_value(parameters.clone()).map_err(|error| { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/job/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn validate_parameters(schema: RootSchema, parameters_value: Value) -> Result<()> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let schema_json_value = serde_json::to_value(schema)?; [INFO] [stdout] 94 | let json_schema = JSONSchema::compile(&schema_json_value) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | json_schema.validate(¶meters_value).map_err(|errors| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logging.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 30 | let job_id = Arc::new(Mutex::new(None)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / Self { [INFO] [stdout] 34 | | pattern: pattern.to_owned(), [INFO] [stdout] 35 | | job_id: job_id.clone(), [INFO] [stdout] 36 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logging.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|j| serde_json::to_string(&j).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/logging.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 93 | let (mcai_encoder, shared_job_id) = McaiLogEncoder::new(&format!( [INFO] [stdout] | ------------ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let stderr = ConsoleAppender::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let log_builder = Config::builder().appender( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let (log_builder, root_builder) = if let Ok(file_logging) = std::env::var("FILE_LOGGING") { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let file_appender = FileAppender::builder() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let log_builder = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | log_builder.build(root_builder.build(log_level)).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mcai_worker/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 104 | _channel: Option, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | _parameters: P, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | _job_result: JobResult, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Err(MessageError::NotImplemented()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/local/exchange.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 81 | fn send_response(&mut self, message: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | task::block_on(async move { self.response_sender.send(message).await.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/local/exchange.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 111 | fn send_response(&'_ self, message: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | task::block_on(async move { self.response_sender.send(message).await.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/local/exchange.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 119 | let message = ResponseMessage::Feedback(Feedback::Progression(JobProgression::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | task::block_on(async move { self.response_sender.send(message).await.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn send_response(&mut self, response: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | task::block_on(async move { self.connection.lock().await.send_response(response).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:42:86 [INFO] [stdout] | [INFO] [stdout] 41 | fn send_response(&mut self, response: ResponseMessage) -> Result<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | task::block_on(async move { self.connection.lock().await.send_response(response).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 46 | let connection = self.connection.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Arc::new(Mutex::new(RabbitmqResponseSender { connection })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 72 | fn send_response(&'_ self, message: ResponseMessage) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | task::block_on(async move { [INFO] [stdout] 74 | / self [INFO] [stdout] 75 | | .connection [INFO] [stdout] 76 | | .lock() [INFO] [stdout] 77 | | .await [INFO] [stdout] 78 | | .send_response(message) [INFO] [stdout] 79 | | .await [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_exchange/rabbitmq/exchange.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 88 | let message = ResponseMessage::Feedback(Feedback::Progression(JobProgression::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | / self [INFO] [stdout] 94 | | .connection [INFO] [stdout] 95 | | .lock() [INFO] [stdout] 96 | | .await [INFO] [stdout] 97 | | .send_response(message) [INFO] [stdout] 98 | | .await [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: these values and local bindings have 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 values have significant drop implementation and will 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] 29 | | MessageError::ProcessingError(result) [INFO] [stdout] 30 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parameter/store.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|value| serde_json::from_str(&value).unwrap_or(Value::String(value))), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/mod.rs:100:91 [INFO] [stdout] | [INFO] [stdout] 98 | let order_receiver = order_receiver_from_exchange.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let next_message = task::block_on(async move { order_receiver.lock().await.recv().await }); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 33 | _worker: Arc>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | response_sender: McaiChannel, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | worker_configuration: WorkerConfiguration, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | shared_job_id: SharedJobId, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | worker_activity: Arc::new(Mutex::new(WorkerActivity::Idle)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 33 | _worker: Arc>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | response_sender: McaiChannel, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | worker_configuration: WorkerConfiguration, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | shared_job_id: SharedJobId, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | job_status: Arc::new(Mutex::new(JobStatus::Unknown)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/simple_process/mod.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 33 | _worker: Arc>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | response_sender: McaiChannel, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | worker_configuration: WorkerConfiguration, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | shared_job_id: SharedJobId, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | current_job_result: Arc::new(Mutex::new(None)), [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: these values and local bindings have 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 values have significant drop implementation and will 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] 141 | | .clone() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker/configuration.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 56 | let parameters = mcai_worker.get_parameters_schema()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let mcai_worker = mcai_worker.get_mcai_worker_description(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | Ok(WorkerConfiguration { [INFO] [stdout] | ________^ [INFO] [stdout] 66 | | description: WorkerDescription { [INFO] [stdout] 67 | | instance_id: instance_id.to_string(), [INFO] [stdout] 68 | | name: mcai_worker.get_name(), [INFO] [stdout] ... | [INFO] [stdout] 82 | | parameters, [INFO] [stdout] 83 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcai_worker_sdk` (lib test) due to 25 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "81c4ac1f02ff7b0c0d50fbe0b286ce9c2571547821aea2b4533a22aba35d4044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c4ac1f02ff7b0c0d50fbe0b286ce9c2571547821aea2b4533a22aba35d4044", kill_on_drop: false }` [INFO] [stdout] 81c4ac1f02ff7b0c0d50fbe0b286ce9c2571547821aea2b4533a22aba35d4044