[INFO] fetching crate aws-smithy-http-server-python 0.63.2... [INFO] checking aws-smithy-http-server-python-0.63.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate aws-smithy-http-server-python 0.63.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate aws-smithy-http-server-python 0.63.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aws-smithy-http-server-python 0.63.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate aws-smithy-http-server-python 0.63.2 [INFO] tweaked toml for crates.io crate aws-smithy-http-server-python 0.63.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 229 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding aws_lambda_events v0.12.1 (available: v0.15.1) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.20.0 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.18) [INFO] [stderr] Adding clap_lex v0.2.4 (available: v0.7.2) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding http-range-header v0.3.1 (available: v0.4.1) [INFO] [stderr] Adding http-serde v1.1.3 (available: v2.1.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.5) [INFO] [stderr] Adding lambda_http v0.8.3 (available: v0.13.0) [INFO] [stderr] Adding lambda_runtime v0.8.3 (available: v0.13.0) [INFO] [stderr] Adding lambda_runtime_api_client v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding memoffset v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding minicbor v0.24.4 (available: v0.25.1) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding os_str_bytes v6.6.1 (available: v7.0.0) [INFO] [stderr] Adding pem v1.1.1 (available: v3.0.4) [INFO] [stderr] Adding pyo3 v0.18.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-asyncio v0.18.0 (available: v0.20.0) [INFO] [stderr] Adding pyo3-asyncio-macros v0.18.0 (available: v0.20.0) [INFO] [stderr] Adding pyo3-build-config v0.18.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-ffi v0.18.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros v0.18.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros-backend v0.18.3 (available: v0.22.3) [INFO] [stderr] Adding rcgen v0.10.0 (available: v0.13.1) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-native-certs v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding tls-listener v0.7.0 (available: v0.10.1) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding tower-http v0.3.5 (available: v0.6.1) [INFO] [stderr] Adding unindent v0.1.11 (available: v0.2.3) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0db478672d7630986f3c9df608efcf07439007fb5b8b6542be13ddbda6c25ac8 [INFO] running `Command { std: "docker" "start" "-a" "0db478672d7630986f3c9df608efcf07439007fb5b8b6542be13ddbda6c25ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db478672d7630986f3c9df608efcf07439007fb5b8b6542be13ddbda6c25ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db478672d7630986f3c9df608efcf07439007fb5b8b6542be13ddbda6c25ac8", kill_on_drop: false }` [INFO] [stdout] 0db478672d7630986f3c9df608efcf07439007fb5b8b6542be13ddbda6c25ac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cd5b1df1635708b475240a09f87361db58f487004c573d6333931a132865bbb [INFO] running `Command { std: "docker" "start" "-a" "5cd5b1df1635708b475240a09f87361db58f487004c573d6333931a132865bbb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling minicbor v0.24.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling pyo3-build-config v0.18.3 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling pyo3-ffi v0.18.3 [INFO] [stderr] Compiling pyo3 v0.18.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pyo3-macros-backend v0.18.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling pyo3-asyncio-macros v0.18.0 [INFO] [stderr] Checking rcgen v0.10.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking query_map v0.7.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pyo3-macros v0.18.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http-serde v1.1.3 [INFO] [stderr] Checking aws_lambda_events v0.12.1 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking pyo3-asyncio v0.18.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking tower-test v0.4.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking aws-smithy-types v1.2.6 [INFO] [stderr] Checking lambda_runtime_api_client v0.8.0 [INFO] [stderr] Checking tls-listener v0.7.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking lambda_runtime v0.8.3 [INFO] [stderr] Checking aws-smithy-runtime-api v1.7.2 [INFO] [stderr] Checking aws-smithy-cbor v0.60.7 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking lambda_http v0.8.3 [INFO] [stderr] Checking aws-smithy-http v0.60.11 [INFO] [stderr] Checking aws-smithy-http-server v0.63.3 [INFO] [stderr] Checking aws-smithy-http-server-python v0.63.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Poll::Connection>>::Stream, tls_listener::Error<::Error, ::Connection>>::Error>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls/listener.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | match ready!(self.as_mut().project().inner.poll_next(cx)) { [INFO] [stdout] | -------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `Poll>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 349 | tokio::pin!(stream); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | match stream.poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(&pyo3::PyAny, &pyo3::PyAny), pyo3::PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 59 | let none = py.None(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | match ty [INFO] [stdout] | ___________^ [INFO] [stdout] 67 | | .getattr("__args__") [INFO] [stdout] 68 | | .and_then(|args| args.extract::<(&PyAny, &PyAny)>()) [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/collection.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__setitem__` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] ::: src/middleware/header_map.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | mutable_mapping_pymethods!(PyHeaderMap, keys_iter: PyHeaderMapKeys); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `PyHeaderMap` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `mutable_mapping_pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/collection.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__delitem__` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] ::: src/middleware/header_map.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | mutable_mapping_pymethods!(PyHeaderMap, keys_iter: PyHeaderMapKeys); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `PyHeaderMap` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `mutable_mapping_pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Poll::Connection>>::Stream, tls_listener::Error<::Error, ::Connection>>::Error>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls/listener.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | match ready!(self.as_mut().project().inner.poll_next(cx)) { [INFO] [stdout] | -------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls/listener.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 134 | let (_new_acceptor_tx, new_acceptor_rx) = mpsc::channel(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let cert = valid_cert(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | hyper::body::to_bytes(response.into_body()).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: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls/listener.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 183 | let invalid_cert = cert_with_invalid_date(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let cert = valid_cert(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | hyper::body::to_bytes(response.into_body()).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] [stderr] error: could not compile `aws-smithy-http-server-python` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Poll>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 349 | tokio::pin!(stream); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | match stream.poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(&pyo3::PyAny, &pyo3::PyAny), pyo3::PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 59 | let none = py.None(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | match ty [INFO] [stdout] | ___________^ [INFO] [stdout] 67 | | .getattr("__args__") [INFO] [stdout] 68 | | .and_then(|args| args.extract::<(&PyAny, &PyAny)>()) [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/collection.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__setitem__` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] ::: src/middleware/header_map.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | mutable_mapping_pymethods!(PyHeaderMap, keys_iter: PyHeaderMapKeys); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `PyHeaderMap` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `mutable_mapping_pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/collection.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__delitem__` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] ::: src/middleware/header_map.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | mutable_mapping_pymethods!(PyHeaderMap, keys_iter: PyHeaderMapKeys); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `PyHeaderMap` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `mutable_mapping_pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/collection.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__setitem__` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 258 | mutable_mapping_pymethods!(Map, keys_iter: MapKeys); [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Map` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `mutable_mapping_pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/collection.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__delitem__` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 258 | mutable_mapping_pymethods!(Map, keys_iter: MapKeys); [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Map` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `mutable_mapping_pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-smithy-http-server-python` (lib test) due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5cd5b1df1635708b475240a09f87361db58f487004c573d6333931a132865bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd5b1df1635708b475240a09f87361db58f487004c573d6333931a132865bbb", kill_on_drop: false }` [INFO] [stdout] 5cd5b1df1635708b475240a09f87361db58f487004c573d6333931a132865bbb