[INFO] fetching crate surrealdb-tikv-client 0.3.0-surreal.1... [INFO] checking surrealdb-tikv-client-0.3.0-surreal.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate surrealdb-tikv-client 0.3.0-surreal.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate surrealdb-tikv-client 0.3.0-surreal.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate surrealdb-tikv-client 0.3.0-surreal.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate surrealdb-tikv-client 0.3.0-surreal.1 [INFO] tweaked toml for crates.io crate surrealdb-tikv-client 0.3.0-surreal.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate surrealdb-tikv-client 0.3.0-surreal.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90776f2244ab304b1c029e60bd8ffd8875c0b293e9502eaf272dcb9dfde31127 [INFO] running `Command { std: "docker" "start" "-a" "90776f2244ab304b1c029e60bd8ffd8875c0b293e9502eaf272dcb9dfde31127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90776f2244ab304b1c029e60bd8ffd8875c0b293e9502eaf272dcb9dfde31127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90776f2244ab304b1c029e60bd8ffd8875c0b293e9502eaf272dcb9dfde31127", kill_on_drop: false }` [INFO] [stdout] 90776f2244ab304b1c029e60bd8ffd8875c0b293e9502eaf272dcb9dfde31127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05fae37c80c9a570e8310f9b29977afa8329a5690afcef62372e8ba054e549d5 [INFO] running `Command { std: "docker" "start" "-a" "05fae37c80c9a570e8310f9b29977afa8329a5690afcef62372e8ba054e549d5", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking fail v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking surrealdb-tikv-client v0.3.0-surreal.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `protobuf-codec` [INFO] [stdout] --> src/transaction/requests.rs:907:12 [INFO] [stdout] | [INFO] [stdout] 907 | #[cfg_attr(feature = "protobuf-codec", allow(clippy::useless_conversion))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `integration-tests`, and `prometheus` [INFO] [stdout] = help: consider adding `protobuf-codec` 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] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transaction/lock.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 113 | pd_client: Arc, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut error = 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transaction/lock.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 113 | pd_client: Arc, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut error = 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request/plan.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 164 | let res = plan.execute().await; [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] ... [INFO] [stdout] 167 | let mut resp = match res { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | if let Some(e) = resp.key_errors() { [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 `CleanupLocksResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request/plan.rs:638:58 [INFO] [stdout] | [INFO] [stdout] 636 | .try_fold(CleanupLocksResult::default(), |acc, x| { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | Ok(CleanupLocksResult { [INFO] [stdout] 638 | resolved_locks: acc.resolved_locks + x?.resolved_locks, [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 `Poll, E>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compat.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | match ready!(Pin::new_unchecked(&mut this.future).poll(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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request/plan.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 164 | let res = plan.execute().await; [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] ... [INFO] [stdout] 167 | let mut resp = match res { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | if let Some(e) = resp.key_errors() { [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 `CleanupLocksResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request/plan.rs:638:58 [INFO] [stdout] | [INFO] [stdout] 636 | .try_fold(CleanupLocksResult::default(), |acc, x| { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | Ok(CleanupLocksResult { [INFO] [stdout] 638 | resolved_locks: acc.resolved_locks + x?.resolved_locks, [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 `Poll, E>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compat.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | match ready!(Pin::new_unchecked(&mut this.future).poll(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] | [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `surrealdb-tikv-client` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/kv/bound_range.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_BoundRange` [INFO] [stdout] 69 | pub struct BoundRange { [INFO] [stdout] | ---------- `BoundRange` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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 derive macro `Arbitrary` (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/kv/key.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Key` [INFO] [stdout] 68 | #[repr(transparent)] [INFO] [stdout] 69 | pub struct Key( [INFO] [stdout] | --- `Key` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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 derive macro `Arbitrary` (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/kv/kvpair.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_KvPair` [INFO] [stdout] 30 | pub struct KvPair(pub Key, pub Value); [INFO] [stdout] | ------ `KvPair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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 derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `surrealdb-tikv-client` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05fae37c80c9a570e8310f9b29977afa8329a5690afcef62372e8ba054e549d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05fae37c80c9a570e8310f9b29977afa8329a5690afcef62372e8ba054e549d5", kill_on_drop: false }` [INFO] [stdout] 05fae37c80c9a570e8310f9b29977afa8329a5690afcef62372e8ba054e549d5