[INFO] cloning repository https://github.com/sdsasf/mini-LSMtree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sdsasf/mini-LSMtree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdsasf%2Fmini-LSMtree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdsasf%2Fmini-LSMtree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3780ec182d9258a46188d99c592798ee38ca003 [INFO] testing sdsasf/mini-LSMtree against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdsasf%2Fmini-LSMtree" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sdsasf/mini-LSMtree on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/sdsasf/mini-LSMtree [INFO] finished tweaking git repo https://github.com/sdsasf/mini-LSMtree [INFO] tweaked toml for git repo https://github.com/sdsasf/mini-LSMtree written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sdsasf/mini-LSMtree 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_pipe v1.2.0 [INFO] [stderr] Downloaded duct v0.13.7 [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded rustyline v13.0.0 [INFO] [stderr] Downloaded moka v0.9.9 [INFO] [stderr] Downloaded syn v2.0.67 [INFO] [stderr] Downloaded farmhash v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78c555ba0c8d3b0ca46c82b2fc391842f989b2362b05b8509863dfbc79de1450 [INFO] running `Command { std: "docker" "start" "-a" "78c555ba0c8d3b0ca46c82b2fc391842f989b2362b05b8509863dfbc79de1450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78c555ba0c8d3b0ca46c82b2fc391842f989b2362b05b8509863dfbc79de1450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c555ba0c8d3b0ca46c82b2fc391842f989b2362b05b8509863dfbc79de1450", kill_on_drop: false }` [INFO] [stdout] 78c555ba0c8d3b0ca46c82b2fc391842f989b2362b05b8509863dfbc79de1450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 973238d3ccae556975fb7ed1b97d65cc1fa2cfdd0c6f3d429f7501e519af9890 [INFO] running `Command { std: "docker" "start" "-a" "973238d3ccae556975fb7ed1b97d65cc1fa2cfdd0c6f3d429f7501e519af9890", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling moka v0.9.9 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling farmhash v1.1.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quanta v0.11.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling os_pipe v1.2.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling rustyline v13.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Compiling ouroboros v0.18.4 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling mini-lsm-xtask v0.2.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Compiling mini-lsm-mvcc v0.2.0 (/opt/rustwide/workdir/mini-lsm-mvcc) [INFO] [stderr] Compiling mini-lsm v0.2.0 (/opt/rustwide/workdir/mini-lsm) [INFO] [stderr] Compiling mini-lsm-starter v0.2.0 (/opt/rustwide/workdir/mini-lsm-starter) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.18s [INFO] running `Command { std: "docker" "inspect" "973238d3ccae556975fb7ed1b97d65cc1fa2cfdd0c6f3d429f7501e519af9890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973238d3ccae556975fb7ed1b97d65cc1fa2cfdd0c6f3d429f7501e519af9890", kill_on_drop: false }` [INFO] [stdout] 973238d3ccae556975fb7ed1b97d65cc1fa2cfdd0c6f3d429f7501e519af9890 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edb6ccbb5f4d7a5f22824b2c907c701432cad7428559a24a0e581f80b0e85b25 [INFO] running `Command { std: "docker" "start" "-a" "edb6ccbb5f4d7a5f22824b2c907c701432cad7428559a24a0e581f80b0e85b25", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling mini-lsm-xtask v0.2.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling mini-lsm-starter v0.2.0 (/opt/rustwide/workdir/mini-lsm-starter) [INFO] [stderr] Compiling mini-lsm-mvcc v0.2.0 (/opt/rustwide/workdir/mini-lsm-mvcc) [INFO] [stderr] Compiling mini-lsm v0.2.0 (/opt/rustwide/workdir/mini-lsm) [INFO] [stdout] warning: function `generate_sst` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn generate_sst( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn sync(storage: &LsmStorageInner) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compaction_bench` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn compaction_bench(storage: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_compaction_ratio` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn check_compaction_ratio(storage: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dump_files_in_dir` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn dump_files_in_dir(path: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_merge_iterator_over_storage` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn construct_merge_iterator_over_storage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.18s [INFO] running `Command { std: "docker" "inspect" "edb6ccbb5f4d7a5f22824b2c907c701432cad7428559a24a0e581f80b0e85b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb6ccbb5f4d7a5f22824b2c907c701432cad7428559a24a0e581f80b0e85b25", kill_on_drop: false }` [INFO] [stdout] edb6ccbb5f4d7a5f22824b2c907c701432cad7428559a24a0e581f80b0e85b25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7e11508b5d5113584dce35d192b2f7b7a91cd89c4956ef1b8fc5c488840d0ac [INFO] running `Command { std: "docker" "start" "-a" "f7e11508b5d5113584dce35d192b2f7b7a91cd89c4956ef1b8fc5c488840d0ac", kill_on_drop: false }` [INFO] [stderr] warning: function `generate_sst` is never used [INFO] [stderr] --> mini-lsm-starter/src/tests/harness.rs:183:8 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn generate_sst( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `sync` is never used [INFO] [stderr] --> mini-lsm-starter/src/tests/harness.rs:213:8 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn sync(storage: &LsmStorageInner) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compaction_bench` is never used [INFO] [stderr] --> mini-lsm-starter/src/tests/harness.rs:220:8 [INFO] [stderr] | [INFO] [stderr] 220 | pub fn compaction_bench(storage: Arc) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_compaction_ratio` is never used [INFO] [stderr] --> mini-lsm-starter/src/tests/harness.rs:282:8 [INFO] [stderr] | [INFO] [stderr] 282 | pub fn check_compaction_ratio(storage: Arc) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dump_files_in_dir` is never used [INFO] [stderr] --> mini-lsm-starter/src/tests/harness.rs:411:8 [INFO] [stderr] | [INFO] [stderr] 411 | pub fn dump_files_in_dir(path: impl AsRef) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `construct_merge_iterator_over_storage` is never used [INFO] [stderr] --> mini-lsm-starter/src/tests/harness.rs:423:8 [INFO] [stderr] | [INFO] [stderr] 423 | pub fn construct_merge_iterator_over_storage( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mini-lsm-starter` (lib test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_lsm-21639bf49fc8e095) [INFO] [stdout] [INFO] [stdout] running 56 tests [INFO] [stdout] test tests::week1_day1::test_task1_memtable_get ... ok [INFO] [stdout] test tests::week1_day1::test_task1_memtable_overwrite ... ok [INFO] [stdout] test tests::week1_day2::test_task1_empty_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task1_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_1 ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_empty ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_2 ... ok [INFO] [stdout] test tests::week1_day2::test_task3_fused_iterator ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_1 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_2 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_all ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_single_key ... ok [INFO] [stdout] test tests::week1_day3::test_block_encode ... ok [INFO] [stdout] test tests::week1_day3::test_block_decode ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_full ... ok [INFO] [stdout] test tests::week1_day3::test_block_iterator ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_error ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_1 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_2 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_4 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_5 ... ok [INFO] [stdout] test tests::week1_day3::test_block_seek_key ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_3 ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_all ... ok [INFO] [stdout] test tests::week1_day4::test_sst_decode ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_two_blocks ... ok [INFO] [stdout] test tests::week1_day4::test_sst_iterator ... ok [INFO] [stdout] test tests::week1_day7::test_task1_bloom_filter ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_single_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_seek_key ... ok [INFO] [stdout] test tests::week1_day1::test_task2_storage_integration ... ok [INFO] [stdout] test tests::week1_day7::test_task3_block_key_compression ... ok [INFO] [stdout] test tests::week1_day7::test_task2_sst_decode ... ok [INFO] [stdout] test tests::week1_day1::test_task3_storage_integration ... ok [INFO] [stdout] test tests::week1_day2::test_task4_integration ... ok [INFO] [stdout] test tests::week1_day1::test_task4_storage_integration ... ok [INFO] [stdout] test tests::week1_day5::test_task3_storage_get ... ok [INFO] [stdout] test tests::week1_day5::test_task2_storage_scan ... ok [INFO] [stdout] test tests::week1_day6::test_task2_auto_flush ... FAILED [INFO] [stdout] test tests::week1_day1::test_task3_freeze_on_capacity ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_get ... ok [INFO] [stdout] test tests::week2_day1::test_task2_concat_iterator ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_scan ... ok [INFO] [stdout] test tests::week2_day1::test_task3_integration ... ok [INFO] [stdout] test tests::week2_day1::test_task1_full_compaction ... ok [INFO] [stdout] test tests::week1_day6::test_task3_sst_filter ... ok [INFO] [stdout] test tests::week2_day5::test_integration_leveled ... ok [INFO] [stdout] test tests::week2_day5::test_integration_tiered ... ok [INFO] [stdout] test tests::week2_day2::test_integration has been running for over 60 seconds [INFO] [stdout] test tests::week2_day3::test_integration has been running for over 60 seconds [INFO] [stdout] test tests::week2_day4::test_integration has been running for over 60 seconds [INFO] [stdout] test tests::week2_day5::test_integration_simple has been running for over 60 seconds [INFO] [stdout] test tests::week2_day5::test_multiple_compacted_ssts_leveled has been running for over 60 seconds [INFO] [stdout] test tests::week2_day6::test_integration_leveled has been running for over 60 seconds [INFO] [stdout] test tests::week2_day6::test_integration_simple has been running for over 60 seconds [INFO] [stdout] test tests::week2_day6::test_integration_tiered has been running for over 60 seconds [INFO] [stdout] test tests::week2_day5::test_integration_simple ... ok [INFO] [stdout] test tests::week2_day4::test_integration ... FAILED [INFO] [stdout] test tests::week2_day2::test_integration ... FAILED [INFO] [stdout] test tests::week2_day6::test_integration_tiered ... ok [INFO] [stdout] test tests::week2_day6::test_integration_leveled ... ok [INFO] [stdout] test tests::week2_day3::test_integration ... ok [INFO] [stdout] test tests::week2_day5::test_multiple_compacted_ssts_leveled ... ok [INFO] [stdout] test tests::week2_day6::test_integration_simple ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::week1_day6::test_task2_auto_flush stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::week1_day6::test_task2_auto_flush' panicked at mini-lsm/src/tests/week1_day6.rs:136:5: [INFO] [stdout] assertion failed: !storage.inner.state.read().l0_sstables.is_empty() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c35c0fa50c0 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c35c0fa50c0 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c35c0fa50c0 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c35c0fa50c0 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c35c0fccc73 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5c35c0fccc73 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5c35c0fa1db3 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5c35c0fa4f12 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5c35c0fa64ef - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5c35c0fa6308 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5c35c0f23325 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x5c35c0f23325 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5c35c0fa6f63 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x5c35c0fa6f63 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5c35c0fa6c06 - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:697:13 [INFO] [stdout] 15: 0x5c35c0fa55d9 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5c35c0fa68cd - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5c35c0d264a0 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5c35c0d2652c - core::panicking::panic::had768957450a0f86 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:145:5 [INFO] [stdout] 19: 0x5c35c0d8f974 - mini_lsm::tests::week1_day6::test_task2_auto_flush::hcaaca07f2da7966f [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week1_day6.rs:136:5 [INFO] [stdout] 20: 0x5c35c0d8f477 - mini_lsm::tests::week1_day6::test_task2_auto_flush::{{closure}}::h0572b6a0716ab48d [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week1_day6.rs:121:27 [INFO] [stdout] 21: 0x5c35c0e88996 - core::ops::function::FnOnce::call_once::h0c47ffdf962e28dd [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5c35c0f28aab - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5c35c0f28aab - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 24: 0x5c35c0f27998 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 25: 0x5c35c0f27998 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x5c35c0f27998 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 27: 0x5c35c0f27998 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 28: 0x5c35c0f27998 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 29: 0x5c35c0f27998 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 30: 0x5c35c0f27998 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 31: 0x5c35c0eeb925 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 32: 0x5c35c0eeb925 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 33: 0x5c35c0eef39a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x5c35c0eef39a - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x5c35c0eef39a - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 36: 0x5c35c0eef39a - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 37: 0x5c35c0eef39a - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x5c35c0eef39a - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x5c35c0eef39a - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5c35c0fabc1b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 41: 0x5c35c0fabc1b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 42: 0x5c35c0fabc1b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x740877713aa4 - [INFO] [stdout] 44: 0x7408777a0a34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::week2_day4::test_integration stdout ---- [INFO] [stdout] flushed 0.sst with size=1070964 [INFO] [stdout] flushed 1.sst with size=1071111 [INFO] [stdout] flush L0 SST to base level 4 [INFO] [stdout] L0 (2): [1, 0] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] L4 (0): [] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [1, 0], lower_level: 4, lower_level_sst_ids: [], is_lower_level_bottom_level: true }) [INFO] [stdout] flushed 2.sst with size=1070943 [INFO] [stdout] compaction finished: 2 files removed, 3 files added, output=[4, 6, 7] [INFO] [stdout] flushed 3.sst with size=1070993 [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (2): [3, 2] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [3, 2], lower_level: 2, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 5.sst with size=1070855 [INFO] [stdout] compaction finished: 2 files removed, 2 files added, output=[9, 11] [INFO] [stdout] target level sizes: ["0.000MB", "0.511MB", "1.021MB", "2.043MB"], real level sizes: ["0.000MB", "1.753MB", "0.000MB", "2.043MB"], base_level: 2 [INFO] [stdout] compaction triggered by priority: 2 out of [(3.432894046376303, 2)], select 9 for compaction [INFO] [stdout] L0 (1): [5] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (2): [9, 11] [INFO] [stdout] L3 (0): [] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: Some(2), upper_level_sst_ids: [9], lower_level: 3, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 8.sst with size=1071090 [INFO] [stdout] compaction finished: 1 files removed, 1 files added, output=[13] [INFO] [stdout] flushed 10.sst with size=1070838 [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (3): [10, 8, 5] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (1): [11] [INFO] [stdout] L3 (1): [13] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [10, 8, 5], lower_level: 2, lower_level_sst_ids: [11], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 12.sst with size=1071059 [INFO] [stdout] compaction finished: 4 files removed, 3 files added, output=[15, 17, 18] [INFO] [stdout] target level sizes: ["0.000MB", "0.511MB", "1.021MB", "2.043MB"], real level sizes: ["0.000MB", "2.337MB", "1.020MB", "2.043MB"], base_level: 2 [INFO] [stdout] compaction triggered by priority: 2 out of [(4.57701838879977, 2)], select 15 for compaction [INFO] [stdout] L0 (1): [12] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (3): [15, 17, 18] [INFO] [stdout] L3 (1): [13] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: Some(2), upper_level_sst_ids: [15], lower_level: 3, lower_level_sst_ids: [13], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 14.sst with size=1070994 [INFO] [stdout] flushed 16.sst with size=1070921 [INFO] [stdout] compaction finished: 2 files removed, 2 files added, output=[20, 22] [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (3): [16, 14, 12] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (2): [17, 18] [INFO] [stdout] L3 (2): [20, 22] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [16, 14, 12], lower_level: 2, lower_level_sst_ids: [17, 18], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 19.sst with size=1071066 [INFO] [stdout] flushed 21.sst with size=1070905 [INFO] [stdout] compaction finished: 5 files removed, 3 files added, output=[24, 26, 27] [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (2): [21, 19] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (3): [24, 26, 27] [INFO] [stdout] L3 (2): [20, 22] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [21, 19], lower_level: 2, lower_level_sst_ids: [26, 27], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 23.sst with size=1071006 [INFO] [stdout] flushed 25.sst with size=1070920 [INFO] [stdout] compaction finished: 4 files removed, 2 files added, output=[29, 31] [INFO] [stdout] flushed 28.sst with size=1071091 [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (3): [28, 25, 23] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (3): [24, 29, 31] [INFO] [stdout] L3 (2): [20, 22] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [28, 25, 23], lower_level: 2, lower_level_sst_ids: [29, 31], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 30.sst with size=1071026 [INFO] [stdout] flushed 32.sst with size=1071013 [INFO] [stdout] compaction finished: 5 files removed, 3 files added, output=[33, 35, 37] [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (2): [32, 30] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (4): [24, 33, 35, 37] [INFO] [stdout] L3 (2): [20, 22] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [32, 30], lower_level: 2, lower_level_sst_ids: [35, 37], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 34.sst with size=1070922 [INFO] [stdout] flushed 36.sst with size=1070980 [INFO] [stdout] compaction finished: 4 files removed, 2 files added, output=[39, 41] [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (2): [36, 34] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (4): [24, 33, 39, 41] [INFO] [stdout] L3 (2): [20, 22] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [36, 34], lower_level: 2, lower_level_sst_ids: [39, 41], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 38.sst with size=1071068 [INFO] [stdout] flushed 40.sst with size=1070917 [INFO] [stdout] compaction finished: 4 files removed, 3 files added, output=[43, 44, 46] [INFO] [stdout] flush L0 SST to base level 2 [INFO] [stdout] L0 (2): [40, 38] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (5): [24, 33, 43, 44, 46] [INFO] [stdout] L3 (2): [20, 22] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: None, upper_level_sst_ids: [40, 38], lower_level: 2, lower_level_sst_ids: [44, 46], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 42.sst with size=1070968 [INFO] [stdout] waiting for compaction to converge [INFO] [stdout] compaction finished: 4 files removed, 3 files added, output=[47, 48, 49] [INFO] [stdout] target level sizes: ["0.000MB", "0.511MB", "1.021MB", "2.043MB"], real level sizes: ["0.000MB", "5.123MB", "1.605MB", "2.043MB"], base_level: 2 [INFO] [stdout] compaction triggered by priority: 2 out of [(10.030967956391262, 2), (1.5711601918993667, 3)], select 24 for compaction [INFO] [stdout] L0 (1): [42] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (6): [24, 33, 43, 47, 48, 49] [INFO] [stdout] L3 (2): [20, 22] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: Some(2), upper_level_sst_ids: [24], lower_level: 3, lower_level_sst_ids: [22], is_lower_level_bottom_level: false }) [INFO] [stdout] compaction finished: 2 files removed, 2 files added, output=[50, 51] [INFO] [stdout] target level sizes: ["0.000MB", "0.511MB", "1.021MB", "2.043MB"], real level sizes: ["0.000MB", "4.102MB", "2.326MB", "2.043MB"], base_level: 2 [INFO] [stdout] compaction triggered by priority: 2 out of [(8.032841010739716, 2), (2.2774193307425548, 3)], select 33 for compaction [INFO] [stdout] L0 (1): [42] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (5): [33, 43, 47, 48, 49] [INFO] [stdout] L3 (3): [20, 50, 51] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: Some(2), upper_level_sst_ids: [33], lower_level: 3, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] compaction finished: 1 files removed, 1 files added, output=[52] [INFO] [stdout] target level sizes: ["0.000MB", "0.511MB", "1.021MB", "2.043MB"], real level sizes: ["0.000MB", "3.082MB", "3.347MB", "2.043MB"], base_level: 2 [INFO] [stdout] compaction triggered by priority: 2 out of [(6.034631897200502, 2), (3.2765238875121616, 3)], select 43 for compaction [INFO] [stdout] L0 (1): [42] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (4): [43, 47, 48, 49] [INFO] [stdout] L3 (4): [20, 50, 51, 52] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] running compaction task: Leveled(LeveledCompactionTask { upper_level: Some(2), upper_level_sst_ids: [43], lower_level: 3, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] L0 (1): [42] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (4): [43, 47, 48, 49] [INFO] [stdout] L3 (4): [20, 50, 51, 52] [INFO] [stdout] L4 (3): [4, 6, 7] [INFO] [stdout] This test case does not guarantee your compaction algorithm produces a LSM state as expected. It only does minimal checks on the size of the levels. Please use the compaction simulator to check if the compaction is correctly going on. [INFO] [stdout] [INFO] [stdout] thread 'tests::week2_day4::test_integration' panicked at mini-lsm/src/tests/harness.rs:351:17: [INFO] [stdout] L3/L_max, 3509085/2141957>>1.0/2 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c35c0fa50c0 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c35c0fa50c0 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c35c0fa50c0 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c35c0fa50c0 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c35c0fccc73 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5c35c0fccc73 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5c35c0fa1db3 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5c35c0fa4f12 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5c35c0fa64ef - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5c35c0fa6308 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5c35c0f23325 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x5c35c0f23325 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5c35c0fa6f63 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x5c35c0fa6f63 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5c35c0fa6c3a - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5c35c0fa55d9 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5c35c0fa68cd - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5c35c0d264a0 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5c35c0e2f077 - mini_lsm::tests::harness::check_compaction_ratio::h877719951053694d [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/harness.rs:351:17 [INFO] [stdout] 19: 0x5c35c0d923f3 - mini_lsm::tests::week2_day4::test_integration::h7423a12ecee32878 [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week2_day4.rs:27:5 [INFO] [stdout] 20: 0x5c35c0d92117 - mini_lsm::tests::week2_day4::test_integration::{{closure}}::h4d4102867f5326e8 [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week2_day4.rs:11:22 [INFO] [stdout] 21: 0x5c35c0e88f36 - core::ops::function::FnOnce::call_once::h5871d3a729d0ae5c [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5c35c0f28aab - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5c35c0f28aab - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 24: 0x5c35c0f27998 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 25: 0x5c35c0f27998 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x5c35c0f27998 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 27: 0x5c35c0f27998 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 28: 0x5c35c0f27998 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 29: 0x5c35c0f27998 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 30: 0x5c35c0f27998 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 31: 0x5c35c0eeb925 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 32: 0x5c35c0eeb925 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 33: 0x5c35c0eef39a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x5c35c0eef39a - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x5c35c0eef39a - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 36: 0x5c35c0eef39a - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 37: 0x5c35c0eef39a - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x5c35c0eef39a - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x5c35c0eef39a - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5c35c0fabc1b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 41: 0x5c35c0fabc1b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 42: 0x5c35c0fabc1b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x740877713aa4 - [INFO] [stdout] 44: 0x7408777a0a34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::week2_day2::test_integration stdout ---- [INFO] [stdout] flushed 0.sst with size=1070964 [INFO] [stdout] flushed 1.sst with size=1071111 [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 0 [INFO] [stdout] L0 (2): [1, 0] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [1, 0], lower_level: 1, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 2.sst with size=1070943 [INFO] [stdout] compaction finished: 2 files removed, 3 files added, output=[4, 6, 7] [INFO] [stdout] flushed 3.sst with size=1070993 [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 1.5 [INFO] [stdout] L0 (2): [3, 2] [INFO] [stdout] L1 (3): [4, 6, 7] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [3, 2], lower_level: 1, lower_level_sst_ids: [4, 6, 7], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 5.sst with size=1070855 [INFO] [stdout] compaction finished: 5 files removed, 3 files added, output=[9, 11, 12] [INFO] [stdout] compaction triggered at level 1 and 2 with size ratio 0 [INFO] [stdout] L0 (1): [5] [INFO] [stdout] L1 (3): [9, 11, 12] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: Some(1), upper_level_sst_ids: [9, 11, 12], lower_level: 2, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 8.sst with size=1071090 [INFO] [stdout] flushed 10.sst with size=1070838 [INFO] [stdout] compaction finished: 3 files removed, 3 files added, output=[14, 15, 17] [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 0 [INFO] [stdout] L0 (3): [10, 8, 5] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (3): [14, 15, 17] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [10, 8, 5], lower_level: 1, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 13.sst with size=1071059 [INFO] [stdout] flushed 16.sst with size=1070994 [INFO] [stdout] compaction finished: 3 files removed, 3 files added, output=[19, 21, 22] [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 1.5 [INFO] [stdout] L0 (2): [16, 13] [INFO] [stdout] L1 (3): [19, 21, 22] [INFO] [stdout] L2 (3): [14, 15, 17] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [16, 13], lower_level: 1, lower_level_sst_ids: [19, 21, 22], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 18.sst with size=1070921 [INFO] [stdout] flushed 20.sst with size=1071066 [INFO] [stdout] compaction finished: 5 files removed, 3 files added, output=[24, 25, 27] [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 1.5 [INFO] [stdout] L0 (2): [20, 18] [INFO] [stdout] L1 (3): [24, 25, 27] [INFO] [stdout] L2 (3): [14, 15, 17] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [20, 18], lower_level: 1, lower_level_sst_ids: [24, 25, 27], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 23.sst with size=1070905 [INFO] [stdout] flushed 26.sst with size=1071006 [INFO] [stdout] compaction finished: 5 files removed, 3 files added, output=[29, 31, 32] [INFO] [stdout] flushed 28.sst with size=1070920 [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 1 [INFO] [stdout] L0 (3): [28, 26, 23] [INFO] [stdout] L1 (3): [29, 31, 32] [INFO] [stdout] L2 (3): [14, 15, 17] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [28, 26, 23], lower_level: 1, lower_level_sst_ids: [29, 31, 32], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 30.sst with size=1071091 [INFO] [stdout] flushed 33.sst with size=1071026 [INFO] [stdout] compaction finished: 6 files removed, 5 files added, output=[34, 36, 37, 38, 39] [INFO] [stdout] compaction triggered at level 1 and 2 with size ratio 0.6 [INFO] [stdout] L0 (2): [33, 30] [INFO] [stdout] L1 (5): [34, 36, 37, 38, 39] [INFO] [stdout] L2 (3): [14, 15, 17] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: Some(1), upper_level_sst_ids: [34, 36, 37, 38, 39], lower_level: 2, lower_level_sst_ids: [14, 15, 17], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 35.sst with size=1071013 [INFO] [stdout] flushed 40.sst with size=1070922 [INFO] [stdout] flushed 41.sst with size=1070980 [INFO] [stdout] compaction finished: 8 files removed, 6 files added, output=[42, 43, 44, 46, 47, 48] [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 0 [INFO] [stdout] L0 (5): [41, 40, 35, 33, 30] [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (6): [42, 43, 44, 46, 47, 48] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [41, 40, 35, 33, 30], lower_level: 1, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 45.sst with size=1071068 [INFO] [stdout] flushed 49.sst with size=1070917 [INFO] [stdout] compaction finished: 5 files removed, 3 files added, output=[51, 52, 54] [INFO] [stdout] compaction triggered at level 0 and 1 with size ratio 1.5 [INFO] [stdout] L0 (2): [49, 45] [INFO] [stdout] L1 (3): [51, 52, 54] [INFO] [stdout] L2 (6): [42, 43, 44, 46, 47, 48] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [49, 45], lower_level: 1, lower_level_sst_ids: [51, 52, 54], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 50.sst with size=1070968 [INFO] [stdout] compaction finished: 5 files removed, 4 files added, output=[55, 56, 57, 58] [INFO] [stdout] compaction triggered at level 1 and 2 with size ratio 1.5 [INFO] [stdout] L0 (1): [50] [INFO] [stdout] L1 (4): [55, 56, 57, 58] [INFO] [stdout] L2 (6): [42, 43, 44, 46, 47, 48] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: Some(1), upper_level_sst_ids: [55, 56, 57, 58], lower_level: 2, lower_level_sst_ids: [42, 43, 44, 46, 47, 48], is_lower_level_bottom_level: false }) [INFO] [stdout] L0 (1): [50] [INFO] [stdout] L1 (4): [55, 56, 57, 58] [INFO] [stdout] L2 (6): [42, 43, 44, 46, 47, 48] [INFO] [stdout] L3 (0): [] [INFO] [stdout] This test case does not guarantee your compaction algorithm produces a LSM state as expected. It only does minimal checks on the size of the levels. Please use the compaction simulator to check if the compaction is correctly going on. [INFO] [stdout] [INFO] [stdout] thread 'tests::week2_day2::test_integration' panicked at mini-lsm/src/tests/harness.rs:323:17: [INFO] [stdout] L1/L2, 6/4<200% [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c35c0fa50c0 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c35c0fa50c0 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c35c0fa50c0 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c35c0fa50c0 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c35c0fccc73 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5c35c0fccc73 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5c35c0fa1db3 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5c35c0fa4f12 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5c35c0fa64ef - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5c35c0fa6308 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5c35c0f23325 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x5c35c0f23325 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5c35c0fa6f63 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x5c35c0fa6f63 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5c35c0fa6c3a - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5c35c0fa55d9 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5c35c0fa68cd - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5c35c0d264a0 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5c35c0e2fe9a - mini_lsm::tests::harness::check_compaction_ratio::h877719951053694d [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/harness.rs:323:17 [INFO] [stdout] 19: 0x5c35c0d91d75 - mini_lsm::tests::week2_day2::test_integration::h984479d1526c1290 [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week2_day2.rs:26:5 [INFO] [stdout] 20: 0x5c35c0d91aa7 - mini_lsm::tests::week2_day2::test_integration::{{closure}}::ha73b8c8d67019919 [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week2_day2.rs:11:22 [INFO] [stdout] 21: 0x5c35c0e88f76 - core::ops::function::FnOnce::call_once::h59d8561f8aab2bb4 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5c35c0f28aab - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5c35c0f28aab - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 24: 0x5c35c0f27998 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 25: 0x5c35c0f27998 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x5c35c0f27998 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 27: 0x5c35c0f27998 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 28: 0x5c35c0f27998 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 29: 0x5c35c0f27998 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 30: 0x5c35c0f27998 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 31: 0x5c35c0eeb925 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 32: 0x5c35c0eeb925 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 33: 0x5c35c0eef39a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x5c35c0eef39a - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x5c35c0eef39a - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 36: 0x5c35c0eef39a - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 37: 0x5c35c0eef39a - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x5c35c0eef39a - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x5c35c0eef39a - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5c35c0fabc1b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 41: 0x5c35c0fabc1b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 42: 0x5c35c0fabc1b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x740877713aa4 - [INFO] [stdout] 44: 0x7408777a0a34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::week1_day6::test_task2_auto_flush [INFO] [stdout] tests::week2_day2::test_integration [INFO] [stdout] tests::week2_day4::test_integration [INFO] [stdout] [INFO] [stdout] test result: FAILED. 53 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 71.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p mini-lsm --lib` [INFO] running `Command { std: "docker" "inspect" "f7e11508b5d5113584dce35d192b2f7b7a91cd89c4956ef1b8fc5c488840d0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e11508b5d5113584dce35d192b2f7b7a91cd89c4956ef1b8fc5c488840d0ac", kill_on_drop: false }` [INFO] [stdout] f7e11508b5d5113584dce35d192b2f7b7a91cd89c4956ef1b8fc5c488840d0ac