[INFO] fetching crate aws_lambda_events 0.15.1... [INFO] checking aws_lambda_events-0.15.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate aws_lambda_events 0.15.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate aws_lambda_events 0.15.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 aws_lambda_events 0.15.1 [INFO] finished tweaking crates.io crate aws_lambda_events 0.15.1 [INFO] tweaked toml for crates.io crate aws_lambda_events 0.15.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [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] 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] 4c0b72ee1bc7ddaafac28255b304bbfdff32e2c1e73022ada8632709406b24e7 [INFO] running `Command { std: "docker" "start" "-a" "4c0b72ee1bc7ddaafac28255b304bbfdff32e2c1e73022ada8632709406b24e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c0b72ee1bc7ddaafac28255b304bbfdff32e2c1e73022ada8632709406b24e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0b72ee1bc7ddaafac28255b304bbfdff32e2c1e73022ada8632709406b24e7", kill_on_drop: false }` [INFO] [stdout] 4c0b72ee1bc7ddaafac28255b304bbfdff32e2c1e73022ada8632709406b24e7 [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] 920a6302ba59b6603f3d575e5ea9726eed586d7203ec114e5e5a9cb8f19ea42e [INFO] running `Command { std: "docker" "start" "-a" "920a6302ba59b6603f3d575e5ea9726eed586d7203ec114e5e5a9cb8f19ea42e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking serde_dynamo v4.2.14 [INFO] [stderr] Checking query_map v0.7.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-serde v2.1.1 [INFO] [stderr] Checking aws_lambda_events v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bedrock-agent-runtime` [INFO] [stdout] --> src/event/bedrock_agent_runtime/mod.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature = "bedrock-agent-runtime")] [INFO] [stdout] | ^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"bedrock_agent_runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `activemq`, `alb`, `apigw`, `appsync`, `autoscaling`, `bedrock_agent_runtime`, `bytes`, `chime_bot`, `chrono`, `clientvpn`, `cloudformation`, `cloudwatch_alarms`, `cloudwatch_events`, `cloudwatch_logs`, `code_commit`, `codebuild`, `codedeploy`, `codepipeline`, `codepipeline_cloudwatch`, `codepipeline_job`, `cognito`, `config`, `connect`, `default`, `documentdb`, `dynamodb`, `ecr_scan`, `eventbridge`, `firehose`, `flate2`, `http`, `http-body`, `http-serde`, `iam`, and `iot` and 19 more [INFO] [stdout] = help: consider adding `bedrock-agent-runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bedrock-agent-runtime` [INFO] [stdout] --> src/event/bedrock_agent_runtime/mod.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(feature = "bedrock-agent-runtime")] [INFO] [stdout] | ^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"bedrock_agent_runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `activemq`, `alb`, `apigw`, `appsync`, `autoscaling`, `bedrock_agent_runtime`, `bytes`, `chime_bot`, `chrono`, `clientvpn`, `cloudformation`, `cloudwatch_alarms`, `cloudwatch_events`, `cloudwatch_logs`, `code_commit`, `codebuild`, `codedeploy`, `codepipeline`, `codepipeline_cloudwatch`, `codepipeline_job`, `cognito`, `config`, `connect`, `default`, `documentdb`, `dynamodb`, `ecr_scan`, `eventbridge`, `firehose`, `flate2`, `http`, `http-body`, `http-serde`, `iam`, and `iot` and 19 more [INFO] [stdout] = help: consider adding `bedrock-agent-runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bedrock-agent-runtime` [INFO] [stdout] --> src/event/bedrock_agent_runtime/mod.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(feature = "bedrock-agent-runtime")] [INFO] [stdout] | ^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"bedrock_agent_runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `activemq`, `alb`, `apigw`, `appsync`, `autoscaling`, `bedrock_agent_runtime`, `bytes`, `chime_bot`, `chrono`, `clientvpn`, `cloudformation`, `cloudwatch_alarms`, `cloudwatch_events`, `cloudwatch_logs`, `code_commit`, `codebuild`, `codedeploy`, `codepipeline`, `codepipeline_cloudwatch`, `codepipeline_job`, `cognito`, `config`, `connect`, `default`, `documentdb`, `dynamodb`, `ecr_scan`, `eventbridge`, `firehose`, `flate2`, `http`, `http-body`, `http-serde`, `iam`, and `iot` and 19 more [INFO] [stdout] = help: consider adding `bedrock-agent-runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/custom_serde/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn deserialize_lambda_map<'de, D, K, V>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let opt = Option::deserialize(deserializer)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok(opt.unwrap_or_default()) [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] = 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/custom_serde/http_method.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn deserialize_optional<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(None) [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/custom_serde/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn deserialize_lambda_map<'de, D, K, V>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let opt = Option::deserialize(deserializer)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok(opt.unwrap_or_default()) [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] = 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/custom_serde/http_method.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn deserialize_optional<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(None) [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aws_lambda_events` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aws_lambda_events` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "920a6302ba59b6603f3d575e5ea9726eed586d7203ec114e5e5a9cb8f19ea42e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920a6302ba59b6603f3d575e5ea9726eed586d7203ec114e5e5a9cb8f19ea42e", kill_on_drop: false }` [INFO] [stdout] 920a6302ba59b6603f3d575e5ea9726eed586d7203ec114e5e5a9cb8f19ea42e