[INFO] fetching crate bookkeeper-client 0.2.1... [INFO] testing bookkeeper-client-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bookkeeper-client 0.2.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate bookkeeper-client 0.2.1 [INFO] finished tweaking crates.io crate bookkeeper-client 0.2.1 [INFO] tweaked toml for crates.io crate bookkeeper-client 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bookkeeper-client 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 233 packages to latest compatible versions [INFO] [stderr] Adding compact_str v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding etcd-client v0.11.1 (available: v0.16.1) [INFO] [stderr] Adding prost v0.11.9 (available: v0.14.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding strum v0.25.0 (available: v0.27.2) [INFO] [stderr] Adding tonic v0.9.2 (available: v0.14.1) [INFO] [stderr] Adding tonic-build v0.9.2 (available: v0.14.1) [INFO] [stderr] Adding zookeeper-client v0.6.4 (available: v0.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-log v0.2.18 [INFO] [stderr] Downloaded crc32c v0.6.8 [INFO] [stderr] Downloaded test-log-macros v0.2.18 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded etcd-client v0.11.1 [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded zookeeper-client v0.6.4 [INFO] [stderr] Downloaded compact_str v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e97dfcf393442ea981455f6ef5ec2e9c12bf3485f0dabe6899ee4110d38726d5 [INFO] running `Command { std: "docker" "start" "-a" "e97dfcf393442ea981455f6ef5ec2e9c12bf3485f0dabe6899ee4110d38726d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e97dfcf393442ea981455f6ef5ec2e9c12bf3485f0dabe6899ee4110d38726d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e97dfcf393442ea981455f6ef5ec2e9c12bf3485f0dabe6899ee4110d38726d5", kill_on_drop: false }` [INFO] [stdout] e97dfcf393442ea981455f6ef5ec2e9c12bf3485f0dabe6899ee4110d38726d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d35c62d7713f165833d1d4dda9fada47484383b1ba4ce2ce678b24cd73adcb8 [INFO] running `Command { std: "docker" "start" "-a" "3d35c62d7713f165833d1d4dda9fada47484383b1ba4ce2ce678b24cd73adcb8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling compact_str v0.4.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling ignore-result v0.2.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling atomic v0.6.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling etcd-client v0.11.1 [INFO] [stderr] Compiling bookkeeper-client v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zookeeper-client v0.6.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.9.2 [INFO] [stdout] warning: unused imports: `BookieRegistrationClient`, `BookieServiceInfo`, `BookieUpdateStream`, `LedgerIdStoreClient`, and `LedgerMetadataStoreClient` [INFO] [stdout] --> src/meta.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BookieRegistrationClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | BookieServiceInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | BookieUpdateStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | LedgerIdStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | LedgerMetadataStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high_priority` is never read [INFO] [stdout] --> src/client/bookie.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct AddOptions<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 301 | pub recovery_add: bool, [INFO] [stdout] 302 | pub high_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_add_confirmed` is never read [INFO] [stdout] --> src/client/bookie.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct FetchedEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 309 | pub max_lac: EntryId, [INFO] [stdout] 310 | pub last_add_confirmed: EntryId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high_priority` is never read [INFO] [stdout] --> src/client/bookie.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct ReadOptions<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 316 | pub fence_ledger: bool, [INFO] [stdout] 317 | pub high_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_quorum_coverage_set` is never used [INFO] [stdout] --> src/client/entry_distribution.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait HasEntryDistribution { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn new_quorum_coverage_set(&self) -> QuorumCoverageSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ensemble_at` and `ensemble_iter` are never used [INFO] [stdout] --> src/client/metadata.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub(crate) trait HasLedgerMetadata { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 382 | fn ensemble_at(&self, entry_id: EntryId) -> (EntryId, &[BookieId], EntryId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn ensemble_iter(&self, entry_id: EntryId) -> EnsembleIterator<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `write_quorum`, `ack_quorum`, and `custom_metadata` are never read [INFO] [stdout] --> src/client/placement.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EnsembleOptions<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | pub ensemble_size: u32, [INFO] [stdout] 13 | pub write_quorum: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub ack_quorum: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub custom_metadata: &'a HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `digest_length` is never used [INFO] [stdout] --> src/digest/traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Algorithm { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn digest_length(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterable` is never used [INFO] [stdout] --> src/future.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Iterable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/marker.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Sendable(std::rc::Rc<()>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/meta/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct BookieServiceInfo { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 58 | pub bookie_id: BookieId, [INFO] [stdout] 59 | pub properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookieServiceInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/meta/types.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct BookieEndpoint { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 115 | pub id: CompactString, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookieEndpoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LedgerRereplicationLayoutFormat` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/bookkeeper-client-e2c838ad7b53b5c6/out/bookkeeper.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | pub struct LedgerRereplicationLayoutFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/client/bookie.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 819 | pub async fn connect(addr: A, _conf: &Configuration) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________- [INFO] [stdout] 820 | | impl From for BkError { [INFO] [stdout] | | ^^^^^----^---------^^^^^^------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `BkError` is not local [INFO] [stdout] | | | `Error` is not local [INFO] [stdout] | | `From` is not local [INFO] [stdout] 821 | | fn from(_: io::Error) -> BkError { [INFO] [stdout] 822 | | BkError::with_description(ErrorKind::BookieNotAvailable, &"can't connect to bookie") [INFO] [stdout] ... | [INFO] [stdout] 830 | | Ok(client) [INFO] [stdout] 831 | | } [INFO] [stdout] | |_____- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "3d35c62d7713f165833d1d4dda9fada47484383b1ba4ce2ce678b24cd73adcb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d35c62d7713f165833d1d4dda9fada47484383b1ba4ce2ce678b24cd73adcb8", kill_on_drop: false }` [INFO] [stdout] 3d35c62d7713f165833d1d4dda9fada47484383b1ba4ce2ce678b24cd73adcb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4737267e0975afbeb13af613bbbeed5aa809167c87e61237fdf90eabaaf60ccc [INFO] running `Command { std: "docker" "start" "-a" "4737267e0975afbeb13af613bbbeed5aa809167c87e61237fdf90eabaaf60ccc", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling zookeeper-client v0.6.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling test-log v0.2.18 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling etcd-client v0.11.1 [INFO] [stderr] Compiling bookkeeper-client v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.9.2 [INFO] [stdout] warning: unused imports: `BookieRegistrationClient`, `BookieServiceInfo`, `BookieUpdateStream`, `LedgerIdStoreClient`, and `LedgerMetadataStoreClient` [INFO] [stdout] --> src/meta.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BookieRegistrationClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | BookieServiceInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | BookieUpdateStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | LedgerIdStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | LedgerMetadataStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BookieRegistrationClient`, `BookieServiceInfo`, `BookieUpdateStream`, `LedgerIdStoreClient`, and `LedgerMetadataStoreClient` [INFO] [stdout] --> src/meta.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BookieRegistrationClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | BookieServiceInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | BookieUpdateStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | LedgerIdStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | LedgerMetadataStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high_priority` is never read [INFO] [stdout] --> src/client/bookie.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct AddOptions<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 301 | pub recovery_add: bool, [INFO] [stdout] 302 | pub high_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_add_confirmed` is never read [INFO] [stdout] --> src/client/bookie.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct FetchedEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 309 | pub max_lac: EntryId, [INFO] [stdout] 310 | pub last_add_confirmed: EntryId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high_priority` is never read [INFO] [stdout] --> src/client/bookie.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct ReadOptions<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 316 | pub fence_ledger: bool, [INFO] [stdout] 317 | pub high_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_quorum_coverage_set` is never used [INFO] [stdout] --> src/client/entry_distribution.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait HasEntryDistribution { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn new_quorum_coverage_set(&self) -> QuorumCoverageSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ensemble_at` and `ensemble_iter` are never used [INFO] [stdout] --> src/client/metadata.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub(crate) trait HasLedgerMetadata { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 382 | fn ensemble_at(&self, entry_id: EntryId) -> (EntryId, &[BookieId], EntryId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn ensemble_iter(&self, entry_id: EntryId) -> EnsembleIterator<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `write_quorum`, `ack_quorum`, and `custom_metadata` are never read [INFO] [stdout] --> src/client/placement.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EnsembleOptions<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | pub ensemble_size: u32, [INFO] [stdout] 13 | pub write_quorum: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub ack_quorum: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub custom_metadata: &'a HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `digest_length` is never used [INFO] [stdout] --> src/digest/traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Algorithm { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn digest_length(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterable` is never used [INFO] [stdout] --> src/future.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Iterable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/marker.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Sendable(std::rc::Rc<()>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/meta/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct BookieServiceInfo { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 58 | pub bookie_id: BookieId, [INFO] [stdout] 59 | pub properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookieServiceInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/meta/types.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct BookieEndpoint { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 115 | pub id: CompactString, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookieEndpoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LedgerRereplicationLayoutFormat` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/bookkeeper-client-0da13d51ce2e3304/out/bookkeeper.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | pub struct LedgerRereplicationLayoutFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/client/bookie.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 819 | pub async fn connect(addr: A, _conf: &Configuration) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________- [INFO] [stdout] 820 | | impl From for BkError { [INFO] [stdout] | | ^^^^^----^---------^^^^^^------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `BkError` is not local [INFO] [stdout] | | | `Error` is not local [INFO] [stdout] | | `From` is not local [INFO] [stdout] 821 | | fn from(_: io::Error) -> BkError { [INFO] [stdout] 822 | | BkError::with_description(ErrorKind::BookieNotAvailable, &"can't connect to bookie") [INFO] [stdout] ... | [INFO] [stdout] 830 | | Ok(client) [INFO] [stdout] 831 | | } [INFO] [stdout] | |_____- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high_priority` is never read [INFO] [stdout] --> src/client/bookie.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct AddOptions<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 301 | pub recovery_add: bool, [INFO] [stdout] 302 | pub high_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_add_confirmed` is never read [INFO] [stdout] --> src/client/bookie.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct FetchedEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 309 | pub max_lac: EntryId, [INFO] [stdout] 310 | pub last_add_confirmed: EntryId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high_priority` is never read [INFO] [stdout] --> src/client/bookie.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct ReadOptions<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 316 | pub fence_ledger: bool, [INFO] [stdout] 317 | pub high_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_quorum_coverage_set` is never used [INFO] [stdout] --> src/client/entry_distribution.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait HasEntryDistribution { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn new_quorum_coverage_set(&self) -> QuorumCoverageSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ensemble_at` and `ensemble_iter` are never used [INFO] [stdout] --> src/client/metadata.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub(crate) trait HasLedgerMetadata { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 382 | fn ensemble_at(&self, entry_id: EntryId) -> (EntryId, &[BookieId], EntryId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn ensemble_iter(&self, entry_id: EntryId) -> EnsembleIterator<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `write_quorum`, `ack_quorum`, and `custom_metadata` are never read [INFO] [stdout] --> src/client/placement.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EnsembleOptions<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | pub ensemble_size: u32, [INFO] [stdout] 13 | pub write_quorum: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub ack_quorum: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub custom_metadata: &'a HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterable` is never used [INFO] [stdout] --> src/future.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Iterable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/marker.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Sendable(std::rc::Rc<()>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/meta/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct BookieServiceInfo { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 58 | pub bookie_id: BookieId, [INFO] [stdout] 59 | pub properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookieServiceInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/meta/types.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct BookieEndpoint { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 115 | pub id: CompactString, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookieEndpoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LedgerRereplicationLayoutFormat` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/bookkeeper-client-0da13d51ce2e3304/out/bookkeeper.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | pub struct LedgerRereplicationLayoutFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/client/bookie.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 819 | pub async fn connect(addr: A, _conf: &Configuration) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________- [INFO] [stdout] 820 | | impl From for BkError { [INFO] [stdout] | | ^^^^^----^---------^^^^^^------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `BkError` is not local [INFO] [stdout] | | | `Error` is not local [INFO] [stdout] | | `From` is not local [INFO] [stdout] 821 | | fn from(_: io::Error) -> BkError { [INFO] [stdout] 822 | | BkError::with_description(ErrorKind::BookieNotAvailable, &"can't connect to bookie") [INFO] [stdout] ... | [INFO] [stdout] 830 | | Ok(client) [INFO] [stdout] 831 | | } [INFO] [stdout] | |_____- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testcontainers` [INFO] [stdout] --> tests/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use testcontainers::clients::Cli as DockerCli; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `testcontainers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testcontainers`, use `cargo add testcontainers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testcontainers` [INFO] [stdout] --> tests/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use testcontainers::core::{Healthcheck, WaitFor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `testcontainers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testcontainers`, use `cargo add testcontainers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testcontainers` [INFO] [stdout] --> tests/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use testcontainers::images::generic::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `testcontainers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testcontainers`, use `cargo add testcontainers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testcontainers` [INFO] [stdout] --> tests/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testcontainers::Container; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `testcontainers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testcontainers`, use `cargo add testcontainers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bookkeeper-client` (test "client") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4737267e0975afbeb13af613bbbeed5aa809167c87e61237fdf90eabaaf60ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4737267e0975afbeb13af613bbbeed5aa809167c87e61237fdf90eabaaf60ccc", kill_on_drop: false }` [INFO] [stdout] 4737267e0975afbeb13af613bbbeed5aa809167c87e61237fdf90eabaaf60ccc