[INFO] cloning repository https://github.com/skyzh/mini-lsm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skyzh/mini-lsm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyzh%2Fmini-lsm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyzh%2Fmini-lsm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebb8a0148849f54fcdef472c248f703a1345bccc [INFO] testing skyzh/mini-lsm against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyzh%2Fmini-lsm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/skyzh/mini-lsm on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/skyzh/mini-lsm [INFO] finished tweaking git repo https://github.com/skyzh/mini-lsm [INFO] tweaked toml for git repo https://github.com/skyzh/mini-lsm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/skyzh/mini-lsm 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded moka v0.9.9 [INFO] [stderr] Downloaded farmhash v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aa40d057167b3b404d0aa513e18ad73d31261ba4360c9e2e616c4585347d214 [INFO] running `Command { std: "docker" "start" "-a" "6aa40d057167b3b404d0aa513e18ad73d31261ba4360c9e2e616c4585347d214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aa40d057167b3b404d0aa513e18ad73d31261ba4360c9e2e616c4585347d214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa40d057167b3b404d0aa513e18ad73d31261ba4360c9e2e616c4585347d214", kill_on_drop: false }` [INFO] [stdout] 6aa40d057167b3b404d0aa513e18ad73d31261ba4360c9e2e616c4585347d214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41a74a02b71b464820f2c51252ee9485d5d2a7d151f611cad0d0480667727f63 [INFO] running `Command { std: "docker" "start" "-a" "41a74a02b71b464820f2c51252ee9485d5d2a7d151f611cad0d0480667727f63", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling moka v0.9.9 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling quanta v0.11.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling farmhash v1.1.5 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling os_pipe v1.2.0 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling rustyline v13.0.0 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [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 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] Compiling mini-lsm-mvcc v0.2.0 (/opt/rustwide/workdir/mini-lsm-mvcc) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "41a74a02b71b464820f2c51252ee9485d5d2a7d151f611cad0d0480667727f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a74a02b71b464820f2c51252ee9485d5d2a7d151f611cad0d0480667727f63", kill_on_drop: false }` [INFO] [stdout] 41a74a02b71b464820f2c51252ee9485d5d2a7d151f611cad0d0480667727f63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db486104e1bdee44df54e8b96294da83001df94411d16c5f8df0e8ac598b69d3 [INFO] running `Command { std: "docker" "start" "-a" "db486104e1bdee44df54e8b96294da83001df94411d16c5f8df0e8ac598b69d3", 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 v0.2.0 (/opt/rustwide/workdir/mini-lsm) [INFO] [stderr] Compiling mini-lsm-mvcc v0.2.0 (/opt/rustwide/workdir/mini-lsm-mvcc) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.67s [INFO] running `Command { std: "docker" "inspect" "db486104e1bdee44df54e8b96294da83001df94411d16c5f8df0e8ac598b69d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db486104e1bdee44df54e8b96294da83001df94411d16c5f8df0e8ac598b69d3", kill_on_drop: false }` [INFO] [stdout] db486104e1bdee44df54e8b96294da83001df94411d16c5f8df0e8ac598b69d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 443f63c09b4e14667701656a174036ea73e5f3326e65a0969bfe60bdf5b9ac6d [INFO] running `Command { std: "docker" "start" "-a" "443f63c09b4e14667701656a174036ea73e5f3326e65a0969bfe60bdf5b9ac6d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_lsm-c81816b32bfdb9a8) [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_empty ... ok [INFO] [stdout] test tests::week1_day2::test_task3_fused_iterator ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_2 ... ok [INFO] [stdout] test tests::week1_day1::test_task2_storage_integration ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_1 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_1 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_full ... 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_decode ... ok [INFO] [stdout] test tests::week1_day3::test_block_encode ... ok [INFO] [stdout] test tests::week1_day3::test_block_iterator ... ok [INFO] [stdout] test tests::week1_day1::test_task3_storage_integration ... ok [INFO] [stdout] test tests::week1_day3::test_block_seek_key ... ok [INFO] [stdout] test tests::week1_day2::test_task4_integration ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_all ... 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_3 ... 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_day1::test_task4_storage_integration ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_two_blocks ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_single_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_decode ... ok [INFO] [stdout] test tests::week1_day4::test_sst_iterator ... ok [INFO] [stdout] test tests::week1_day4::test_sst_seek_key ... ok [INFO] [stdout] test tests::week1_day7::test_task1_bloom_filter ... ok [INFO] [stdout] test tests::week1_day5::test_task3_storage_get ... ok [INFO] [stdout] test tests::week1_day1::test_task3_freeze_on_capacity ... ok [INFO] [stdout] test tests::week1_day5::test_task2_storage_scan ... ok [INFO] [stdout] test tests::week1_day7::test_task2_sst_decode ... ok [INFO] [stdout] test tests::week1_day7::test_task3_block_key_compression ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_get ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_scan ... ok [INFO] [stdout] test tests::week2_day1::test_task2_concat_iterator ... 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_simple ... ok [INFO] [stdout] test tests::week2_day5::test_integration_tiered ... ok [INFO] [stdout] test tests::week1_day6::test_task2_auto_flush ... ok [INFO] [stdout] test tests::week2_day6::test_integration_leveled ... ok [INFO] [stdout] test tests::week2_day6::test_integration_simple ... ok [INFO] [stdout] test tests::week2_day6::test_integration_tiered ... ok [INFO] [stdout] test tests::week2_day5::test_multiple_compacted_ssts_leveled ... ok [INFO] [stdout] test tests::week2_day3::test_integration ... ok [INFO] [stdout] test tests::week2_day2::test_integration ... FAILED [INFO] [stdout] test tests::week2_day4::test_integration ... ok [INFO] [stdout] [INFO] [stdout] failures: [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 because L0 has 2 SSTs >= 2 [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] flushed 3.sst with size=1070993 [INFO] [stdout] compaction finished: 2 files removed, 3 files added, output=[5, 7, 8] [INFO] [stdout] compaction triggered at level 0 because L0 has 2 SSTs >= 2 [INFO] [stdout] L0 (2): [3, 2] [INFO] [stdout] L1 (3): [5, 7, 8] [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: [5, 7, 8], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 4.sst with size=1070855 [INFO] [stdout] flushed 6.sst with size=1071090 [INFO] [stdout] flushed 9.sst with size=1070838 [INFO] [stdout] compaction finished: 5 files removed, 3 files added, output=[11, 13, 14] [INFO] [stdout] compaction triggered at level 0 because L0 has 3 SSTs >= 2 [INFO] [stdout] L0 (3): [9, 6, 4] [INFO] [stdout] L1 (3): [11, 13, 14] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [9, 6, 4], lower_level: 1, lower_level_sst_ids: [11, 13, 14], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 10.sst with size=1071059 [INFO] [stdout] flushed 12.sst with size=1070994 [INFO] [stdout] flushed 15.sst with size=1070921 [INFO] [stdout] flushed 17.sst with size=1071066 [INFO] [stdout] flushed 18.sst with size=1070905 [INFO] [stdout] compaction finished: 6 files removed, 4 files added, output=[16, 19, 22, 23] [INFO] [stdout] compaction triggered at level 0 because L0 has 5 SSTs >= 2 [INFO] [stdout] L0 (5): [18, 17, 15, 12, 10] [INFO] [stdout] L1 (4): [16, 19, 22, 23] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [18, 17, 15, 12, 10], lower_level: 1, lower_level_sst_ids: [16, 19, 22, 23], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 20.sst with size=1071006 [INFO] [stdout] flushed 21.sst with size=1070920 [INFO] [stdout] flushed 24.sst with size=1071091 [INFO] [stdout] flushed 25.sst with size=1071026 [INFO] [stdout] flushed 26.sst with size=1071013 [INFO] [stdout] flushed 28.sst with size=1070922 [INFO] [stdout] flushed 30.sst with size=1070980 [INFO] [stdout] compaction finished: 9 files removed, 5 files added, output=[27, 29, 31, 33, 35] [INFO] [stdout] compaction triggered at level 0 because L0 has 7 SSTs >= 2 [INFO] [stdout] L0 (7): [30, 28, 26, 25, 24, 21, 20] [INFO] [stdout] L1 (5): [27, 29, 31, 33, 35] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [30, 28, 26, 25, 24, 21, 20], lower_level: 1, lower_level_sst_ids: [27, 29, 31, 33, 35], is_lower_level_bottom_level: false }) [INFO] [stdout] flushed 32.sst with size=1071068 [INFO] [stdout] flushed 34.sst with size=1070917 [INFO] [stdout] flushed 36.sst with size=1070968 [INFO] [stdout] compaction finished: 12 files removed, 7 files added, output=[38, 39, 40, 41, 42, 43, 44] [INFO] [stdout] compaction triggered at level 0 because L0 has 3 SSTs >= 2 [INFO] [stdout] L0 (3): [36, 34, 32] [INFO] [stdout] L1 (7): [38, 39, 40, 41, 42, 43, 44] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: None, upper_level_sst_ids: [36, 34, 32], lower_level: 1, lower_level_sst_ids: [38, 39, 40, 41, 42, 43, 44], is_lower_level_bottom_level: false }) [INFO] [stdout] compaction finished: 10 files removed, 7 files added, output=[45, 46, 47, 48, 49, 50, 51] [INFO] [stdout] compaction triggered at level 1 and 2 with size ratio 0 [INFO] [stdout] L1 (7): [45, 46, 47, 48, 49, 50, 51] [INFO] [stdout] L2 (0): [] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: Some(1), upper_level_sst_ids: [45, 46, 47, 48, 49, 50, 51], lower_level: 2, lower_level_sst_ids: [], is_lower_level_bottom_level: false }) [INFO] [stdout] compaction finished: 7 files removed, 7 files added, output=[52, 53, 54, 55, 56, 57, 58] [INFO] [stdout] compaction triggered at level 2 and 3 with size ratio 0 [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (7): [52, 53, 54, 55, 56, 57, 58] [INFO] [stdout] L3 (0): [] [INFO] [stdout] running compaction task: Simple(SimpleLeveledCompactionTask { upper_level: Some(2), upper_level_sst_ids: [52, 53, 54, 55, 56, 57, 58], lower_level: 3, lower_level_sst_ids: [], is_lower_level_bottom_level: true }) [INFO] [stdout] L1 (0): [] [INFO] [stdout] L2 (7): [52, 53, 54, 55, 56, 57, 58] [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:339:17: [INFO] [stdout] L2/L3, 0/7<200% [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ff55596bf2 - std::backtrace_rs::backtrace::libunwind::trace::hf010e1dbae51cb72 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55ff55596bf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfea1b1ce70c8ef04 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55ff55596bf2 - std::sys::backtrace::_print_fmt::h2997a50d2484a6a6 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55ff55596bf2 - ::fmt::h7fb80f6afbe41a33 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55ff555bf913 - core::fmt::rt::Argument::fmt::hd3a68c3e7e846625 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x55ff555bf913 - core::fmt::write::h000527be0eea6fe8 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x55ff55593433 - std::io::Write::write_fmt::h5402e677befea770 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x55ff55596a42 - std::sys::backtrace::BacktraceLock::print::hffad87dde00cbe3e [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x55ff5559809a - std::panicking::default_hook::{{closure}}::ha46397973bec1239 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x55ff55597e89 - std::panicking::default_hook::h706de72a1550eed4 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x55ff55512c57 - as core::ops::function::Fn>::call::hde091e5c6e92bb68 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x55ff55512c57 - test::test_main::{{closure}}::h769424ff54c41197 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x55ff55598b83 - as core::ops::function::Fn>::call::hbd7480c9dddf3315 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x55ff55598b83 - std::panicking::rust_panic_with_hook::h6666776865bd21f5 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x55ff5559883a - std::panicking::begin_panic_handler::{{closure}}::hb8595612365d24db [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x55ff555970e9 - std::sys::backtrace::__rust_end_short_backtrace::h7037f177c7ae4ed3 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x55ff555984cd - rust_begin_unwind [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x55ff555bdf60 - core::panicking::panic_fmt::hd26142fa9828e2a3 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x55ff5537a972 - mini_lsm::tests::harness::check_compaction_ratio::hdc3bb7c2bda0b566 [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/harness.rs:339:17 [INFO] [stdout] 19: 0x55ff55439ca4 - mini_lsm::tests::week2_day2::test_integration::hb9ca9d7657a5239a [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week2_day2.rs:40:5 [INFO] [stdout] 20: 0x55ff554399d7 - mini_lsm::tests::week2_day2::test_integration::{{closure}}::hbd5cd44f2e53d569 [INFO] [stdout] at /opt/rustwide/workdir/mini-lsm/src/tests/week2_day2.rs:25:22 [INFO] [stdout] 21: 0x55ff55440346 - core::ops::function::FnOnce::call_once::h4a75a9e136586da3 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x55ff5551855b - core::ops::function::FnOnce::call_once::h537cb3ba0681a85d [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55ff5551855b - test::__rust_begin_short_backtrace::ha34590b284b8a909 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:638:18 [INFO] [stdout] 24: 0x55ff555175f5 - test::run_test_in_process::{{closure}}::h7e5cb0195a5ea6a6 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:60 [INFO] [stdout] 25: 0x55ff555175f5 - as core::ops::function::FnOnce<()>>::call_once::h4fd7826f39023efe [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x55ff555175f5 - std::panicking::try::do_call::h840562177f324507 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] 27: 0x55ff555175f5 - std::panicking::try::h2360ed2f8f8e7bd8 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] 28: 0x55ff555175f5 - std::panic::catch_unwind::h98cd8da2f8eb8f7b [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x55ff555175f5 - test::run_test_in_process::hcd6b1143eaf140ef [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:27 [INFO] [stdout] 30: 0x55ff555175f5 - test::run_test::{{closure}}::h12da0337272887dc [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:582:43 [INFO] [stdout] 31: 0x55ff554da5e4 - test::run_test::{{closure}}::h11d537cad5364bdc [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:612:41 [INFO] [stdout] 32: 0x55ff554da5e4 - std::sys::backtrace::__rust_begin_short_backtrace::h5f533949825eb644 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 33: 0x55ff554de04a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf8cffede9b676267 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x55ff554de04a - as core::ops::function::FnOnce<()>>::call_once::h3160424131f9b05b [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x55ff554de04a - std::panicking::try::do_call::h4821f856f783960c [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] 36: 0x55ff554de04a - std::panicking::try::hd6726363e8162e27 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] 37: 0x55ff554de04a - std::panic::catch_unwind::hb75a27d7bd2912cb [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x55ff554de04a - std::thread::Builder::spawn_unchecked_::{{closure}}::h36d5666a81748b85 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x55ff554de04a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha3d6556f1deabcaf [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x55ff5559c34b - as core::ops::function::FnOnce>::call_once::h454485597884df01 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 41: 0x55ff5559c34b - as core::ops::function::FnOnce>::call_once::h421b8b5dc09cf3b4 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x55ff5559c34b - std::sys::pal::unix::thread::Thread::new::thread_start::ha1530b93ff336c49 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 43: 0x7254c2ebeac3 - [INFO] [stdout] 44: 0x7254c2f4fa04 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::week2_day2::test_integration [INFO] [stdout] [INFO] [stdout] test result: FAILED. 55 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 25.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p mini-lsm --lib` [INFO] running `Command { std: "docker" "inspect" "443f63c09b4e14667701656a174036ea73e5f3326e65a0969bfe60bdf5b9ac6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443f63c09b4e14667701656a174036ea73e5f3326e65a0969bfe60bdf5b9ac6d", kill_on_drop: false }` [INFO] [stdout] 443f63c09b4e14667701656a174036ea73e5f3326e65a0969bfe60bdf5b9ac6d