[INFO] fetching crate sqs-lambda 0.21.1... [INFO] checking sqs-lambda-0.21.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sqs-lambda 0.21.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sqs-lambda 0.21.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 sqs-lambda 0.21.1 [INFO] finished tweaking crates.io crate sqs-lambda 0.21.1 [INFO] tweaked toml for crates.io crate sqs-lambda 0.21.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate sqs-lambda 0.21.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] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_sqs` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f79bf6be3bcc979a07a660fc55f57f9911bc7aff0a35c8ccfa22c8b1eac3f8a9 [INFO] running `Command { std: "docker" "start" "-a" "f79bf6be3bcc979a07a660fc55f57f9911bc7aff0a35c8ccfa22c8b1eac3f8a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f79bf6be3bcc979a07a660fc55f57f9911bc7aff0a35c8ccfa22c8b1eac3f8a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79bf6be3bcc979a07a660fc55f57f9911bc7aff0a35c8ccfa22c8b1eac3f8a9", kill_on_drop: false }` [INFO] [stdout] f79bf6be3bcc979a07a660fc55f57f9911bc7aff0a35c8ccfa22c8b1eac3f8a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dbe22dbc41175bcac7b150bfd7a1625f11f97b66c6b321035b6e77928ebf7e0 [INFO] running `Command { std: "docker" "start" "-a" "7dbe22dbc41175bcac7b150bfd7a1625f11f97b66c6b321035b6e77928ebf7e0", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_sqs` dependency) [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Compiling zstd-sys v1.4.17+zstd.1.4.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling rusoto_core v0.45.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking sharded-slab v0.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling lambda_runtime_core v0.1.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Compiling eyre v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking owo-colors v1.2.1 [INFO] [stderr] Checking indenter v0.3.0 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking color-backtrace v0.4.2 [INFO] [stderr] Checking inotify v0.8.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking futures-retry v0.3.3 [INFO] [stderr] Checking notify v5.0.0-pre.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking prost v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking aktors v0.2.7 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking darkredis v0.5.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking lambda_runtime_errors v0.1.1 [INFO] [stderr] Checking aws_lambda_events v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking color-eyre v0.3.4 [INFO] [stderr] Compiling derive-aktor v0.1.6 [INFO] [stderr] Checking rusoto_credential v0.45.0 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking lambda_runtime_client v0.2.2 [INFO] [stderr] Checking lambda_runtime v0.2.1 [INFO] [stderr] Checking rusoto_signature v0.45.0 [INFO] [stderr] Checking rusoto_sqs v0.45.0 [INFO] [stderr] Checking rusoto_s3 v0.45.0 [INFO] [stderr] Checking zstd-safe v2.0.5+zstd.1.4.5 [INFO] [stderr] Checking zstd v0.5.3+zstd.1.4.5 [INFO] [stderr] Checking sqs-lambda v0.21.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SendMessageRequest` and `SqsClient` [INFO] [stdout] --> src/local_sqs_service.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use rusoto_sqs::{SendMessageRequest, Sqs, SqsClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumePolicy` [INFO] [stdout] --> src/local_sqs_service.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::sqs_consumer::{ConsumePolicy, IntoDeadline, SqsConsumer, SqsConsumerActor}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/sqs_service.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SendMessageRequest` and `SqsClient` [INFO] [stdout] --> src/sqs_service.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use rusoto_sqs::{SendMessageRequest, Sqs, SqsClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoDeadline` [INFO] [stdout] --> src/sqs_service.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::sqs_consumer::{ConsumePolicy, IntoDeadline, SqsConsumer, SqsConsumerActor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SendMessageRequest` and `SqsClient` [INFO] [stdout] --> src/local_sqs_service.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use rusoto_sqs::{SendMessageRequest, Sqs, SqsClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsumePolicy` [INFO] [stdout] --> src/local_sqs_service.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::sqs_consumer::{ConsumePolicy, IntoDeadline, SqsConsumer, SqsConsumerActor}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/sqs_service.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SendMessageRequest` and `SqsClient` [INFO] [stdout] --> src/sqs_service.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use rusoto_sqs::{SendMessageRequest, Sqs, SqsClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoDeadline` [INFO] [stdout] --> src/sqs_service.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::sqs_consumer::{ConsumePolicy, IntoDeadline, SqsConsumer, SqsConsumerActor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deadline` [INFO] [stdout] --> src/local_sqs_service.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | deadline: impl IntoDeadline, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deadline` [INFO] [stdout] --> src/local_sqs_service.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | deadline: impl IntoDeadline, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/sqs_completion_handler.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 523 | panic!("Invalid to call p"); [INFO] [stdout] | --------------------------- any code following this expression is unreachable [INFO] [stdout] 524 | let msg = SqsCompletionHandlerMessage::_p { _p }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/sqs_completion_handler.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 523 | panic!("Invalid to call p"); [INFO] [stdout] | --------------------------- any code following this expression is unreachable [INFO] [stdout] 524 | let msg = SqsCompletionHandlerMessage::_p { _p }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/event_retriever.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trigger_consumer`, `event_processor`, and `completion_handler` are never read [INFO] [stdout] --> src/service_builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ServiceBuilder< [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | trigger_consumer: ConsumerT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | event_processor: EventProcessorActor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | completion_handler: CompletionHandlerT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deadline` is never read [INFO] [stdout] --> src/sqs_consumer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConsumePolicyBuilder { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 22 | deadline: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsumePolicyBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/cache.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | async fn get(&mut self, cacheable: CA) -> Result [INFO] [stdout] | ^ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 51 | | where [INFO] [stdout] 52 | | CA: Cacheable + Send + Sync + 'static, [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | Cache::get(self, cacheable).await [INFO] [stdout] 55 | | } [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/cache.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get( [INFO] [stdout] | ______________^ [INFO] [stdout] 64 | | &mut self, [INFO] [stdout] 65 | | _cacheable: CA, [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | | ) -> Result { [INFO] [stdout] 67 | | Ok(CacheResponse::Miss) [INFO] [stdout] 68 | | } [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/event_processor.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 98 | consumer: C, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | event_handler: EH, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | event_retriever: ER, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | self_actor: 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/event_processor.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | async fn route_message(&mut self, msg: EventProcessorMessage) { [INFO] [stdout] | ^ ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 231 | | match msg { [INFO] [stdout] 232 | | EventProcessorMessage::process_event { event } => self.process_event(event).await, [INFO] [stdout] 233 | | EventProcessorMessage::start_processing {} => self.start_processing().await, [INFO] [stdout] 234 | | EventProcessorMessage::stop_processing {} => self.stop_processing(), [INFO] [stdout] 235 | | }; [INFO] [stdout] 236 | | } [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/event_retriever.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(s3: SInit, decoder: D) -> Self { [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] 46 | s3_clients: HashMap::new(), [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: unused import: `std::io::Read` [INFO] [stdout] --> src/event_retriever.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/local_sqs_service.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | sqs_consumer_handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = sqs_consumer_handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/local_sqs_service.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | sqs_completion_handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 160 | let _ = sqs_completion_handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/local_sqs_service.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | shutdown_notify.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | let _ = shutdown_notify.await; [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/redis_cache.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | async fn get(&mut self, cacheable: CA) -> Result [INFO] [stdout] | ^ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 42 | | where [INFO] [stdout] 43 | | CA: Cacheable + Send + Sync + 'static, [INFO] [stdout] 44 | | { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [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/sqs_completion_handler.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 100 | sqs_client: SqsT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | queue_url: String, [INFO] [stdout] 102 | completion_serializer: CP, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | event_emitter: EE, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | completion_policy: CompletionPolicy, [INFO] [stdout] 105 | on_ack: OA, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | cache: CacheT, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | completed_events: Vec::with_capacity(completion_policy.max_messages as usize), [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/sqs_completion_handler.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 100 | sqs_client: SqsT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | queue_url: String, [INFO] [stdout] 102 | completion_serializer: CP, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | event_emitter: EE, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | completion_policy: CompletionPolicy, [INFO] [stdout] 105 | on_ack: OA, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | cache: CacheT, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | completed_messages: Vec::with_capacity(completion_policy.max_messages as usize), [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/sqs_completion_handler.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 100 | sqs_client: SqsT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | queue_url: String, [INFO] [stdout] 102 | completion_serializer: CP, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | event_emitter: EE, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | completion_policy: CompletionPolicy, [INFO] [stdout] 105 | on_ack: OA, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | cache: CacheT, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | self_actor: 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/sqs_completion_handler.rs:272:71 [INFO] [stdout] | [INFO] [stdout] 265 | let dmb = self [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | tokio::time::timeout(Duration::from_millis(250), dmb).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/sqs_completion_handler.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | async fn route_message(&mut self, msg: SqsCompletionHandlerMessage) { [INFO] [stdout] | ^ --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 359 | | match msg { [INFO] [stdout] 360 | | SqsCompletionHandlerMessage::mark_complete { msg, completed } => { [INFO] [stdout] 361 | | self.mark_complete(msg, completed).await [INFO] [stdout] ... | [INFO] [stdout] 366 | | }; [INFO] [stdout] 367 | | } [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/sqs_completion_handler.rs:557:14 [INFO] [stdout] | [INFO] [stdout] 557 | async fn mark_complete(&self, msg: Self::Message, completed_event: Self::CompletedEvent) { [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] 558 | | SqsCompletionHandlerActor::mark_complete(self, msg, completed_event).await [INFO] [stdout] 559 | | } [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/sqs_completion_handler.rs:561:14 [INFO] [stdout] | [INFO] [stdout] 561 | async fn ack_message(&self, msg: Self::Message) { [INFO] [stdout] | ^ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 562 | | SqsCompletionHandlerActor::ack_message(self, msg).await [INFO] [stdout] 563 | | } [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/sqs_completion_handler.rs:565:14 [INFO] [stdout] | [INFO] [stdout] 565 | async fn ack_all(&self, notify: Option>) { [INFO] [stdout] | ^ ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 566 | | SqsCompletionHandlerActor::ack_all(self, notify).await [INFO] [stdout] 567 | | } [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/sqs_consumer.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 119 | sqs_client: S, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | shutdown_subscriber: tokio::sync::oneshot::Sender<()>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | stored_events: Vec::with_capacity(20), [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/sqs_consumer.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 119 | sqs_client: S, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | shutdown_subscriber: tokio::sync::oneshot::Sender<()>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | shutdown_subscriber: Some(shutdown_subscriber), [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/sqs_consumer.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 119 | sqs_client: S, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | shutdown_subscriber: tokio::sync::oneshot::Sender<()>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | self_actor: 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/sqs_consumer.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | async fn get_next_event(&self, event_processor: EventProcessorActor) { [INFO] [stdout] | ^ ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 246 | | let msg = SqsConsumerMessage::get_new_event { event_processor }; [INFO] [stdout] 247 | | self.queue_len [INFO] [stdout] 248 | | .clone() [INFO] [stdout] ... | [INFO] [stdout] 262 | | }); [INFO] [stdout] 263 | | } [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: unused `Result` that must be used [INFO] [stdout] --> src/sqs_service.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | sqs_consumer_handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = sqs_consumer_handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sqs_service.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | shutdown_notify.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = shutdown_notify.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqs-lambda` (lib) due to 19 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `trigger_consumer`, `event_processor`, and `completion_handler` are never read [INFO] [stdout] --> src/service_builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ServiceBuilder< [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | trigger_consumer: ConsumerT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | event_processor: EventProcessorActor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | completion_handler: CompletionHandlerT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deadline` is never read [INFO] [stdout] --> src/sqs_consumer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ConsumePolicyBuilder { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 22 | deadline: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsumePolicyBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/cache.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | async fn get(&mut self, cacheable: CA) -> Result [INFO] [stdout] | ^ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 51 | | where [INFO] [stdout] 52 | | CA: Cacheable + Send + Sync + 'static, [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | Cache::get(self, cacheable).await [INFO] [stdout] 55 | | } [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/cache.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get( [INFO] [stdout] | ______________^ [INFO] [stdout] 64 | | &mut self, [INFO] [stdout] 65 | | _cacheable: CA, [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | | ) -> Result { [INFO] [stdout] 67 | | Ok(CacheResponse::Miss) [INFO] [stdout] 68 | | } [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/event_processor.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 98 | consumer: C, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | event_handler: EH, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | event_retriever: ER, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | self_actor: 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/event_processor.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | async fn route_message(&mut self, msg: EventProcessorMessage) { [INFO] [stdout] | ^ ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 231 | | match msg { [INFO] [stdout] 232 | | EventProcessorMessage::process_event { event } => self.process_event(event).await, [INFO] [stdout] 233 | | EventProcessorMessage::start_processing {} => self.start_processing().await, [INFO] [stdout] 234 | | EventProcessorMessage::stop_processing {} => self.stop_processing(), [INFO] [stdout] 235 | | }; [INFO] [stdout] 236 | | } [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/event_retriever.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(s3: SInit, decoder: D) -> Self { [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] 46 | s3_clients: HashMap::new(), [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: unused `Result` that must be used [INFO] [stdout] --> src/local_sqs_service.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | sqs_consumer_handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = sqs_consumer_handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/local_sqs_service.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | sqs_completion_handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 160 | let _ = sqs_completion_handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/local_sqs_service.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | shutdown_notify.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | let _ = shutdown_notify.await; [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/redis_cache.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | async fn get(&mut self, cacheable: CA) -> Result [INFO] [stdout] | ^ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 42 | | where [INFO] [stdout] 43 | | CA: Cacheable + Send + Sync + 'static, [INFO] [stdout] 44 | | { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [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/sqs_completion_handler.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 100 | sqs_client: SqsT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | queue_url: String, [INFO] [stdout] 102 | completion_serializer: CP, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | event_emitter: EE, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | completion_policy: CompletionPolicy, [INFO] [stdout] 105 | on_ack: OA, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | cache: CacheT, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | completed_events: Vec::with_capacity(completion_policy.max_messages as usize), [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/sqs_completion_handler.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 100 | sqs_client: SqsT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | queue_url: String, [INFO] [stdout] 102 | completion_serializer: CP, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | event_emitter: EE, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | completion_policy: CompletionPolicy, [INFO] [stdout] 105 | on_ack: OA, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | cache: CacheT, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | completed_messages: Vec::with_capacity(completion_policy.max_messages as usize), [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/sqs_completion_handler.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 100 | sqs_client: SqsT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | queue_url: String, [INFO] [stdout] 102 | completion_serializer: CP, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | event_emitter: EE, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | completion_policy: CompletionPolicy, [INFO] [stdout] 105 | on_ack: OA, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | cache: CacheT, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | self_actor: 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/sqs_completion_handler.rs:272:71 [INFO] [stdout] | [INFO] [stdout] 265 | let dmb = self [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | tokio::time::timeout(Duration::from_millis(250), dmb).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/sqs_completion_handler.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | async fn route_message(&mut self, msg: SqsCompletionHandlerMessage) { [INFO] [stdout] | ^ --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 359 | | match msg { [INFO] [stdout] 360 | | SqsCompletionHandlerMessage::mark_complete { msg, completed } => { [INFO] [stdout] 361 | | self.mark_complete(msg, completed).await [INFO] [stdout] ... | [INFO] [stdout] 366 | | }; [INFO] [stdout] 367 | | } [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/sqs_completion_handler.rs:557:14 [INFO] [stdout] | [INFO] [stdout] 557 | async fn mark_complete(&self, msg: Self::Message, completed_event: Self::CompletedEvent) { [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] 558 | | SqsCompletionHandlerActor::mark_complete(self, msg, completed_event).await [INFO] [stdout] 559 | | } [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/sqs_completion_handler.rs:561:14 [INFO] [stdout] | [INFO] [stdout] 561 | async fn ack_message(&self, msg: Self::Message) { [INFO] [stdout] | ^ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 562 | | SqsCompletionHandlerActor::ack_message(self, msg).await [INFO] [stdout] 563 | | } [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/sqs_completion_handler.rs:565:14 [INFO] [stdout] | [INFO] [stdout] 565 | async fn ack_all(&self, notify: Option>) { [INFO] [stdout] | ^ ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 566 | | SqsCompletionHandlerActor::ack_all(self, notify).await [INFO] [stdout] 567 | | } [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/sqs_consumer.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 119 | sqs_client: S, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | shutdown_subscriber: tokio::sync::oneshot::Sender<()>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | stored_events: Vec::with_capacity(20), [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/sqs_consumer.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 119 | sqs_client: S, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | shutdown_subscriber: tokio::sync::oneshot::Sender<()>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | shutdown_subscriber: Some(shutdown_subscriber), [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/sqs_consumer.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 119 | sqs_client: S, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | completion_handler: CH, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | shutdown_subscriber: tokio::sync::oneshot::Sender<()>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | self_actor: 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/sqs_consumer.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | async fn get_next_event(&self, event_processor: EventProcessorActor) { [INFO] [stdout] | ^ ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 246 | | let msg = SqsConsumerMessage::get_new_event { event_processor }; [INFO] [stdout] 247 | | self.queue_len [INFO] [stdout] 248 | | .clone() [INFO] [stdout] ... | [INFO] [stdout] 262 | | }); [INFO] [stdout] 263 | | } [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: unused `Result` that must be used [INFO] [stdout] --> src/sqs_service.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | sqs_consumer_handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = sqs_consumer_handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sqs_service.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | shutdown_notify.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = shutdown_notify.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqs-lambda` (lib test) due to 19 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7dbe22dbc41175bcac7b150bfd7a1625f11f97b66c6b321035b6e77928ebf7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dbe22dbc41175bcac7b150bfd7a1625f11f97b66c6b321035b6e77928ebf7e0", kill_on_drop: false }` [INFO] [stdout] 7dbe22dbc41175bcac7b150bfd7a1625f11f97b66c6b321035b6e77928ebf7e0