[INFO] fetching crate scylla 0.10.2... [INFO] checking scylla-0.10.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate scylla 0.10.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate scylla 0.10.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate scylla 0.10.2 [INFO] tweaked toml for crates.io crate scylla 0.10.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scylla 0.10.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scylla 0.10.2 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded ntest v0.9.3 [INFO] [stderr] Downloaded scylla-macros v0.2.3 [INFO] [stderr] Downloaded ntest_timeout v0.9.3 [INFO] [stderr] Downloaded scylla-proxy v0.0.3 [INFO] [stderr] Downloaded ntest_test_cases v0.9.3 [INFO] [stderr] Downloaded scylla-cql v0.0.7 [INFO] [stderr] Downloaded scylla-cql v0.0.9 [INFO] [stderr] Downloaded lz4_flex v0.9.5 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6174ab0844005f3871c641398faa5581cab41220c9cf7adc9d5e88846b064ad [INFO] running `Command { std: "docker" "start" "-a" "f6174ab0844005f3871c641398faa5581cab41220c9cf7adc9d5e88846b064ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6174ab0844005f3871c641398faa5581cab41220c9cf7adc9d5e88846b064ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6174ab0844005f3871c641398faa5581cab41220c9cf7adc9d5e88846b064ad", kill_on_drop: false }` [INFO] [stdout] f6174ab0844005f3871c641398faa5581cab41220c9cf7adc9d5e88846b064ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4024fa21a5b5619abee55cbf2fba20a434c891e5ae61eb76cc97bc52fa0b77aa [INFO] running `Command { std: "docker" "start" "-a" "4024fa21a5b5619abee55cbf2fba20a434c891e5ae61eb76cc97bc52fa0b77aa", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking bigdecimal v0.2.2 [INFO] [stderr] Checking twox-hash v2.1.1 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking lz4_flex v0.9.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling scylla-macros v0.2.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking ntest v0.9.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking scylla-cql v0.0.9 [INFO] [stderr] Checking scylla-cql v0.0.7 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking scylla-proxy v0.0.3 [INFO] [stderr] Checking scylla v0.10.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/connection.rs:972:17 [INFO] [stdout] | [INFO] [stdout] 972 | stream: (impl AsyncRead + AsyncWrite), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 972 - stream: (impl AsyncRead + AsyncWrite), [INFO] [stdout] 972 + stream: impl AsyncRead + AsyncWrite, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/connection.rs:1037:24 [INFO] [stdout] | [INFO] [stdout] 1037 | mut read_half: (impl AsyncRead + Unpin), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1037 - mut read_half: (impl AsyncRead + Unpin), [INFO] [stdout] 1037 + mut read_half: impl AsyncRead + Unpin, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/connection.rs:1119:25 [INFO] [stdout] | [INFO] [stdout] 1119 | mut write_half: (impl AsyncWrite + Unpin), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1119 - mut write_half: (impl AsyncWrite + Unpin), [INFO] [stdout] 1119 + mut write_half: impl AsyncWrite + Unpin, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/connection.rs:972:17 [INFO] [stdout] | [INFO] [stdout] 972 | stream: (impl AsyncRead + AsyncWrite), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 972 - stream: (impl AsyncRead + AsyncWrite), [INFO] [stdout] 972 + stream: impl AsyncRead + AsyncWrite, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/connection.rs:1037:24 [INFO] [stdout] | [INFO] [stdout] 1037 | mut read_half: (impl AsyncRead + Unpin), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1037 - mut read_half: (impl AsyncRead + Unpin), [INFO] [stdout] 1037 + mut read_half: impl AsyncRead + Unpin, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/connection.rs:1119:25 [INFO] [stdout] | [INFO] [stdout] 1119 | mut write_half: (impl AsyncWrite + Unpin), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1119 - mut write_half: (impl AsyncWrite + Unpin), [INFO] [stdout] 1119 + mut write_half: impl AsyncWrite + Unpin, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> src/transport/connection.rs:1798:15 [INFO] [stdout] | [INFO] [stdout] 1798 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [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 name: `scylla_cloud_tests` [INFO] [stdout] --> src/transport/connection.rs:1891:15 [INFO] [stdout] | [INFO] [stdout] 1891 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> src/transport/connection.rs:2083:15 [INFO] [stdout] | [INFO] [stdout] 2083 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> src/transport/connection_pool.rs:1271:15 [INFO] [stdout] | [INFO] [stdout] 1271 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> src/utils/test_utils.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> src/utils/test_utils.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(scylla_cloud_tests)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/statement/prepared_statement.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | &'ps self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] 152 | bound_values: &'ps SerializedValues, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] 153 | ) -> Result { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'ps` [INFO] [stdout] | [INFO] [stdout] 153 | ) -> Result, PartitionKeyExtractionError> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/metrics.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(err: PoisonError>) -> MetricsError { [INFO] [stdout] | ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 14 | fn from(err: PoisonError>) -> MetricsError<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/transport/metrics.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | fn from(err: &'static str) -> MetricsError { [INFO] [stdout] | ^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 20 | fn from(err: &'static str) -> MetricsError<'static> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/metrics.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn log_query_latency(&self, latency: u64) -> Result<(), MetricsError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn log_query_latency(&self, latency: u64) -> Result<(), MetricsError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/metrics.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_latency_avg_ms(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_latency_avg_ms(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/metrics.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_latency_percentile_ms(&self, percentile: f64) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_latency_percentile_ms(&self, percentile: f64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/topology.rs:1576:31 [INFO] [stdout] | [INFO] [stdout] 1576 | fn parse_user_defined_type(p: ParserState) -> ParseResult<(&str, ParserState)> { [INFO] [stdout] | ^^^^^^^^^^^ ---- ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1576 | fn parse_user_defined_type(p: ParserState<'_>) -> ParseResult<(&str, ParserState<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scylla_proxy::TargetShard` [INFO] [stdout] --> tests/integration/consistency.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | TargetShard, WorkerError, [INFO] [stdout] | ^^^^^^^^^^^ no `TargetShard` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scylla_proxy::TargetShard` [INFO] [stdout] --> tests/integration/lwt_optimisation.rs:12:69 [INFO] [stdout] | [INFO] [stdout] 12 | ResponseOpcode, ResponseReaction, ResponseRule, ShardAwareness, TargetShard, WorkerError, [INFO] [stdout] | ^^^^^^^^^^^ no `TargetShard` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scylla_proxy::TargetShard` [INFO] [stdout] --> tests/integration/shards.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scylla_proxy::TargetShard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `TargetShard` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/consistency.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [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 name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/consistency.rs:404:11 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/consistency.rs:462:11 [INFO] [stdout] | [INFO] [stdout] 462 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/execution_profiles.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/lwt_optimisation.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/new_session.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/new_session.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/retries.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/retries.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `scylla_cloud_tests` [INFO] [stdout] --> tests/integration/shards.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(scylla_cloud_tests))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(scylla_cloud_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> tests/integration/consistency.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 296 | / async fn check_consistencies( [INFO] [stdout] 297 | | consistency: Consistency, [INFO] [stdout] 298 | | serial_consistency: Option, [INFO] [stdout] 299 | | mut request_rx: UnboundedReceiver<(RequestFrame, Option)>, [INFO] [stdout] 300 | | ) -> UnboundedReceiver<(RequestFrame, Option)> { [INFO] [stdout] | |_______________________________________________________________________- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 311 | check_for_all_consistencies_and_setting_options( [INFO] [stdout] | ----------------------------------------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 317 | check_consistencies, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(Consistency, Option<_>, tokio::sync::mpsc::UnboundedReceiver) -> _` [INFO] [stdout] found function signature `fn(Consistency, Option<_>, tokio::sync::mpsc::UnboundedReceiver<(RequestFrame, Option<{type error}>)>) -> _` [INFO] [stdout] note: required by a bound in `check_for_all_consistencies_and_setting_options` [INFO] [stdout] --> tests/integration/consistency.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 145 | async fn check_for_all_consistencies_and_setting_options< [INFO] [stdout] | ----------------------------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 155 | check_consistencies: impl Fn(Consistency, Option, Rx) -> Fut2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `check_for_all_consistencies_and_setting_options` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 317 | |arg0: Consistency, arg1: Option, arg2: tokio::sync::mpsc::UnboundedReceiver| check_consistencies(arg0, arg1, /* tokio::sync::mpsc::UnboundedReceiver<(RequestFrame, Option<{type error}>)> */), [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> tests/integration/consistency.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 296 | / async fn check_consistencies( [INFO] [stdout] 297 | | consistency: Consistency, [INFO] [stdout] 298 | | serial_consistency: Option, [INFO] [stdout] 299 | | mut request_rx: UnboundedReceiver<(RequestFrame, Option)>, [INFO] [stdout] 300 | | ) -> UnboundedReceiver<(RequestFrame, Option)> { [INFO] [stdout] | |_______________________________________________________________________- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 311 | / check_for_all_consistencies_and_setting_options( [INFO] [stdout] 312 | | session_builder, [INFO] [stdout] 313 | | fallthrough_exec_profile_builder, [INFO] [stdout] 314 | | &ks, [INFO] [stdout] ... | [INFO] [stdout] 317 | | check_consistencies, [INFO] [stdout] 318 | | ) [INFO] [stdout] | |_____________^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(Consistency, Option<_>, tokio::sync::mpsc::UnboundedReceiver) -> _` [INFO] [stdout] found function signature `fn(Consistency, Option<_>, tokio::sync::mpsc::UnboundedReceiver<(RequestFrame, Option<{type error}>)>) -> _` [INFO] [stdout] note: required by a bound in `check_for_all_consistencies_and_setting_options` [INFO] [stdout] --> tests/integration/consistency.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 145 | async fn check_for_all_consistencies_and_setting_options< [INFO] [stdout] | ----------------------------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 155 | check_consistencies: impl Fn(Consistency, Option, Rx) -> Fut2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `check_for_all_consistencies_and_setting_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> tests/integration/consistency.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 296 | / async fn check_consistencies( [INFO] [stdout] 297 | | consistency: Consistency, [INFO] [stdout] 298 | | serial_consistency: Option, [INFO] [stdout] 299 | | mut request_rx: UnboundedReceiver<(RequestFrame, Option)>, [INFO] [stdout] 300 | | ) -> UnboundedReceiver<(RequestFrame, Option)> { [INFO] [stdout] | |_______________________________________________________________________- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 319 | .await; [INFO] [stdout] | ^^^^^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(Consistency, Option<_>, tokio::sync::mpsc::UnboundedReceiver) -> _` [INFO] [stdout] found function signature `fn(Consistency, Option<_>, tokio::sync::mpsc::UnboundedReceiver<(RequestFrame, Option<{type error}>)>) -> _` [INFO] [stdout] note: required by a bound in `check_for_all_consistencies_and_setting_options` [INFO] [stdout] --> tests/integration/consistency.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 145 | async fn check_for_all_consistencies_and_setting_options< [INFO] [stdout] | ----------------------------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 155 | check_consistencies: impl Fn(Consistency, Option, Rx) -> Fut2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `check_for_all_consistencies_and_setting_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration/lwt_optimisation.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let (supported_frame, _shard) = supported_rx.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------- this expression has type `ResponseFrame` [INFO] [stdout] | | [INFO] [stdout] | expected `ResponseFrame`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ResponseFrame` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scylla` (test "integration") due to 7 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transport/connection.rs:2051:13 [INFO] [stdout] | [INFO] [stdout] 2051 | ... let (startup_without_lwt_optimisation, _shard) = select! { [INFO] [stdout] | ___________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^___- [INFO] [stdout] | | | [INFO] [stdout] | | expected `RequestFrame`, found `(_, _)` [INFO] [stdout] 2052 | | ... _ = open_connection(UntranslatedEndpoint::ContactPoint(ResolvedContactPoint{address: proxy_addr, datacenter: None}), None, conf... [INFO] [stdout] 2053 | | ... startup = startup_rx.recv() => startup.unwrap(), [INFO] [stdout] 2054 | | ... }; [INFO] [stdout] | |_______- this expression has type `RequestFrame` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `RequestFrame` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transport/connection.rs:2059:13 [INFO] [stdout] | [INFO] [stdout] 2059 | ... let (startup_with_lwt_optimisation, _shard) = select! { [INFO] [stdout] | ___________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^___- [INFO] [stdout] | | | [INFO] [stdout] | | expected `RequestFrame`, found `(_, _)` [INFO] [stdout] 2060 | | ... _ = open_connection(UntranslatedEndpoint::ContactPoint(ResolvedContactPoint{address: proxy_addr, datacenter: None}), None, conf... [INFO] [stdout] 2061 | | ... startup = startup_rx.recv() => startup.unwrap(), [INFO] [stdout] 2062 | | ... }; [INFO] [stdout] | |_______- this expression has type `RequestFrame` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `RequestFrame` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scylla` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4024fa21a5b5619abee55cbf2fba20a434c891e5ae61eb76cc97bc52fa0b77aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4024fa21a5b5619abee55cbf2fba20a434c891e5ae61eb76cc97bc52fa0b77aa", kill_on_drop: false }` [INFO] [stdout] 4024fa21a5b5619abee55cbf2fba20a434c891e5ae61eb76cc97bc52fa0b77aa