[INFO] cloning repository https://github.com/OmniCloudOrg/TimberDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OmniCloudOrg/TimberDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmniCloudOrg%2FTimberDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmniCloudOrg%2FTimberDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3ff8515050777cf087790305104d5e8a93962b7 [INFO] testing OmniCloudOrg/TimberDB against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmniCloudOrg%2FTimberDB" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OmniCloudOrg/TimberDB [INFO] finished tweaking git repo https://github.com/OmniCloudOrg/TimberDB [INFO] tweaked toml for git repo https://github.com/OmniCloudOrg/TimberDB written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OmniCloudOrg/TimberDB on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OmniCloudOrg/TimberDB 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 640e1e2d229a86d68895284e1aed8a0ac94a43cad7076776bcb66effb780ca92 [INFO] running `Command { std: "docker" "start" "-a" "640e1e2d229a86d68895284e1aed8a0ac94a43cad7076776bcb66effb780ca92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "640e1e2d229a86d68895284e1aed8a0ac94a43cad7076776bcb66effb780ca92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640e1e2d229a86d68895284e1aed8a0ac94a43cad7076776bcb66effb780ca92", kill_on_drop: false }` [INFO] [stdout] 640e1e2d229a86d68895284e1aed8a0ac94a43cad7076776bcb66effb780ca92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8a7ee7a43016e987a10292e4b9cc04eee65f7731d44eb709a48af7299f883c8 [INFO] running `Command { std: "docker" "start" "-a" "d8a7ee7a43016e987a10292e4b9cc04eee65f7731d44eb709a48af7299f883c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling timberdb v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `compression` [INFO] [stdout] --> src/storage/block.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{LogEntry, compression}; [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 import: `std::sync::Arc` [INFO] [stdout] --> src/storage/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/storage/block.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/storage/compression.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/api/server.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{TimberDB, Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/block.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut metadata = self.metadata.lock().await; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/storage/block.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/storage/block.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/storage/block.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/storage/block.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_UNCOMPRESSED_SIZE` is never used [INFO] [stdout] --> src/storage/compression.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MAX_UNCOMPRESSED_SIZE: usize = 256 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_COMPRESSED_SIZE` is never used [INFO] [stdout] --> src/storage/compression.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_COMPRESSED_SIZE: usize = 512 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/storage/compression.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compress(data: &[u8], algorithm: CompressionAlgorithm, level: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress` is never used [INFO] [stdout] --> src/storage/compression.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn decompress(data: &[u8], algorithm: CompressionAlgorithm) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_lz4` is never used [INFO] [stdout] --> src/storage/compression.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn compress_lz4(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_lz4` is never used [INFO] [stdout] --> src/storage/compression.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn decompress_lz4(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_zstd` is never used [INFO] [stdout] --> src/storage/compression.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn compress_zstd(data: &[u8], level: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_zstd` is never used [INFO] [stdout] --> src/storage/compression.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn decompress_zstd(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compression_ratio` is never used [INFO] [stdout] --> src/storage/compression.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn compression_ratio(original_size: usize, compressed_size: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_compressed_size` is never used [INFO] [stdout] --> src/storage/compression.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn estimate_compressed_size(data_size: usize, algorithm: CompressionAlgorithm) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "d8a7ee7a43016e987a10292e4b9cc04eee65f7731d44eb709a48af7299f883c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a7ee7a43016e987a10292e4b9cc04eee65f7731d44eb709a48af7299f883c8", kill_on_drop: false }` [INFO] [stdout] d8a7ee7a43016e987a10292e4b9cc04eee65f7731d44eb709a48af7299f883c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dc4ca4199a0c66b524f709cfb95f567d80a1376310b60697e4f236a52309030 [INFO] running `Command { std: "docker" "start" "-a" "0dc4ca4199a0c66b524f709cfb95f567d80a1376310b60697e4f236a52309030", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling timberdb v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `compression` [INFO] [stdout] --> src/storage/block.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{LogEntry, compression}; [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 import: `std::sync::Arc` [INFO] [stdout] --> src/storage/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/storage/block.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/storage/compression.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/api/server.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{TimberDB, Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/block.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut metadata = self.metadata.lock().await; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compression` [INFO] [stdout] --> src/storage/block.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{LogEntry, compression}; [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 import: `std::sync::Arc` [INFO] [stdout] --> src/storage/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/storage/block.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/storage/compression.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/api/server.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{TimberDB, Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogEntry` [INFO] [stdout] --> src/api/server.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | use crate::{Config, LogEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/server.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timeout` [INFO] [stdout] --> src/api/server.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | use tokio::time::{timeout, Duration}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/block.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut metadata = self.metadata.lock().await; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/storage/block.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/storage/block.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/storage/block.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/storage/block.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/storage/block.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/storage/block.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/storage/block.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_UNCOMPRESSED_SIZE` is never used [INFO] [stdout] --> src/storage/compression.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MAX_UNCOMPRESSED_SIZE: usize = 256 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_COMPRESSED_SIZE` is never used [INFO] [stdout] --> src/storage/compression.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_COMPRESSED_SIZE: usize = 512 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/storage/compression.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compress(data: &[u8], algorithm: CompressionAlgorithm, level: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress` is never used [INFO] [stdout] --> src/storage/compression.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn decompress(data: &[u8], algorithm: CompressionAlgorithm) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_lz4` is never used [INFO] [stdout] --> src/storage/compression.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn compress_lz4(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_lz4` is never used [INFO] [stdout] --> src/storage/compression.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn decompress_lz4(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_zstd` is never used [INFO] [stdout] --> src/storage/compression.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn compress_zstd(data: &[u8], level: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_zstd` is never used [INFO] [stdout] --> src/storage/compression.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn decompress_zstd(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compression_ratio` is never used [INFO] [stdout] --> src/storage/compression.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn compression_ratio(original_size: usize, compressed_size: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_compressed_size` is never used [INFO] [stdout] --> src/storage/compression.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn estimate_compressed_size(data_size: usize, algorithm: CompressionAlgorithm) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/storage/block.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_compressed_size` is never used [INFO] [stdout] --> src/storage/compression.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn estimate_compressed_size(data_size: usize, algorithm: CompressionAlgorithm) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.92s [INFO] running `Command { std: "docker" "inspect" "0dc4ca4199a0c66b524f709cfb95f567d80a1376310b60697e4f236a52309030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc4ca4199a0c66b524f709cfb95f567d80a1376310b60697e4f236a52309030", kill_on_drop: false }` [INFO] [stdout] 0dc4ca4199a0c66b524f709cfb95f567d80a1376310b60697e4f236a52309030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 808d0f5f71ed9bd6d1582f243b572ebf282c1e2116ec4dc8e5bd5925adb4a365 [INFO] running `Command { std: "docker" "start" "-a" "808d0f5f71ed9bd6d1582f243b572ebf282c1e2116ec4dc8e5bd5925adb4a365", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `compression` [INFO] [stdout] [INFO] [stderr] --> src/storage/block.rs:2:23 [INFO] [stdout] running 12 tests [INFO] [stderr] | [INFO] [stdout] test query::tests::test_time_range_filter ... ok [INFO] [stderr] 2 | use super::{LogEntry, compression}; [INFO] [stdout] test storage::compression::tests::test_no_compression ... ok [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] test storage::log_entry::tests::test_builder ... ok [INFO] [stderr] | [INFO] [stdout] test storage::compression::tests::test_zstd_compression ... ok [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] test storage::log_entry::tests::test_new_log_entry ... ok [INFO] [stderr] [INFO] [stdout] test storage::compression::tests::test_empty_data ... ok [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stdout] test query::tests::test_query_matches ... ok [INFO] [stderr] --> src/storage/block.rs:7:5 [INFO] [stdout] test storage::compression::tests::test_size_limits ... ok [INFO] [stderr] | [INFO] [stdout] test storage::log_entry::tests::test_validation ... ok [INFO] [stderr] 7 | use std::sync::Arc; [INFO] [stdout] test api::server::tests::test_server_creation ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] test api::server::tests::test_server_startup ... ok [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/storage/block.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read` and `Write` [INFO] [stderr] --> src/storage/compression.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/api/server.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{TimberDB, Result, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/storage/block.rs:283:17 [INFO] [stderr] | [INFO] [stderr] 283 | let mut metadata = self.metadata.lock().await; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/storage/block.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/storage/block.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Seek` [INFO] [stderr] --> src/storage/block.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `path` is never used [INFO] [stderr] --> src/storage/block.rs:498:12 [INFO] [stderr] | [INFO] [stderr] 94 | impl Block { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 498 | pub fn path(&self) -> &Path { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_UNCOMPRESSED_SIZE` is never used [INFO] [stderr] --> src/storage/compression.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | const MAX_UNCOMPRESSED_SIZE: usize = 256 * 1024 * 1024; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_COMPRESSED_SIZE` is never used [INFO] [stderr] --> src/storage/compression.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const MAX_COMPRESSED_SIZE: usize = 512 * 1024 * 1024; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compress` is never used [INFO] [stderr] --> src/storage/compression.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn compress(data: &[u8], algorithm: CompressionAlgorithm, level: i32) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decompress` is never used [INFO] [stderr] --> src/storage/compression.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn decompress(data: &[u8], algorithm: CompressionAlgorithm) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compress_lz4` is never used [INFO] [stderr] --> src/storage/compression.rs:57:4 [INFO] [stderr] | [INFO] [stderr] 57 | fn compress_lz4(data: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decompress_lz4` is never used [INFO] [stderr] --> src/storage/compression.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | fn decompress_lz4(data: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compress_zstd` is never used [INFO] [stderr] --> src/storage/compression.rs:69:4 [INFO] [stderr] | [INFO] [stderr] 69 | fn compress_zstd(data: &[u8], level: i32) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decompress_zstd` is never used [INFO] [stderr] --> src/storage/compression.rs:79:4 [INFO] [stderr] | [INFO] [stderr] 79 | fn decompress_zstd(data: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compression_ratio` is never used [INFO] [stderr] --> src/storage/compression.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn compression_ratio(original_size: usize, compressed_size: usize) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `estimate_compressed_size` is never used [INFO] [stderr] --> src/storage/compression.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn estimate_compressed_size(data_size: usize, algorithm: CompressionAlgorithm) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LogEntry` [INFO] [stderr] --> src/api/server.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | use crate::{Config, LogEntry}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/api/server.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `timeout` [INFO] [stderr] --> src/api/server.rs:86:23 [INFO] [stderr] | [INFO] [stderr] 86 | use tokio::time::{timeout, Duration}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `timberdb` (lib) generated 20 warnings (run `cargo fix --lib -p timberdb` to apply 6 suggestions) [INFO] [stderr] warning: `timberdb` (lib test) generated 14 warnings (11 duplicates) (run `cargo fix --lib -p timberdb --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/timberdb-7a963b3c8923adac) [INFO] [stdout] test storage::compression::tests::test_lz4_compression ... ok [INFO] [stderr] Doc-tests timberdb [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 16) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0599]: no method named `len` found for struct `QueryResult` in the current scope [INFO] [stdout] --> src/lib.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 29 | println!("Found {} log entries", results.len()); [INFO] [stdout] | ^^^ method not found in `QueryResult` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 29 | println!("Found {} log entries", results.entries.len()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "808d0f5f71ed9bd6d1582f243b572ebf282c1e2116ec4dc8e5bd5925adb4a365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808d0f5f71ed9bd6d1582f243b572ebf282c1e2116ec4dc8e5bd5925adb4a365", kill_on_drop: false }` [INFO] [stdout] 808d0f5f71ed9bd6d1582f243b572ebf282c1e2116ec4dc8e5bd5925adb4a365