[INFO] fetching crate bitcasky 0.1.2... [INFO] testing bitcasky-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bitcasky 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate bitcasky 0.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bitcasky 0.1.2 [INFO] tweaked toml for crates.io crate bitcasky 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitcasky 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 165 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding fs4 v0.6.6 (available: v0.13.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rustix v0.38.44 (available: v1.0.7) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 080840dd7d4998a8c26f81e7079738bd0699b6563bfc5bbd1dd7be1753710066 [INFO] running `Command { std: "docker" "start" "-a" "080840dd7d4998a8c26f81e7079738bd0699b6563bfc5bbd1dd7be1753710066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "080840dd7d4998a8c26f81e7079738bd0699b6563bfc5bbd1dd7be1753710066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080840dd7d4998a8c26f81e7079738bd0699b6563bfc5bbd1dd7be1753710066", kill_on_drop: false }` [INFO] [stdout] 080840dd7d4998a8c26f81e7079738bd0699b6563bfc5bbd1dd7be1753710066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 28572c58a1c2e1cd41b9f70cba695d7eff3cf83ecdc0e785800b3267a33fdf7b [INFO] running `Command { std: "docker" "start" "-a" "28572c58a1c2e1cd41b9f70cba695d7eff3cf83ecdc0e785800b3267a33fdf7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling fs4 v0.6.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling uuid-macro-internal v1.17.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling bitcasky v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/test_utils.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | dir.into_path() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `writing_storage_id` is never read [INFO] [stdout] --> src/database/core.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct StorageIds { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 66 | pub stable_storage_ids: Vec, [INFO] [stdout] 67 | pub writing_storage_id: StorageId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageIds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rewind` is never used [INFO] [stdout] --> src/database/data_storage/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DataStorageWriter { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 62 | fn rewind(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset` is never used [INFO] [stdout] --> src/database/data_storage/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait DataStorageReader { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 76 | fn offset(&self) -> usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/formatter/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl, V: Deref> RowToWrite { [INFO] [stdout] | -------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 59 | pub fn new(key: K, value: V) -> RowToWrite { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Handle` is never used [INFO] [stdout] --> src/fs/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Handle {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_type` and `storage_id` are never read [INFO] [stdout] --> src/fs/core.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IdentifiedFile { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 14 | pub file_type: FileType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub file: File, [INFO] [stdout] 16 | pub storage_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestingKV` is never constructed [INFO] [stdout] --> src/test_utils.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestingKV { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingKV` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/test_utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TestingKV { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(k: &str, v: &str) -> TestingKV { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_expirable(k: &str, v: &str, expire_timestamp: u64) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_bytes(k: &[u8], v: &[u8]) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn key_ref(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn value_ref(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn key(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn value(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn expire_timestamp(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TestingOperator` is never used [INFO] [stdout] --> src/test_utils.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum TestingOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperator` 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 `TestingOperation` is never constructed [INFO] [stdout] --> src/test_utils.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct TestingOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operator`, `key`, and `value` are never used [INFO] [stdout] --> src/test_utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl TestingOperation { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 71 | pub fn operator(&self) -> &TestingOperator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn key(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn value(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestingOperations` is never constructed [INFO] [stdout] --> src/test_utils.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct TestingOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operations` and `squash` are never used [INFO] [stdout] --> src/test_utils.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl TestingOperations { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 90 | pub fn operations(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn squash(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomTestingDataGenerator` is never constructed [INFO] [stdout] --> src/test_utils.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct RandomTestingDataGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_testing_kvs`, `generate_testing_operations`, `generate_testing_kv`, `generate_testing_operation`, and `generate_write_operator` are never used [INFO] [stdout] --> src/test_utils.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl RandomTestingDataGenerator { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 126 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn generate_testing_kvs(&mut self, kvs_len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn generate_testing_operations(&mut self, operation_len: usize) -> TestingOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn generate_testing_kv(&mut self) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn generate_testing_operation(&mut self) -> TestingOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn generate_write_operator(&mut self) -> TestingOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_temporary_directory_path` is never used [INFO] [stdout] --> src/test_utils.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_temporary_directory_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database/core.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 429 | storage_id: StorageId, [INFO] [stdout] 430 | ) -> DatabaseResult>> { [INFO] [stdout] | ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 430 | ) -> DatabaseResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database/data_storage/mmap_data_storage.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | fn do_read_row(&mut self, offset: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 106 | fn do_read_row(&mut self, offset: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/keydir.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/keydir.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> KeyDirIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> KeyDirIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.88s [INFO] running `Command { std: "docker" "inspect" "28572c58a1c2e1cd41b9f70cba695d7eff3cf83ecdc0e785800b3267a33fdf7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28572c58a1c2e1cd41b9f70cba695d7eff3cf83ecdc0e785800b3267a33fdf7b", kill_on_drop: false }` [INFO] [stdout] 28572c58a1c2e1cd41b9f70cba695d7eff3cf83ecdc0e785800b3267a33fdf7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 89ea536d8e6015458aebc71cfc4de93e8f91da5d8b9c5b954834633db4e1b912 [INFO] running `Command { std: "docker" "start" "-a" "89ea536d8e6015458aebc71cfc4de93e8f91da5d8b9c5b954834633db4e1b912", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling uuid-macro-internal v1.17.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling bitcasky v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/test_utils.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | dir.into_path() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `writing_storage_id` is never read [INFO] [stdout] --> src/database/core.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct StorageIds { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 66 | pub stable_storage_ids: Vec, [INFO] [stdout] 67 | pub writing_storage_id: StorageId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageIds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rewind` is never used [INFO] [stdout] --> src/database/data_storage/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DataStorageWriter { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 62 | fn rewind(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset` is never used [INFO] [stdout] --> src/database/data_storage/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait DataStorageReader { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 76 | fn offset(&self) -> usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/formatter/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl, V: Deref> RowToWrite { [INFO] [stdout] | -------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 59 | pub fn new(key: K, value: V) -> RowToWrite { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Handle` is never used [INFO] [stdout] --> src/fs/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Handle {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_type` and `storage_id` are never read [INFO] [stdout] --> src/fs/core.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IdentifiedFile { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 14 | pub file_type: FileType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub file: File, [INFO] [stdout] 16 | pub storage_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestingKV` is never constructed [INFO] [stdout] --> src/test_utils.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestingKV { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingKV` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/test_utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TestingKV { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(k: &str, v: &str) -> TestingKV { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_expirable(k: &str, v: &str, expire_timestamp: u64) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_bytes(k: &[u8], v: &[u8]) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn key_ref(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn value_ref(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn key(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn value(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn expire_timestamp(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TestingOperator` is never used [INFO] [stdout] --> src/test_utils.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum TestingOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperator` 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 `TestingOperation` is never constructed [INFO] [stdout] --> src/test_utils.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct TestingOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operator`, `key`, and `value` are never used [INFO] [stdout] --> src/test_utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl TestingOperation { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 71 | pub fn operator(&self) -> &TestingOperator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn key(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn value(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestingOperations` is never constructed [INFO] [stdout] --> src/test_utils.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct TestingOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operations` and `squash` are never used [INFO] [stdout] --> src/test_utils.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl TestingOperations { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 90 | pub fn operations(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn squash(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomTestingDataGenerator` is never constructed [INFO] [stdout] --> src/test_utils.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct RandomTestingDataGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_testing_kvs`, `generate_testing_operations`, `generate_testing_kv`, `generate_testing_operation`, and `generate_write_operator` are never used [INFO] [stdout] --> src/test_utils.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl RandomTestingDataGenerator { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 126 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn generate_testing_kvs(&mut self, kvs_len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn generate_testing_operations(&mut self, operation_len: usize) -> TestingOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn generate_testing_kv(&mut self) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn generate_testing_operation(&mut self) -> TestingOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn generate_write_operator(&mut self) -> TestingOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_temporary_directory_path` is never used [INFO] [stdout] --> src/test_utils.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_temporary_directory_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database/core.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 429 | storage_id: StorageId, [INFO] [stdout] 430 | ) -> DatabaseResult>> { [INFO] [stdout] | ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 430 | ) -> DatabaseResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database/data_storage/mmap_data_storage.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | fn do_read_row(&mut self, offset: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 106 | fn do_read_row(&mut self, offset: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/keydir.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/keydir.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> KeyDirIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> KeyDirIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/test_utils.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | dir.into_path() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `writing_storage_id` is never read [INFO] [stdout] --> src/database/core.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct StorageIds { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 66 | pub stable_storage_ids: Vec, [INFO] [stdout] 67 | pub writing_storage_id: StorageId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageIds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Handle` is never used [INFO] [stdout] --> src/fs/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Handle {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `key_ref`, and `value_ref` are never used [INFO] [stdout] --> src/test_utils.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TestingKV { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_bytes(k: &[u8], v: &[u8]) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn key_ref(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn value_ref(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TestingOperator` is never used [INFO] [stdout] --> src/test_utils.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum TestingOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperator` 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 `TestingOperation` is never constructed [INFO] [stdout] --> src/test_utils.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct TestingOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operator`, `key`, and `value` are never used [INFO] [stdout] --> src/test_utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl TestingOperation { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 71 | pub fn operator(&self) -> &TestingOperator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn key(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn value(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestingOperations` is never constructed [INFO] [stdout] --> src/test_utils.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct TestingOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingOperations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operations` and `squash` are never used [INFO] [stdout] --> src/test_utils.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl TestingOperations { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 90 | pub fn operations(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn squash(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomTestingDataGenerator` is never constructed [INFO] [stdout] --> src/test_utils.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct RandomTestingDataGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_testing_kvs`, `generate_testing_operations`, `generate_testing_kv`, `generate_testing_operation`, and `generate_write_operator` are never used [INFO] [stdout] --> src/test_utils.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl RandomTestingDataGenerator { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 126 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn generate_testing_kvs(&mut self, kvs_len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn generate_testing_operations(&mut self, operation_len: usize) -> TestingOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn generate_testing_kv(&mut self) -> TestingKV { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn generate_testing_operation(&mut self) -> TestingOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn generate_write_operator(&mut self) -> TestingOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database/core.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 429 | storage_id: StorageId, [INFO] [stdout] 430 | ) -> DatabaseResult>> { [INFO] [stdout] | ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 430 | ) -> DatabaseResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database/data_storage/mmap_data_storage.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | fn do_read_row(&mut self, offset: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 106 | fn do_read_row(&mut self, offset: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/keydir.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/keydir.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> KeyDirIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> KeyDirIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.41s [INFO] running `Command { std: "docker" "inspect" "89ea536d8e6015458aebc71cfc4de93e8f91da5d8b9c5b954834633db4e1b912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ea536d8e6015458aebc71cfc4de93e8f91da5d8b9c5b954834633db4e1b912", kill_on_drop: false }` [INFO] [stdout] 89ea536d8e6015458aebc71cfc4de93e8f91da5d8b9c5b954834633db4e1b912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fe8f3ab3410578c86bd2d7c22224d8c86a171d2cd5f5b928f36a83d15b3228d3 [INFO] running `Command { std: "docker" "start" "-a" "fe8f3ab3410578c86bd2d7c22224d8c86a171d2cd5f5b928f36a83d15b3228d3", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stderr] --> src/test_utils.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | dir.into_path() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `writing_storage_id` is never read [INFO] [stderr] --> src/database/core.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct StorageIds { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 66 | pub stable_storage_ids: Vec, [INFO] [stderr] 67 | pub writing_storage_id: StorageId, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StorageIds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `rewind` is never used [INFO] [stderr] --> src/database/data_storage/mod.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 56 | pub trait DataStorageWriter { [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 62 | fn rewind(&mut self) -> Result<()>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `offset` is never used [INFO] [stderr] --> src/database/data_storage/mod.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 67 | pub trait DataStorageReader { [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 76 | fn offset(&self) -> usize; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/formatter/mod.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 58 | impl, V: Deref> RowToWrite { [INFO] [stderr] | -------------------------------------------------------------- associated function in this implementation [INFO] [stderr] 59 | pub fn new(key: K, value: V) -> RowToWrite { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Handle` is never used [INFO] [stderr] --> src/fs/mod.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait Handle {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `file_type` and `storage_id` are never read [INFO] [stderr] --> src/fs/core.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct IdentifiedFile { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 14 | pub file_type: FileType, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 15 | pub file: File, [INFO] [stderr] 16 | pub storage_id: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TestingKV` is never constructed [INFO] [stderr] --> src/test_utils.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TestingKV { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestingKV` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/test_utils.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl TestingKV { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 12 | pub fn new(k: &str, v: &str) -> TestingKV { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn new_expirable(k: &str, v: &str, expire_timestamp: u64) -> TestingKV { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn from_bytes(k: &[u8], v: &[u8]) -> TestingKV { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn key_ref(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn value_ref(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn key(&self) -> Vec { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn value(&self) -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn expire_timestamp(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `TestingOperator` is never used [INFO] [stderr] --> src/test_utils.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | pub enum TestingOperator { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestingOperator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `TestingOperation` is never constructed [INFO] [stderr] --> src/test_utils.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct TestingOperation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestingOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `operator`, `key`, and `value` are never used [INFO] [stderr] --> src/test_utils.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 70 | impl TestingOperation { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] 71 | pub fn operator(&self) -> &TestingOperator { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn key(&self) -> Vec { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn value(&self) -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TestingOperations` is never constructed [INFO] [stderr] --> src/test_utils.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct TestingOperations { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestingOperations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `operations` and `squash` are never used [INFO] [stderr] --> src/test_utils.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 89 | impl TestingOperations { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] 90 | pub fn operations(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn squash(&self) -> Vec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RandomTestingDataGenerator` is never constructed [INFO] [stderr] --> src/test_utils.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub struct RandomTestingDataGenerator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `generate_testing_kvs`, `generate_testing_operations`, `generate_testing_kv`, `generate_testing_operation`, and `generate_write_operator` are never used [INFO] [stderr] --> src/test_utils.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 125 | impl RandomTestingDataGenerator { [INFO] [stderr] | ------------------------------- associated items in this implementation [INFO] [stderr] 126 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 139 | pub fn generate_testing_kvs(&mut self, kvs_len: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | pub fn generate_testing_operations(&mut self, operation_len: usize) -> TestingOperations { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 151 | pub fn generate_testing_kv(&mut self) -> TestingKV { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn generate_testing_operation(&mut self) -> TestingOperation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | pub fn generate_write_operator(&mut self) -> TestingOperator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_temporary_directory_path` is never used [INFO] [stderr] --> src/test_utils.rs:180:8 [INFO] [stderr] | [INFO] [stderr] 180 | pub fn get_temporary_directory_path() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/database/core.rs:428:9 [INFO] [stderr] | [INFO] [stderr] 428 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 429 | storage_id: StorageId, [INFO] [stderr] 430 | ) -> DatabaseResult>> { [INFO] [stderr] | ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 430 | ) -> DatabaseResult>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/database/data_storage/mmap_data_storage.rs:106:20 [INFO] [stderr] | [INFO] [stderr] 106 | fn do_read_row(&mut self, offset: usize) -> Result> { [INFO] [stderr] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 106 | fn do_read_row(&mut self, offset: usize) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/keydir.rs:67:16 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn get(&self, key: &Vec) -> Option, RowLocation>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/keydir.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn iter(&self) -> KeyDirIterator { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn iter(&self) -> KeyDirIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: associated items `from_bytes`, `key_ref`, and `value_ref` are never used [INFO] [stderr] --> src/test_utils.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl TestingKV { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn from_bytes(k: &[u8], v: &[u8]) -> TestingKV { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn key_ref(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn value_ref(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitcasky` (lib) generated 21 warnings (run `cargo fix --lib -p bitcasky` to apply 4 suggestions) [INFO] [stderr] warning: `bitcasky` (lib test) generated 15 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bitcasky-7684980f07ab9b79) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test database::data_storage::mmap_data_storage::tests::test_read_next_expired_row ... ok [INFO] [stdout] test database::data_storage::mmap_data_storage::tests::test_read_write_immotal_value ... ok [INFO] [stdout] test database::data_storage::mmap_data_storage::tests::test_read_write_expired_value ... ok [INFO] [stdout] test database::data_storage::mmap_data_storage::tests::test_rewind ... ok [INFO] [stdout] test database::core::database_tests::test_add_dead_bytes ... ok [INFO] [stdout] test database::hint::tests::test_read_write_hint_file ... ok [INFO] [stdout] test database::core::database_tests::test_read_write_writing_file ... ok [INFO] [stdout] test database::core::database_tests::test_read_write_with_stable_files ... ok [INFO] [stdout] test database::hint::tests::test_read_write_stable_data_file ... ok [INFO] [stdout] test database::data_storage::mmap_data_storage::tests::test_write_overflow ... ok [INFO] [stdout] test database::data_storage::mmap_data_storage::tests::test_read_next_immortal_row ... ok [INFO] [stdout] test database::tests::test_create_file ... ok [INFO] [stdout] test formatter::formatter_v1::tests::test_encode_decode_row ... ok [INFO] [stdout] test formatter::formatter_v1::tests::test_encode_decode_merge_meta ... ok [INFO] [stdout] test database::core::database_tests::test_wrap_file ... ok [INFO] [stdout] test formatter::formatter_v1::tests::test_encode_decode_row_hint ... ok [INFO] [stdout] test database::data_storage::mmap_data_storage::tests::test_expand_file_size ... ok [INFO] [stdout] test formatter::tests::test_formatter_v1_file ... ok [INFO] [stdout] test formatter::tests::test_read_file_header_failed ... ok [INFO] [stdout] test formatter::tests::test_invalid_magic_word ... ok [INFO] [stdout] test database::core::database_tests::test_read_write_expirable_value_in_writing_file ... ok [INFO] [stdout] test formatter::tests::test_unknown_formatter_version ... ok [INFO] [stdout] test database::core::database_tests::test_read_write_expirable_value_in_stable_files ... ok [INFO] [stdout] test database::core::database_tests::test_recovery_from_header_not_fully_written ... ok [INFO] [stdout] test fs::core::tests::test_change_storage_id ... ok [INFO] [stdout] test database::core::database_tests::test_recovery_from_key_value_not_fully_written ... ok [INFO] [stdout] test fs::core::tests::test_create_dir ... ok [INFO] [stdout] test fs::core::tests::test_create_file ... ok [INFO] [stdout] test fs::core::tests::test_get_storage_ids_in_dir ... ok [INFO] [stdout] test fs::core::tests::test_commit_file ... ok [INFO] [stdout] test fs::core::tests::test_delete_dir ... ok [INFO] [stdout] test fs::core::tests::test_delete_file ... ok [INFO] [stdout] test fs::core::tests::test_is_empty_dir ... ok [INFO] [stdout] test fs::core::tests::test_open_file ... ok [INFO] [stdout] test fs::file_type::tests::test_file_type ... ok [INFO] [stdout] test merge::core::tests::test_create_merge_file_dir ... ok [INFO] [stdout] test merge::core::tests::test_commit_merge_files ... ok [INFO] [stdout] test merge::core::tests::test_read_write_merge_meta ... ok [INFO] [stdout] test storage_id::tests::test_update_storage_id ... ok [INFO] [stdout] test storage_id::tests::test_generate_id ... ok [INFO] [stdout] test database::core::database_tests::test_recovery ... ok [INFO] [stdout] test database::core::database_tests::test_recovery_from_crc_failed ... ok [INFO] [stdout] test merge::core::tests::test_recover_merge_with_only_merge_meta ... ok [INFO] [stdout] test merge::core::tests::test_recover_merge_with_invalid_merge_meta ... ok [INFO] [stdout] test merge::core::tests::test_recover_merge ... ok [INFO] [stdout] test merge::core::tests::test_load_merged_files ... ok [INFO] [stdout] test merge::core::tests::test_recover_merge_failed_with_unexpeded_error ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- merge::core::tests::test_recover_merge_failed_with_unexpeded_error stdout ---- [INFO] [stdout] [INFO Database] database opened at directory: "/tmp/.tmp1f7JMD", with 0 data files [INFO] [stdout] [INFO Database] stopping sync worker [INFO] [stdout] [INFO Database] database on directory: "/tmp/.tmp1f7JMD" closed [INFO] [stdout] [INFO Database] database opened at directory: "/tmp/.tmp1f7JMD/Merge", with 0 data files [INFO] [stdout] [INFO Database] stopping sync worker [INFO] [stdout] [INFO Database] database on directory: "/tmp/.tmp1f7JMD/Merge" closed [INFO] [stdout] [INFO StorageIdGenerator] update storage id to 3 [INFO] [stdout] [INFO] [stdout] thread 'merge::core::tests::test_recover_merge_failed_with_unexpeded_error' panicked at src/merge/core.rs:682:9: [INFO] [stdout] assertion failed: ret.is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x759eeb5ac2f2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x759eeb5ac2f2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x759eeb5ac2f2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x759eeb5ac2f2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x759eeb5e7903 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x759eeb5e7903 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x759eeb5a92b3 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x759eeb5a92b3 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x759eeb5ac142 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x759eeb5ae00c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x759eeb5ade62 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x759eeb51e0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x759eeb51e0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x759eeb5aea73 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x759eeb5aea73 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x759eeb5ae726 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x759eeb5ac7f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x759eeb5ae3ed - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x759eeb42e070 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x759eeb42e0fc - core::panicking::panic::hd54a104e9b8d4d02 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x759eeb4527d6 - bitcasky::merge::core::tests::test_recover_merge_failed_with_unexpeded_error::hffaf70b934808785 [INFO] [stdout] at /opt/rustwide/workdir/src/merge/core.rs:682:9 [INFO] [stdout] 21: 0x759eeb451767 - bitcasky::merge::core::tests::test_recover_merge_failed_with_unexpeded_error::{{closure}}::h63fba150e40287c7 [INFO] [stdout] at /opt/rustwide/workdir/src/merge/core.rs:644:56 [INFO] [stdout] 22: 0x759eeb493f66 - core::ops::function::FnOnce::call_once::h64c224739c7eb67e [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x759eeb5237ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x759eeb5237ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x759eeb522a1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x759eeb522a1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x759eeb522a1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x759eeb522a1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x759eeb522a1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x759eeb522a1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x759eeb522a1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x759eeb4e78a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x759eeb4e78a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x759eeb4eb09a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x759eeb4eb09a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x759eeb4eb09a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x759eeb4eb09a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x759eeb4eb09a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x759eeb4eb09a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x759eeb4eb09a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x759eeb5b1557 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 42: 0x759eeb5b1557 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x759eeb5b1557 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] merge::core::tests::test_recover_merge_failed_with_unexpeded_error [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] [INFO] [stdout] test result: FAILED. 46 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe8f3ab3410578c86bd2d7c22224d8c86a171d2cd5f5b928f36a83d15b3228d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8f3ab3410578c86bd2d7c22224d8c86a171d2cd5f5b928f36a83d15b3228d3", kill_on_drop: false }` [INFO] [stdout] fe8f3ab3410578c86bd2d7c22224d8c86a171d2cd5f5b928f36a83d15b3228d3