== Unsafe boundary inventory ==
Unsafe boundary inventory, contract tags, and coverage metadata match formal-verification ledgers
== Rust feature profile compile checks ==
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `unicode_term` is never used
--> tests/common/strategies.rs:28:8
|
28 | pub fn unicode_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `libdictenstein::Dictionary`
--> tests/proptest_bijective.rs:11:5
|
11 | use libdictenstein::Dictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `libdictenstein::SubstringDictionary`
--> tests/scdawg_core_parity.rs:14:5
|
14 | use libdictenstein::SubstringDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/bijective_trait_invariant.rs:20:5
|
20 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: `libdictenstein` (test "proptest_zipper_operations") generated 15 warnings
warning: unused import: `CompactableDictionary`
--> tests/proptest_core_dictionaries.rs:17:22
|
17 | use libdictenstein::{CompactableDictionary, Dictionary};
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/common/macros.rs:263:29
|
263 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: tests/proptest_trait_macros.rs:35:1
|
35 | / test_mapped_dictionary!(
36 | | dawg_mapped => DynamicDawg::<u32>::new(),
37 | | dawg_char_mapped => DynamicDawgChar::<u32>::new(),
38 | | );
| |_- in this macro invocation
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
= note: this warning originates in the macro `test_mapped_dictionary` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/common/macros.rs:236:29
|
236 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: tests/proptest_trait_macros.rs:35:1
|
35 | / test_mapped_dictionary!(
36 | | dawg_mapped => DynamicDawg::<u32>::new(),
37 | | dawg_char_mapped => DynamicDawgChar::<u32>::new(),
38 | | );
| |_- in this macro invocation
|
= note: this warning originates in the macro `test_mapped_dictionary` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/proptest_trait_macros.rs:14:5
|
14 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/common/macros.rs:263:29
|
263 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: tests/proptest_trait_macros.rs:35:1
|
35 | / test_mapped_dictionary!(
36 | | dawg_mapped => DynamicDawg::<u32>::new(),
37 | | dawg_char_mapped => DynamicDawgChar::<u32>::new(),
38 | | );
| |_- in this macro invocation
|
= note: this warning originates in the macro `test_mapped_dictionary` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: `libdictenstein` (test "scdawg_core_parity") generated 1 warning
warning: `libdictenstein` (test "zipper_language_correspondence") generated 15 warnings (13 duplicates)
warning: `libdictenstein` (test "valued_set_combinator_correspondence") generated 17 warnings (16 duplicates)
warning: `libdictenstein` (test "bijective_trait_invariant") generated 1 warning
warning: `libdictenstein` (test "dictionary_law_correspondence") generated 13 warnings (13 duplicates)
warning: `libdictenstein` (test "proptest_bijective") generated 16 warnings (15 duplicates)
warning: `libdictenstein` (test "dynamic_dawg_mutation_correspondence") generated 16 warnings (16 duplicates)
warning: `libdictenstein` (test "double_array_trie_correspondence") generated 17 warnings (17 duplicates)
warning: `libdictenstein` (test "proptest_trait_macros") generated 21 warnings (17 duplicates)
warning: `libdictenstein` (test "proptest_core_dictionaries") generated 14 warnings (13 duplicates)
warning: `libdictenstein` (test "dynamic_dawg_u64_correspondence") generated 17 warnings (17 duplicates)
warning: `libdictenstein` (lib test) generated 4 warnings (4 duplicates)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s
Executable unittests src/lib.rs (target/debug/deps/libdictenstein-f988129950ee5ce2)
Executable tests/arena_manager_correspondence.rs (target/debug/deps/arena_manager_correspondence-7191912243bc0146)
Executable tests/bijective_tests.rs (target/debug/deps/bijective_tests-d0574b1499ac9462)
Executable tests/bijective_trait_invariant.rs (target/debug/deps/bijective_trait_invariant-8f37ab27b9c3bc94)
Executable tests/bloom_filter_correspondence.rs (target/debug/deps/bloom_filter_correspondence-ad3d78c2d6cc8f2f)
Executable tests/checkpoint_retention_correspondence.rs (target/debug/deps/checkpoint_retention_correspondence-0bf0072b3e476580)
Executable tests/compaction_tests.rs (target/debug/deps/compaction_tests-282e5f68a4261fc4)
Executable tests/concurrent_checkpoint_publication_correspondence.rs (target/debug/deps/concurrent_checkpoint_publication_correspondence-5356f397fd74550a)
Executable tests/dedup_arena_correspondence.rs (target/debug/deps/dedup_arena_correspondence-2bbf41603ae4d6d0)
Executable tests/dictionary_iterator_tests.rs (target/debug/deps/dictionary_iterator_tests-0ecaffe885f52938)
Executable tests/dictionary_law_correspondence.rs (target/debug/deps/dictionary_law_correspondence-7843b15fea775661)
Executable tests/dictionary_node_reopen_traversal_correspondence.rs (target/debug/deps/dictionary_node_reopen_traversal_correspondence-9c90bdf67636b5a0)
Executable tests/dirty_checkpoint_correspondence.rs (target/debug/deps/dirty_checkpoint_correspondence-ec6e7aff923d4081)
Executable tests/double_array_trie_correspondence.rs (target/debug/deps/double_array_trie_correspondence-2aa85e275b275c97)
Executable tests/dynamic_dawg_mutation_correspondence.rs (target/debug/deps/dynamic_dawg_mutation_correspondence-ed992bbf92675733)
Executable tests/dynamic_dawg_u64_correspondence.rs (target/debug/deps/dynamic_dawg_u64_correspondence-2780785bc343bffb)
Executable tests/epoch_checkpoint_recovery_correspondence.rs (target/debug/deps/epoch_checkpoint_recovery_correspondence-5fb9a15a2daef21d)
Executable tests/excluding_prefix_zipper_tests.rs (target/debug/deps/excluding_prefix_zipper_tests-0b4bf683a7c4d0cd)
Executable tests/fuzzy_candidate_coverage_correspondence.rs (target/debug/deps/fuzzy_candidate_coverage_correspondence-44c2eb8202a59938)
Executable tests/io_uring_integration_tests.rs (target/debug/deps/io_uring_integration_tests-0ad02f42ff858731)
Executable tests/pathmap_factory_correspondence.rs (target/debug/deps/pathmap_factory_correspondence-905e5c9292bde1a2)
Executable tests/persistent_arbitrary_v_overlay.rs (target/debug/deps/persistent_arbitrary_v_overlay-4ee07945f5ed7f43)
Executable tests/persistent_artrie_acid_tests.rs (target/debug/deps/persistent_artrie_acid_tests-8bec586604a56df3)
Executable tests/persistent_artrie_char_e1_readflip_correspondence.rs (target/debug/deps/persistent_artrie_char_e1_readflip_correspondence-218e00bf4a35ef87)
Executable tests/persistent_artrie_char_integration.rs (target/debug/deps/persistent_artrie_char_integration-06fb42e09ddac8b6)
Executable tests/persistent_artrie_concurrent.rs (target/debug/deps/persistent_artrie_concurrent-40a5e5ef5fab23f8)
Executable tests/persistent_artrie_error_handling.rs (target/debug/deps/persistent_artrie_error_handling-88921a028f89f504)
Executable tests/persistent_artrie_formal_correspondence.rs (target/debug/deps/persistent_artrie_formal_correspondence-1fe38379a8938e98)
Executable tests/persistent_artrie_loom_correspondence.rs (target/debug/deps/persistent_artrie_loom_correspondence-b6e1f6cfb0005af8)
Executable tests/persistent_artrie_proptest.rs (target/debug/deps/persistent_artrie_proptest-300172ebe8f89555)
Executable tests/persistent_artrie_recovery_tests.rs (target/debug/deps/persistent_artrie_recovery_tests-2f7c426afebf9eb4)
Executable tests/persistent_artrie_storage_correspondence.rs (target/debug/deps/persistent_artrie_storage_correspondence-2a24d6870ed50062)
Executable tests/persistent_artrie_stress.rs (target/debug/deps/persistent_artrie_stress-fd6bc503b3874cb8)
Executable tests/persistent_bulk_mutation_correspondence.rs (target/debug/deps/persistent_bulk_mutation_correspondence-b4c86c2039378fa0)
Executable tests/persistent_byte_thread_lifecycle.rs (target/debug/deps/persistent_byte_thread_lifecycle-9bbc7361b8f07be8)
Executable tests/persistent_char_ebr_correspondence.rs (target/debug/deps/persistent_char_ebr_correspondence-15ee871b8afedce7)
Executable tests/persistent_char_eviction_correspondence.rs (target/debug/deps/persistent_char_eviction_correspondence-6f150c575206371c)
Executable tests/persistent_char_eviction_proptest.rs (target/debug/deps/persistent_char_eviction_proptest-3563580dcedca1d2)
Executable tests/persistent_char_eviction_registry_correspondence.rs (target/debug/deps/persistent_char_eviction_registry_correspondence-87d1a17680549a41)
Executable tests/persistent_char_node_layout_correspondence.rs (target/debug/deps/persistent_char_node_layout_correspondence-97178e38e51c859d)
Executable tests/persistent_char_thread_lifecycle.rs (target/debug/deps/persistent_char_thread_lifecycle-34f28aecff14539f)
Executable tests/persistent_char_thread_lifecycle_proptest.rs (target/debug/deps/persistent_char_thread_lifecycle_proptest-e3c77655fce05cda)
Executable tests/persistent_compaction_correspondence.rs (target/debug/deps/persistent_compaction_correspondence-1daa52ec16fe4536)
Executable tests/persistent_end_to_end_trace_correspondence.rs (target/debug/deps/persistent_end_to_end_trace_correspondence-f4fba1cea0d28bd7)
Executable tests/persistent_lazy_mutation_correspondence.rs (target/debug/deps/persistent_lazy_mutation_correspondence-1c9108b368bb999e)
Executable tests/persistent_lockfree_durable_loom.rs (target/debug/deps/persistent_lockfree_durable_loom-2f8ebcfac94d2aa0)
Executable tests/persistent_lockfree_merge_correspondence.rs (target/debug/deps/persistent_lockfree_merge_correspondence-c328cac91ac2399c)
Executable tests/persistent_lockfree_overlay_loom.rs (target/debug/deps/persistent_lockfree_overlay_loom-351d65b9fc212e25)
Executable tests/persistent_lockfree_overlay_proptest.rs (target/debug/deps/persistent_lockfree_overlay_proptest-77f8fb36f8d05ea5)
Executable tests/persistent_merge_correspondence.rs (target/debug/deps/persistent_merge_correspondence-af6c03add5de924d)
Executable tests/persistent_nonblocking_checkpoint_correspondence.rs (target/debug/deps/persistent_nonblocking_checkpoint_correspondence-094e23f024044201)
Executable tests/persistent_prefix_correspondence.rs (target/debug/deps/persistent_prefix_correspondence-f966a31e15177e23)
Executable tests/persistent_public_durability_policy_correspondence.rs (target/debug/deps/persistent_public_durability_policy_correspondence-cf9c874cba007bae)
Executable tests/persistent_public_lifecycle_correspondence.rs (target/debug/deps/persistent_public_lifecycle_correspondence-5f2b1824b5baf8c9)
Executable tests/persistent_read_snapshot_correspondence.rs (target/debug/deps/persistent_read_snapshot_correspondence-1f64cd67359e169e)
Executable tests/persistent_rewrite_compaction_correspondence.rs (target/debug/deps/persistent_rewrite_compaction_correspondence-22ca1315f75dc2af)
Executable tests/persistent_shared_concurrency_correspondence.rs (target/debug/deps/persistent_shared_concurrency_correspondence-11acb16e58ef09a8)
Executable tests/persistent_transaction_increment_correspondence.rs (target/debug/deps/persistent_transaction_increment_correspondence-5cb45d8dec00442e)
Executable tests/persistent_vocab_checkpoint_correspondence.rs (target/debug/deps/persistent_vocab_checkpoint_correspondence-2bb1b9516e9d93e0)
Executable tests/persistent_vocab_wal_atomicity_correspondence.rs (target/debug/deps/persistent_vocab_wal_atomicity_correspondence-9c8a7bd2386ec5cf)
Executable tests/persistent_wal_atomicity_correspondence.rs (target/debug/deps/persistent_wal_atomicity_correspondence-0af20229dd0cb8d2)
Executable tests/persistent_worker_lifecycle_loom.rs (target/debug/deps/persistent_worker_lifecycle_loom-9a22f204a4cb7e72)
Executable tests/prefix_zipper_tests.rs (target/debug/deps/prefix_zipper_tests-7d39fd57bebcebf4)
Executable tests/proptest_bijective.rs (target/debug/deps/proptest_bijective-d97fe03be1aab6f4)
Executable tests/proptest_core_dictionaries.rs (target/debug/deps/proptest_core_dictionaries-dae0dcffd717edae)
Executable tests/proptest_serialization.rs (target/debug/deps/proptest_serialization-67164332e737dbda)
Executable tests/proptest_trait_macros.rs (target/debug/deps/proptest_trait_macros-4ffd9952d0f93973)
Executable tests/proptest_zipper_operations.rs (target/debug/deps/proptest_zipper_operations-10b33695f2988a6a)
Executable tests/protobuf_compression_correspondence.rs (target/debug/deps/protobuf_compression_correspondence-5a45e926508b9fb4)
Executable tests/recovery_planner_correspondence.rs (target/debug/deps/recovery_planner_correspondence-615751d4fd1e7eff)
Executable tests/recovery_replay_completeness_correspondence.rs (target/debug/deps/recovery_replay_completeness_correspondence-feabb465dbddd127)
Executable tests/relative_encoding_correspondence.rs (target/debug/deps/relative_encoding_correspondence-e41a79ef103ca217)
Executable tests/root_descriptor_reopen_correspondence.rs (target/debug/deps/root_descriptor_reopen_correspondence-cc57084e6c525e7c)
Executable tests/scdawg_core_parity.rs (target/debug/deps/scdawg_core_parity-69337472e08622e0)
Executable tests/scdawg_occurrence_correspondence.rs (target/debug/deps/scdawg_occurrence_correspondence-ead73c0b1c25da80)
Executable tests/serialization_correspondence.rs (target/debug/deps/serialization_correspondence-011837630e5d8d14)
Executable tests/serialization_value_roundtrip.rs (target/debug/deps/serialization_value_roundtrip-9f33cfc8549d20c1)
Executable tests/set_zipper_tests.rs (target/debug/deps/set_zipper_tests-18fb207555654168)
Executable tests/substring_candidate_correspondence.rs (target/debug/deps/substring_candidate_correspondence-c4a42527f6468cdc)
Executable tests/union_zipper_lling_llang_tests.rs (target/debug/deps/union_zipper_lling_llang_tests-268b61e227b3031b)
Executable tests/union_zipper_tests.rs (target/debug/deps/union_zipper_tests-d64f2f064513d45b)
Executable tests/unsafe_boundary_contracts.rs (target/debug/deps/unsafe_boundary_contracts-e72d7059e5bdffbb)
Executable tests/valued_set_combinator_correspondence.rs (target/debug/deps/valued_set_combinator_correspondence-0d0a86c7c105288b)
Executable tests/vocab_trait_honesty.rs (target/debug/deps/vocab_trait_honesty-3ed7c4fc5430965a)
Executable tests/wal_segment_lifecycle_correspondence.rs (target/debug/deps/wal_segment_lifecycle_correspondence-bf4e995a8abbeedd)
Executable tests/zipper_language_correspondence.rs (target/debug/deps/zipper_language_correspondence-9eee3f6e98b6bdf2)
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: unused import: `crate::persistent_artrie::IoUringDiskManager`
--> src/persistent_artrie_char/io_uring_ctor.rs:22:5
|
22 | use crate::persistent_artrie::IoUringDiskManager;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `std::collections::HashMap`
--> src/persistent_artrie_char/parallel_merge.rs:17:5
|
17 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie::IoUringDiskManager`
--> src/persistent_vocab_artrie/io_uring_ctor.rs:25:5
|
25 | use crate::persistent_artrie::IoUringDiskManager;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `super::*`
--> src/persistent_artrie/nodes/atomic_ptr.rs:23:9
|
23 | use super::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `crate::persistent_artrie::arena_manager::ArenaSlot`
--> src/persistent_artrie/dict_impl.rs:1254:13
|
1254 | use crate::persistent_artrie::arena_manager::ArenaSlot;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `super::*`
--> src/persistent_artrie_char/nodes/atomic_ptr.rs:23:9
|
23 | use super::*;
| ^^^^^^^^
warning: unused import: `super::super::SharedCharTrie`
--> src/persistent_artrie_char/dict_impl_char.rs:206:9
|
206 | use super::super::SharedCharTrie;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie::epoch::EpochConfig`
--> src/persistent_artrie_char/dict_impl_char.rs:2510:13
|
2510 | use crate::persistent_artrie::epoch::EpochConfig;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie::IoUringDiskManager`
--> src/persistent_artrie_char/io_uring_ctor.rs:22:5
|
22 | use crate::persistent_artrie::IoUringDiskManager;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `rayon::prelude`
--> src/persistent_artrie_char/parallel_merge.rs:19:5
|
19 | use rayon::prelude::*;
| ^^^^^^^^^^^^^^
warning: unused import: `rayon::prelude`
--> src/persistent_artrie/dict_impl.rs:51:5
|
51 | use rayon::prelude::*;
| ^^^^^^^^^^^^^^
warning: unused variable: `entry_count`
--> src/persistent_artrie_char/io_uring_ctor.rs:136:13
|
136 | let entry_count = disk_manager.entry_count()?;
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_count`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 24 warnings (run `cargo fix --lib -p libdictenstein` to apply 4 suggestions)
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:575:56
|
575 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:582:60
|
582 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:599:60
|
599 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:609:60
|
609 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:623:60
|
623 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:633:60
|
633 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:645:60
|
645 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:658:60
|
658 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:669:60
|
669 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:686:56
|
686 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:692:56
|
692 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:699:60
|
699 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:709:60
|
709 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:725:60
|
725 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:737:60
|
737 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:753:60
|
753 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1527:71
|
1527 | let mut source: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1535:71
|
1535 | let mut target: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1557:71
|
1557 | let mut source: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1564:71
|
1564 | let mut target: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1585:69
|
1585 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1612:69
|
1612 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1634:69
|
1634 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1644:72
|
1644 | let mut trie: PersistentARTrie<String> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1705:65
|
1705 | let dict: PersistentARTrie<i32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1753:65
|
1753 | let dict: PersistentARTrie<i32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1859:60
|
1859 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1880:60
|
1880 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1895:60
|
1895 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1909:60
|
1909 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1938:60
|
1938 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1970:60
|
1970 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:2002:60
|
2002 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:2020:60
|
2020 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:478:64
|
478 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:487:64
|
487 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:501:64
|
501 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:511:64
|
511 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:526:64
|
526 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:541:64
|
541 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:551:64
|
551 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:565:64
|
565 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:585:64
|
585 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:604:64
|
604 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:618:64
|
618 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:639:64
|
639 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:662:64
|
662 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: method `label` is never used
--> examples/exp_checkpoint_throughput.rs:51:8
|
50 | impl Arm {
| -------- method in this implementation
51 | fn label(self) -> &'static str {
| ^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `unicode_term` is never used
--> tests/common/strategies.rs:28:8
|
28 | pub fn unicode_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: unused `Result` that must be used
--> tests/io_uring_integration_tests.rs:293:13
|
293 | vocab.insert(term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
293 | let _ = vocab.insert(term);
| +++++++
warning: unused `Result` that must be used
--> tests/io_uring_integration_tests.rs:333:13
|
333 | vocab.insert(term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
333 | let _ = vocab.insert(term);
| +++++++
warning: function `generate_highly_diverse_terms` is never used
--> tests/persistent_artrie_stress.rs:33:4
|
33 | fn generate_highly_diverse_terms(count: usize) -> Vec<String> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1333:29
|
1333 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1647:29
|
1647 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1787:29
|
1787 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `crate::ARTrie`
--> src/persistent_artrie_char/dict_impl_char.rs:208:9
|
208 | use crate::ARTrie;
| ^^^^^^^^^^^^^
warning: unused import: `Dictionary`
--> src/persistent_artrie/lockfree_cas.rs:2214:17
|
2214 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2629:13
|
2629 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2720:13
|
2720 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2742:13
|
2742 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/lockfree_cas.rs:2371:29
|
2371 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: `libdictenstein` (test "proptest_serialization") generated 16 warnings (14 duplicates)
warning: unused import: `MutableMappedDictionary`
--> examples/streaming_merge_test.rs:2:52
|
2 | use libdictenstein::{Dictionary, MappedDictionary, MutableMappedDictionary};
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1489:13
|
1489 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1511:13
|
1511 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1533:13
|
1533 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1601:13
|
1601 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: unused variable: `after`
--> src/persistent_artrie_char/arena_manager.rs:1555:13
|
1555 | let after = manager.ensure_valid();
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_after`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: `libdictenstein` (test "proptest_zipper_operations") generated 15 warnings
warning: unused variable: `entry_count`
--> src/persistent_artrie_char/io_uring_ctor.rs:136:13
|
136 | let entry_count = disk_manager.entry_count()?;
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_count`
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/serialization_value_roundtrip.rs:34:5
|
34 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/persistent_artrie_char/persist.rs:1565:13
|
1565 | let mut trie = PersistentARTrieChar::<V>::create(&path).expect("create disk-backed trie");
| ----^^^^
| |
| help: remove this `mut`
warning: `libdictenstein` (example "exp_checkpoint_throughput") generated 1 warning
warning: variable `failures` is assigned to, but never used
--> src/persistent_artrie_core/concurrency.rs:1444:13
|
1444 | let mut failures = 0;
| ^^^^^^^^^^^^
|
= note: consider using `_failures` instead
warning: value assigned to `failures` is never read
--> src/persistent_artrie_core/concurrency.rs:1447:17
|
1447 | failures += 1;
| ^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `nt`
--> src/persistent_artrie_core/overlay/node.rs:1787:54
|
1787 | fn check_as_non_final_deep_child<K: KeyEncoding>(nt: NodeType)
| ^^ help: if this is intentional, prefix it with an underscore: `_nt`
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_arbitrary_v_overlay.rs:24:68
|
24 | use libdictenstein::persistent_artrie_char::{PersistentARTrieChar, SharedCharTrie};
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_arbitrary_v_overlay.rs:266:9
|
266 | SharedCharTrie::create(&dir.path().join("a.artc")).expect("create a");
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_arbitrary_v_overlay.rs:265:12
|
265 | let a: SharedCharTrie<u64> =
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_arbitrary_v_overlay.rs:268:9
|
268 | SharedCharTrie::create(&dir.path().join("b.artc")).expect("create b");
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_arbitrary_v_overlay.rs:267:12
|
267 | let b: SharedCharTrie<u64> =
| ^^^^^^^^^^^^^^
warning: unused variable: `v2`
--> src/persistent_artrie_core/version_checkpoint.rs:676:13
|
676 | let v2 = manager.create_version(200, 75);
| ^^ help: if this is intentional, prefix it with an underscore: `_v2`
warning: unused variable: `report`
--> src/persistent_vocab_artrie/dict_impl.rs:1398:25
|
1398 | let (vocab, report) = PersistentVocabARTrie::open_with_recovery(&path).unwrap();
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report`
warning: unused import: `libdictenstein::MutableMappedDictionary`
--> examples/batched_merge_comparison.rs:4:5
|
4 | use libdictenstein::MutableMappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: `libdictenstein` (test "zipper_language_correspondence") generated 15 warnings (14 duplicates)
warning: `libdictenstein` (test "serialization_value_roundtrip") generated 1 warning
warning: `libdictenstein` (test "protobuf_compression_correspondence") generated 17 warnings (17 duplicates)
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1124:9
|
1124 | pat.insert_with_value("apple", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
1124 | let _ = pat.insert_with_value("apple", 1);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1125:9
|
1125 | pat.insert_with_value("banana", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1125 | let _ = pat.insert_with_value("banana", 2);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1126:9
|
1126 | pat.insert_with_value("cherry", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1126 | let _ = pat.insert_with_value("cherry", 3);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1140:9
|
1140 | pat.insert_with_value("café", 10);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1140 | let _ = pat.insert_with_value("café", 10);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1141:9
|
1141 | pat.insert_with_value("日本語", 20);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1141 | let _ = pat.insert_with_value("日本語", 20);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1142:9
|
1142 | pat.insert_with_value("🎉", 30);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1142 | let _ = pat.insert_with_value("🎉", 30);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1155:9
|
1155 | pat.insert_with_value("test", 42);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1155 | let _ = pat.insert_with_value("test", 42);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1176:13
|
1176 | pat.insert_with_value(term, value.to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1176 | let _ = pat.insert_with_value(term, value.to_string());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1191:9
|
1191 | pat.insert_with_value("cat", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1191 | let _ = pat.insert_with_value("cat", 1);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1192:9
|
1192 | pat.insert_with_value("car", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1192 | let _ = pat.insert_with_value("car", 2);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1193:9
|
1193 | pat.insert_with_value("cart", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1193 | let _ = pat.insert_with_value("cart", 3);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1194:9
|
1194 | pat.insert_with_value("card", 4);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1194 | let _ = pat.insert_with_value("card", 4);
| +++++++
warning: `libdictenstein` (test "dynamic_dawg_mutation_correspondence") generated 16 warnings (16 duplicates)
warning: comparison is useless due to type limits
--> src/persistent_artrie/arena_manager.rs:1905:17
|
1905 | assert!(stats.dirty_arenas >= 0);
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_comparisons)]` on by default
warning: unused import: `libdictenstein::SubstringDictionary`
--> tests/scdawg_core_parity.rs:14:5
|
14 | use libdictenstein::SubstringDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: `libdictenstein` (example "streaming_merge_test") generated 1 warning
warning: `libdictenstein` (test "persistent_artrie_stress") generated 1 warning
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:2949:9
|
2949 | trie.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
2949 | let _ = trie.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:2963:9
|
2963 | trie.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
2963 | let _ = trie.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:3068:9
|
3068 | trie.write().insert("persistent");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
3068 | let _ = trie.write().insert("persistent");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mmap_ctor.rs:1569:17
|
1569 | trie.insert_with_value(k, v.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1569 | let _ = trie.insert_with_value(k, v.clone());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1446:17
|
1446 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1446 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1727:17
|
1727 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1727 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1916:17
|
1916 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1916 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1990:17
|
1990 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1990 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: comparison is useless due to type limits
--> src/persistent_artrie_core/prefetch.rs:532:17
|
532 | assert!(stats.requests >= 0);
| ^^^^^^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:318:9
|
318 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
318 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:319:9
|
319 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
319 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:320:9
|
320 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
320 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:334:9
|
334 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
334 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:335:9
|
335 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
335 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:336:9
|
336 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
336 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:387:13
|
387 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
387 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:388:13
|
388 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
388 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:389:13
|
389 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
389 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:414:13
|
414 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
414 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:415:13
|
415 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
415 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:423:13
|
423 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
423 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:424:13
|
424 | vocab.insert("durian");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
424 | let _ = vocab.insert("durian");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:445:9
|
445 | vocab.insert("present");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
445 | let _ = vocab.insert("present");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:467:9
|
467 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
467 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:498:13
|
498 | vocab.insert("term1");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
498 | let _ = vocab.insert("term1");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:499:13
|
499 | vocab.insert("term2");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
499 | let _ = vocab.insert("term2");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:500:13
|
500 | vocab.insert("term3");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
500 | let _ = vocab.insert("term3");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:524:13
|
524 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
524 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:525:13
|
525 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
525 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:532:13
|
532 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
532 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:533:13
|
533 | vocab.insert("durian");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
533 | let _ = vocab.insert("durian");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:743:13
|
743 | vocab.insert("with_value_1");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
743 | let _ = vocab.insert("with_value_1");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:744:13
|
744 | vocab.insert("with_value_2");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
744 | let _ = vocab.insert("with_value_2");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:745:13
|
745 | vocab.insert("with_value_3");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
745 | let _ = vocab.insert("with_value_3");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:797:9
|
797 | vocab.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
797 | let _ = vocab.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:809:9
|
809 | vocab.write().insert("world");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
809 | let _ = vocab.write().insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:825:9
|
825 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
825 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:833:9
|
833 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
833 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:857:17
|
857 | vocab.insert(&format!("word{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
857 | let _ = vocab.insert(&format!("word{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:886:9
|
886 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
886 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:889:9
|
889 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
889 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:921:13
|
921 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
921 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:922:13
|
922 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
922 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:958:13
|
958 | vocab.write().insert(&format!("initial_{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
958 | let _ = vocab.write().insert(&format!("initial_{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:979:17
|
979 | vocab_clone2.write().insert(&format!("concurrent_{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
979 | let _ = vocab_clone2.write().insert(&format!("concurrent_{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1012:9
|
1012 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1012 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1160:13
|
1160 | vocab.insert("simple");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1160 | let _ = vocab.insert("simple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1161:13
|
1161 | vocab.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1161 | let _ = vocab.insert("日本語");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1162:13
|
1162 | vocab.insert("");
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1162 | let _ = vocab.insert("");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1163:13
|
1163 | vocab.insert("with spaces and punctuation!");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1163 | let _ = vocab.insert("with spaces and punctuation!");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1164:13
|
1164 | vocab.insert(&"x".repeat(100));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1164 | let _ = vocab.insert(&"x".repeat(100));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1202:17
|
1202 | vocab.insert(&format!("term_{:05}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1202 | let _ = vocab.insert(&format!("term_{:05}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1231:9
|
1231 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1231 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1244:9
|
1244 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1244 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1262:9
|
1262 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1262 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1283:9
|
1283 | vocab.insert("first");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1283 | let _ = vocab.insert("first");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1286:9
|
1286 | vocab.insert("second");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1286 | let _ = vocab.insert("second");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1290:9
|
1290 | vocab.insert("first");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1290 | let _ = vocab.insert("first");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1302:13
|
1302 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1302 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1354:9
|
1354 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1354 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1355:9
|
1355 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1355 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1426:9
|
1426 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1426 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1427:9
|
1427 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1427 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1448:13
|
1448 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1448 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1449:13
|
1449 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1449 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1474:9
|
1474 | vocab.insert_batch(&["apple", "banana"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1474 | let _ = vocab.insert_batch(&["apple", "banana"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1477:9
|
1477 | vocab.insert_batch(&["cherry", "date"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1477 | let _ = vocab.insert_batch(&["cherry", "date"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1480:9
|
1480 | vocab.insert_batch(&["elderberry"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1480 | let _ = vocab.insert_batch(&["elderberry"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1162:9
|
1162 | vocab.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1162 | let _ = vocab.insert("日本語");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1163:9
|
1163 | vocab.insert("中文");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1163 | let _ = vocab.insert("中文");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1164:9
|
1164 | vocab.insert("한글");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1164 | let _ = vocab.insert("한글");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1165:9
|
1165 | vocab.insert("العربية");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1165 | let _ = vocab.insert("العربية");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1166:9
|
1166 | vocab.insert("emoji😀");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1166 | let _ = vocab.insert("emoji😀");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1222:9
|
1222 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1222 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1264:9
|
1264 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1264 | let _ = vocab.insert("test");
| +++++++
warning: unused `Result` that must be used
--> tests/vocab_trait_honesty.rs:112:9
|
112 | g.insert("foo");
| ^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
112 | let _ = g.insert("foo");
| +++++++
warning: unused `Result` that must be used
--> tests/vocab_trait_honesty.rs:113:9
|
113 | g.insert("bar");
| ^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
113 | let _ = g.insert("bar");
| +++++++
warning: unused `Result` that must be used
--> tests/vocab_trait_honesty.rs:165:9
|
165 | g.insert("apple");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
165 | let _ = g.insert("apple");
| +++++++
warning: unused `Result` that must be used
--> tests/vocab_trait_honesty.rs:184:9
|
184 | g.insert("apple");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
184 | let _ = g.insert("apple");
| +++++++
warning: unused `Result` that must be used
--> tests/vocab_trait_honesty.rs:185:9
|
185 | g.insert("application");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
185 | let _ = g.insert("application");
| +++++++
warning: unused `Result` that must be used
--> tests/vocab_trait_honesty.rs:207:9
|
207 | g.insert("counter");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
207 | let _ = g.insert("counter");
| +++++++
warning: `libdictenstein` (example "batched_merge_comparison") generated 1 warning
warning: unused import: `CompactableDictionary`
--> tests/proptest_core_dictionaries.rs:17:22
|
17 | use libdictenstein::{CompactableDictionary, Dictionary};
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: `libdictenstein` (test "scdawg_core_parity") generated 1 warning
warning: unused `Result` that must be used
--> tests/bijective_trait_invariant.rs:60:13
|
60 | vocab.insert(t);
| ^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
60 | let _ = vocab.insert(t);
| +++++++
warning: unused `Result` that must be used
--> tests/bijective_trait_invariant.rs:107:17
|
107 | g.insert(t);
| ^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
107 | let _ = g.insert(t);
| +++++++
warning: `libdictenstein` (test "dictionary_law_correspondence") generated 13 warnings (13 duplicates)
warning: `libdictenstein` (test "io_uring_integration_tests") generated 2 warnings
warning: `libdictenstein` (test "vocab_trait_honesty") generated 6 warnings
warning: unused imports: `WalConfig` and `WalWriter`
--> examples/wal_size_test.rs:1:59
|
1 | use libdictenstein::persistent_artrie::{PersistentARTrie, WalConfig, WalWriter};
| ^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `std::collections::HashSet`
--> tests/dictionary_iterator_tests.rs:278:9
|
278 | use std::collections::HashSet;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `create_test_trie` is never used
--> tests/persistent_artrie_acid_tests.rs:20:4
|
20 | fn create_test_trie(name: &str) -> (PersistentARTrie<u64>, PathBuf) {
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `cleanup_test_files` is never used
--> tests/persistent_artrie_acid_tests.rs:31:4
|
31 | fn cleanup_test_files(path: &PathBuf) {
| ^^^^^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_artrie_recovery_tests.rs:2171:49
|
2171 | use libdictenstein::persistent_artrie_char::SharedCharTrie;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_artrie_recovery_tests.rs:2515:41
|
2515 | let trie: SharedCharTrie<i64> = SharedCharTrie::create(&path).expect("create shared trie");
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_artrie_recovery_tests.rs:2515:19
|
2515 | let trie: SharedCharTrie<i64> = SharedCharTrie::create(&path).expect("create shared trie");
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_artrie_recovery_tests.rs:2548:41
|
2548 | let trie: SharedCharTrie<i64> = SharedCharTrie::create(&path).expect("create shared trie");
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_artrie_recovery_tests.rs:2548:19
|
2548 | let trie: SharedCharTrie<i64> = SharedCharTrie::create(&path).expect("create shared trie");
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_artrie_recovery_tests.rs:2577:41
|
2577 | let trie: SharedCharTrie<i64> = SharedCharTrie::create(&path).expect("create shared trie");
| ^^^^^^^^^^^^^^
warning: use of deprecated type alias `libdictenstein::persistent_artrie_char::SharedCharTrie`: Use SharedCharARTrie instead
--> tests/persistent_artrie_recovery_tests.rs:2577:19
|
2577 | let trie: SharedCharTrie<i64> = SharedCharTrie::create(&path).expect("create shared trie");
| ^^^^^^^^^^^^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1364:64
|
1364 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1387:64
|
1387 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1400:64
|
1400 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1412:64
|
1412 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: `libdictenstein` (test "proptest_core_dictionaries") generated 14 warnings (13 duplicates)
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1427:65
|
1427 | let mut trie: PersistentARTrie<i32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1446:64
|
1446 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1469:64
|
1469 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1484:64
|
1484 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1503:64
|
1503 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1582:64
|
1582 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> tests/persistent_artrie_recovery_tests.rs:1605:64
|
1605 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: `libdictenstein` (test "bijective_trait_invariant") generated 2 warnings
warning: unused import: `libdictenstein::Dictionary`
--> tests/proptest_bijective.rs:11:5
|
11 | use libdictenstein::Dictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `libdictenstein::ARTrie`
--> tests/persistent_artrie_recovery_tests.rs:2172:9
|
2172 | use libdictenstein::ARTrie;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `Dictionary`
--> tests/persistent_artrie_recovery_tests.rs:2772:26
|
2772 | use libdictenstein::{Dictionary, MappedDictionary};
| ^^^^^^^^^^
warning: unused import: `libdictenstein::MutableMappedDictionary`
--> tests/persistent_artrie_recovery_tests.rs:2854:13
|
2854 | use libdictenstein::MutableMappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `libdictenstein::MutableMappedDictionary`
--> tests/persistent_artrie_recovery_tests.rs:2899:13
|
2899 | use libdictenstein::MutableMappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `libdictenstein::MutableMappedDictionary`
--> tests/persistent_artrie_recovery_tests.rs:2935:13
|
2935 | use libdictenstein::MutableMappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/common/macros.rs:263:29
|
263 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: tests/proptest_trait_macros.rs:35:1
|
35 | / test_mapped_dictionary!(
36 | | dawg_mapped => DynamicDawg::<u32>::new(),
37 | | dawg_char_mapped => DynamicDawgChar::<u32>::new(),
38 | | );
| |_- in this macro invocation
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
= note: this warning originates in the macro `test_mapped_dictionary` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/common/macros.rs:236:29
|
236 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: tests/proptest_trait_macros.rs:35:1
|
35 | / test_mapped_dictionary!(
36 | | dawg_mapped => DynamicDawg::<u32>::new(),
37 | | dawg_char_mapped => DynamicDawgChar::<u32>::new(),
38 | | );
| |_- in this macro invocation
|
= note: this warning originates in the macro `test_mapped_dictionary` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/proptest_trait_macros.rs:14:5
|
14 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/common/macros.rs:263:29
|
263 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: tests/proptest_trait_macros.rs:35:1
|
35 | / test_mapped_dictionary!(
36 | | dawg_mapped => DynamicDawg::<u32>::new(),
37 | | dawg_char_mapped => DynamicDawgChar::<u32>::new(),
38 | | );
| |_- in this macro invocation
|
= note: this warning originates in the macro `test_mapped_dictionary` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated associated function `libdictenstein::persistent_artrie::mmap_ctor::<impl libdictenstein::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> examples/bench_disk_io.rs:59:68
|
59 | let mut trie: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: unused variable: `path`
--> examples/bench_disk_io.rs:55:13
|
55 | let path = dir.path().join("bench.dat");
| ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: `libdictenstein` (test "dictionary_iterator_tests") generated 1 warning (run `cargo fix --test "dictionary_iterator_tests" -p libdictenstein` to apply 1 suggestion)
warning: comparison is useless due to type limits
--> tests/persistent_artrie_recovery_tests.rs:1441:17
|
1441 | assert!(matches.len() >= 0, "Should return iterator");
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_comparisons)]` on by default
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1634:9
|
1634 | trie.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
1634 | let _ = trie.insert("apple");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1635:9
|
1635 | trie.insert("application");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1635 | let _ = trie.insert("application");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1636:9
|
1636 | trie.insert("apply");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1636 | let _ = trie.insert("apply");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1637:9
|
1637 | trie.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1637 | let _ = trie.insert("banana");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1638:9
|
1638 | trie.insert("band");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1638 | let _ = trie.insert("band");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1655:9
|
1655 | trie.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1655 | let _ = trie.insert("apple");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1656:9
|
1656 | trie.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1656 | let _ = trie.insert("banana");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1668:9
|
1668 | trie.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1668 | let _ = trie.insert("日本語");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1669:9
|
1669 | trie.insert("日本人");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1669 | let _ = trie.insert("日本人");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1670:9
|
1670 | trie.insert("日曜日");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1670 | let _ = trie.insert("日曜日");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1671:9
|
1671 | trie.insert("月曜日");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1671 | let _ = trie.insert("月曜日");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1687:9
|
1687 | trie.insert_with_value("apple", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1687 | let _ = trie.insert_with_value("apple", 1);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1688:9
|
1688 | trie.insert_with_value("application", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1688 | let _ = trie.insert_with_value("application", 2);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1689:9
|
1689 | trie.insert_with_value("apply", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1689 | let _ = trie.insert_with_value("apply", 3);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1690:9
|
1690 | trie.insert_with_value("banana", 4);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1690 | let _ = trie.insert_with_value("banana", 4);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1709:9
|
1709 | trie.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1709 | let _ = trie.insert("apple");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1710:9
|
1710 | trie.insert("application");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1710 | let _ = trie.insert("application");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1711:9
|
1711 | trie.insert("apply");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1711 | let _ = trie.insert("apply");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1712:9
|
1712 | trie.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1712 | let _ = trie.insert("banana");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1713:9
|
1713 | trie.insert("band");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1713 | let _ = trie.insert("band");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1732:9
|
1732 | trie.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1732 | let _ = trie.insert("日本語");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1733:9
|
1733 | trie.insert("日本人");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1733 | let _ = trie.insert("日本人");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1734:9
|
1734 | trie.insert("日曜日");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1734 | let _ = trie.insert("日曜日");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1735:9
|
1735 | trie.insert("月曜日");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1735 | let _ = trie.insert("月曜日");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1753:13
|
1753 | trie.insert(&format!("prefix_{:03}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1753 | let _ = trie.insert(&format!("prefix_{:03}", i));
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_recovery_tests.rs:1755:9
|
1755 | trie.insert("other_term");
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1755 | let _ = trie.insert("other_term");
| +++++++
warning: `libdictenstein` (test "serialization_correspondence") generated 16 warnings (16 duplicates)
warning: unused import: `MappedDictionary`
--> tests/persistent_artrie_char_integration.rs:21:38
|
21 | use libdictenstein::{DictionaryNode, MappedDictionary};
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:32:5
|
32 | trie.insert("café");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
32 | let _ = trie.insert("café");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:33:5
|
33 | trie.insert("naïve");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
33 | let _ = trie.insert("naïve");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:34:5
|
34 | trie.insert("résumé");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
34 | let _ = trie.insert("résumé");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:48:5
|
48 | trie.insert("中文");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
48 | let _ = trie.insert("中文");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:49:5
|
49 | trie.insert("你好");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
49 | let _ = trie.insert("你好");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:50:5
|
50 | trie.insert("世界");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
50 | let _ = trie.insert("世界");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:53:5
|
53 | trie.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
53 | let _ = trie.insert("日本語");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:54:5
|
54 | trie.insert("こんにちは");
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
54 | let _ = trie.insert("こんにちは");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:55:5
|
55 | trie.insert("ありがとう");
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
55 | let _ = trie.insert("ありがとう");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:58:5
|
58 | trie.insert("한국어");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
58 | let _ = trie.insert("한국어");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:59:5
|
59 | trie.insert("안녕하세요");
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
59 | let _ = trie.insert("안녕하세요");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:73:5
|
73 | trie.insert("🎉");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
73 | let _ = trie.insert("🎉");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:74:5
|
74 | trie.insert("🌍");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
74 | let _ = trie.insert("🌍");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:75:5
|
75 | trie.insert("❤️");
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
75 | let _ = trie.insert("❤️");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:78:5
|
78 | trie.insert("👨👩👧"); // Family emoji (ZWJ sequence)
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
78 | let _ = trie.insert("👨👩👧"); // Family emoji (ZWJ sequence)
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:79:5
|
79 | trie.insert("🏳️🌈"); // Rainbow flag
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
79 | let _ = trie.insert("🏳️🌈"); // Rainbow flag
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:82:5
|
82 | trie.insert("Hello 🌍!");
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
82 | let _ = trie.insert("Hello 🌍!");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:83:5
|
83 | trie.insert("I ❤️ Rust");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
83 | let _ = trie.insert("I ❤️ Rust");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:104:5
|
104 | trie.insert(precomposed);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
104 | let _ = trie.insert(precomposed);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:105:5
|
105 | trie.insert(decomposed);
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
105 | let _ = trie.insert(decomposed);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:120:5
|
120 | trie.insert("مرحبا");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
120 | let _ = trie.insert("مرحبا");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:121:5
|
121 | trie.insert("العالم");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
121 | let _ = trie.insert("العالم");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:124:5
|
124 | trie.insert("שלום");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
124 | let _ = trie.insert("שלום");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:125:5
|
125 | trie.insert("עולם");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
125 | let _ = trie.insert("עולם");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:137:5
|
137 | trie.insert("Café 中文");
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
137 | let _ = trie.insert("Café 中文");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:138:5
|
138 | trie.insert("Tōkyō 東京");
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
138 | let _ = trie.insert("Tōkyō 東京");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:139:5
|
139 | trie.insert("München München");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
139 | let _ = trie.insert("München München");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:140:5
|
140 | trie.insert("São Paulo");
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
140 | let _ = trie.insert("São Paulo");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:152:5
|
152 | trie.insert("∑∏∫∂");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
152 | let _ = trie.insert("∑∏∫∂");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:153:5
|
153 | trie.insert("∀x∃y");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
153 | let _ = trie.insert("∀x∃y");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:156:5
|
156 | trie.insert("$€£¥₿");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
156 | let _ = trie.insert("$€£¥₿");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:159:5
|
159 | trie.insert("♩♪♫♬");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
159 | let _ = trie.insert("♩♪♫♬");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:162:5
|
162 | trie.insert("⚡⚙️🔧");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
162 | let _ = trie.insert("⚡⚙️🔧");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:177:5
|
177 | trie.insert_with_value("café", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
177 | let _ = trie.insert_with_value("café", 1);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:178:5
|
178 | trie.insert_with_value("中文", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
178 | let _ = trie.insert_with_value("中文", 2);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:179:5
|
179 | trie.insert_with_value("🎉", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
179 | let _ = trie.insert_with_value("🎉", 3);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:191:5
|
191 | trie.insert_with_value("hello", "greeting".to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
191 | let _ = trie.insert_with_value("hello", "greeting".to_string());
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:192:5
|
192 | trie.insert_with_value("世界", "world".to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
192 | let _ = trie.insert_with_value("世界", "world".to_string());
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:193:5
|
193 | trie.insert_with_value("café", "coffee place".to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
193 | let _ = trie.insert_with_value("café", "coffee place".to_string());
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:208:5
|
208 | trie.insert("café");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
208 | let _ = trie.insert("café");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:209:5
|
209 | trie.insert("cat");
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
209 | let _ = trie.insert("cat");
| +++++++
warning: `libdictenstein` (example "wal_size_test") generated 1 warning (run `cargo fix --example "wal_size_test" -p libdictenstein` to apply 1 suggestion)
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:233:5
|
233 | trie.insert("中文");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
233 | let _ = trie.insert("中文");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:251:5
|
251 | trie.insert("ab");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
251 | let _ = trie.insert("ab");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:252:5
|
252 | trie.insert("aé");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
252 | let _ = trie.insert("aé");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:253:5
|
253 | trie.insert("a中");
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
253 | let _ = trie.insert("a中");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:254:5
|
254 | trie.insert("a🎉");
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
254 | let _ = trie.insert("a🎉");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:277:5
|
277 | trie.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
277 | let _ = trie.insert("hello");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:278:5
|
278 | trie.insert("世界");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
278 | let _ = trie.insert("世界");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:279:5
|
279 | trie.insert("café");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
279 | let _ = trie.insert("café");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:295:5
|
295 | trie.insert("abc");
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
295 | let _ = trie.insert("abc");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:296:5
|
296 | trie.insert("aéc");
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
296 | let _ = trie.insert("aéc");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:349:5
|
349 | trie.insert("aaa");
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
349 | let _ = trie.insert("aaa");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:350:5
|
350 | trie.insert("café");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
350 | let _ = trie.insert("café");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:351:5
|
351 | trie.insert("中文");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
351 | let _ = trie.insert("中文");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:371:5
|
371 | trie.insert("中文");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
371 | let _ = trie.insert("中文");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:372:5
|
372 | trie.insert("中国");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
372 | let _ = trie.insert("中国");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:373:5
|
373 | trie.insert("中心");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
373 | let _ = trie.insert("中心");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:386:5
|
386 | trie.insert("🎉🎊");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
386 | let _ = trie.insert("🎉🎊");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:387:5
|
387 | trie.insert("🎉🎁");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
387 | let _ = trie.insert("🎉🎁");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:388:5
|
388 | trie.insert("🎉🎈");
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
388 | let _ = trie.insert("🎉🎈");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:409:5
|
409 | trie.insert("");
| ^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
409 | let _ = trie.insert("");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:420:5
|
420 | trie.insert("a");
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
420 | let _ = trie.insert("a");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:421:5
|
421 | trie.insert("é");
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
421 | let _ = trie.insert("é");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:422:5
|
422 | trie.insert("中");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
422 | let _ = trie.insert("中");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:423:5
|
423 | trie.insert("🎉");
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
423 | let _ = trie.insert("🎉");
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:438:5
|
438 | trie.insert(long_unicode);
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
438 | let _ = trie.insert(long_unicode);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:467:9
|
467 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
467 | let _ = trie.insert(term);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:509:5
|
509 | trie.insert_with_value("one", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
509 | let _ = trie.insert_with_value("one", 1);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:510:5
|
510 | trie.insert_with_value("一", 1); // Chinese for "one"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
510 | let _ = trie.insert_with_value("一", 1); // Chinese for "one"
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:511:5
|
511 | trie.insert_with_value("하나", 1); // Korean for "one"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
511 | let _ = trie.insert_with_value("하나", 1); // Korean for "one"
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:531:5
|
531 | trie.insert("𝄞"); // G clef
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
531 | let _ = trie.insert("𝄞"); // G clef
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:534:5
|
534 | trie.insert("𝐀𝐁𝐂"); // Bold letters
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
534 | let _ = trie.insert("𝐀𝐁𝐂"); // Bold letters
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:537:5
|
537 | trie.insert("𐀀"); // Linear B syllable
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
537 | let _ = trie.insert("𐀀"); // Linear B syllable
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:540:5
|
540 | trie.insert("👋🏽"); // Waving hand with medium skin tone
| ^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
540 | let _ = trie.insert("👋🏽"); // Waving hand with medium skin tone
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:561:5
|
561 | trie.insert(with_zwj);
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
561 | let _ = trie.insert(with_zwj);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:562:5
|
562 | trie.insert(without_zwj);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
562 | let _ = trie.insert(without_zwj);
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:582:5
|
582 | trie.insert("hello world"); // Regular space
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
582 | let _ = trie.insert("hello world"); // Regular space
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:583:5
|
583 | trie.insert("hello\u{00A0}world"); // Non-breaking space
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
583 | let _ = trie.insert("hello\u{00A0}world"); // Non-breaking space
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:584:5
|
584 | trie.insert("hello\u{2003}world"); // Em space
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
584 | let _ = trie.insert("hello\u{2003}world"); // Em space
| +++++++
warning: unused `Result` that must be used
--> tests/persistent_artrie_char_integration.rs:585:5
|
585 | trie.insert("hello\u{3000}world"); // Ideographic space
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
585 | let _ = trie.insert("hello\u{3000}world"); // Ideographic space
| +++++++
warning: `libdictenstein` (test "proptest_bijective") generated 16 warnings (15 duplicates)
warning: `libdictenstein` (test "valued_set_combinator_correspondence") generated 17 warnings (17 duplicates)
warning: `libdictenstein` (example "bench_disk_io") generated 2 warnings (run `cargo fix --example "bench_disk_io" -p libdictenstein` to apply 1 suggestion)
warning: `libdictenstein` (test "proptest_trait_macros") generated 21 warnings (17 duplicates)
warning: `libdictenstein` (test "double_array_trie_correspondence") generated 17 warnings (17 duplicates)
warning: `libdictenstein` (test "persistent_arbitrary_v_overlay") generated 5 warnings
warning: `libdictenstein` (test "persistent_artrie_acid_tests") generated 2 warnings
warning: `libdictenstein` (test "dynamic_dawg_u64_correspondence") generated 17 warnings (17 duplicates)
warning: `libdictenstein` (test "persistent_artrie_char_integration") generated 81 warnings
warning: `libdictenstein` (test "persistent_artrie_recovery_tests") generated 50 warnings
warning: `libdictenstein` (lib test) generated 182 warnings (19 duplicates) (run `cargo fix --lib -p libdictenstein --tests` to apply 16 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.63s
Executable unittests src/lib.rs (target/debug/deps/libdictenstein-298c320302da1fd4)
Executable tests/arena_manager_correspondence.rs (target/debug/deps/arena_manager_correspondence-02847ccce80a9747)
Executable tests/bijective_tests.rs (target/debug/deps/bijective_tests-3cac37492f0a8efe)
Executable tests/bijective_trait_invariant.rs (target/debug/deps/bijective_trait_invariant-7ffa5e31eca8d491)
Executable tests/bloom_filter_correspondence.rs (target/debug/deps/bloom_filter_correspondence-6110cf7668b34ade)
Executable tests/checkpoint_retention_correspondence.rs (target/debug/deps/checkpoint_retention_correspondence-69680e8169f07434)
Executable tests/compaction_tests.rs (target/debug/deps/compaction_tests-e4efe050398d3fc8)
Executable tests/concurrent_checkpoint_publication_correspondence.rs (target/debug/deps/concurrent_checkpoint_publication_correspondence-f923317f6693814d)
Executable tests/dedup_arena_correspondence.rs (target/debug/deps/dedup_arena_correspondence-95217d689b29ad9a)
Executable tests/dictionary_iterator_tests.rs (target/debug/deps/dictionary_iterator_tests-97b882b474e223b5)
Executable tests/dictionary_law_correspondence.rs (target/debug/deps/dictionary_law_correspondence-16982ba8b8be3760)
Executable tests/dictionary_node_reopen_traversal_correspondence.rs (target/debug/deps/dictionary_node_reopen_traversal_correspondence-c2eee6c77404619e)
Executable tests/dirty_checkpoint_correspondence.rs (target/debug/deps/dirty_checkpoint_correspondence-dc137d30acb7a0ae)
Executable tests/double_array_trie_correspondence.rs (target/debug/deps/double_array_trie_correspondence-2c992a6c8d66256d)
Executable tests/dynamic_dawg_mutation_correspondence.rs (target/debug/deps/dynamic_dawg_mutation_correspondence-437905217e9410d7)
Executable tests/dynamic_dawg_u64_correspondence.rs (target/debug/deps/dynamic_dawg_u64_correspondence-04614413b582d76c)
Executable tests/epoch_checkpoint_recovery_correspondence.rs (target/debug/deps/epoch_checkpoint_recovery_correspondence-5ad88d7ab1f33a4d)
Executable tests/excluding_prefix_zipper_tests.rs (target/debug/deps/excluding_prefix_zipper_tests-2bcea8a68d3da1e8)
Executable tests/fuzzy_candidate_coverage_correspondence.rs (target/debug/deps/fuzzy_candidate_coverage_correspondence-e96b65bb96d56597)
Executable tests/io_uring_integration_tests.rs (target/debug/deps/io_uring_integration_tests-5c60eb9947b9700d)
Executable tests/pathmap_factory_correspondence.rs (target/debug/deps/pathmap_factory_correspondence-ef3ec292a1838aa3)
Executable tests/persistent_arbitrary_v_overlay.rs (target/debug/deps/persistent_arbitrary_v_overlay-05a871e6fe9e7545)
Executable tests/persistent_artrie_acid_tests.rs (target/debug/deps/persistent_artrie_acid_tests-3374783da89dad46)
Executable tests/persistent_artrie_char_e1_readflip_correspondence.rs (target/debug/deps/persistent_artrie_char_e1_readflip_correspondence-18025b3be373cbb0)
Executable tests/persistent_artrie_char_integration.rs (target/debug/deps/persistent_artrie_char_integration-d7f17057a37e124a)
Executable tests/persistent_artrie_concurrent.rs (target/debug/deps/persistent_artrie_concurrent-1d5cf374b6b0ae43)
Executable tests/persistent_artrie_error_handling.rs (target/debug/deps/persistent_artrie_error_handling-1fe13a59905a55b1)
Executable tests/persistent_artrie_formal_correspondence.rs (target/debug/deps/persistent_artrie_formal_correspondence-78712e93ccaaaed2)
Executable tests/persistent_artrie_loom_correspondence.rs (target/debug/deps/persistent_artrie_loom_correspondence-544d13d6369861e8)
Executable tests/persistent_artrie_proptest.rs (target/debug/deps/persistent_artrie_proptest-678cb4c2d2737a70)
Executable tests/persistent_artrie_recovery_tests.rs (target/debug/deps/persistent_artrie_recovery_tests-74c2e8d5ce2b3e45)
Executable tests/persistent_artrie_storage_correspondence.rs (target/debug/deps/persistent_artrie_storage_correspondence-f4873d332d59d5d5)
Executable tests/persistent_artrie_stress.rs (target/debug/deps/persistent_artrie_stress-4abc47dfcdbdd1ff)
Executable tests/persistent_bulk_mutation_correspondence.rs (target/debug/deps/persistent_bulk_mutation_correspondence-2f61d50a35df015f)
Executable tests/persistent_byte_thread_lifecycle.rs (target/debug/deps/persistent_byte_thread_lifecycle-3eecc232c7e1b829)
Executable tests/persistent_char_ebr_correspondence.rs (target/debug/deps/persistent_char_ebr_correspondence-374bb3befb0628cf)
Executable tests/persistent_char_eviction_correspondence.rs (target/debug/deps/persistent_char_eviction_correspondence-c0552b063f8d8516)
Executable tests/persistent_char_eviction_proptest.rs (target/debug/deps/persistent_char_eviction_proptest-6657b48aae99ad14)
Executable tests/persistent_char_eviction_registry_correspondence.rs (target/debug/deps/persistent_char_eviction_registry_correspondence-b763a4a7aa2c1cc3)
Executable tests/persistent_char_node_layout_correspondence.rs (target/debug/deps/persistent_char_node_layout_correspondence-cafe8ba839f668fa)
Executable tests/persistent_char_thread_lifecycle.rs (target/debug/deps/persistent_char_thread_lifecycle-32c7a4a120acfdb4)
Executable tests/persistent_char_thread_lifecycle_proptest.rs (target/debug/deps/persistent_char_thread_lifecycle_proptest-dc3796d76ac97f7d)
Executable tests/persistent_compaction_correspondence.rs (target/debug/deps/persistent_compaction_correspondence-5fdd0789075c7b0f)
Executable tests/persistent_end_to_end_trace_correspondence.rs (target/debug/deps/persistent_end_to_end_trace_correspondence-15d493138ef46baa)
Executable tests/persistent_lazy_mutation_correspondence.rs (target/debug/deps/persistent_lazy_mutation_correspondence-7689aa59b63872de)
Executable tests/persistent_lockfree_durable_loom.rs (target/debug/deps/persistent_lockfree_durable_loom-046b742300b87f85)
Executable tests/persistent_lockfree_merge_correspondence.rs (target/debug/deps/persistent_lockfree_merge_correspondence-e3c41b27cde1ad8b)
Executable tests/persistent_lockfree_overlay_loom.rs (target/debug/deps/persistent_lockfree_overlay_loom-0fed3f95edd83329)
Executable tests/persistent_lockfree_overlay_proptest.rs (target/debug/deps/persistent_lockfree_overlay_proptest-22e27e46c457fb44)
Executable tests/persistent_merge_correspondence.rs (target/debug/deps/persistent_merge_correspondence-82a7faf527b158c7)
Executable tests/persistent_nonblocking_checkpoint_correspondence.rs (target/debug/deps/persistent_nonblocking_checkpoint_correspondence-b196150b66467779)
Executable tests/persistent_prefix_correspondence.rs (target/debug/deps/persistent_prefix_correspondence-25c87f65018a9485)
Executable tests/persistent_public_durability_policy_correspondence.rs (target/debug/deps/persistent_public_durability_policy_correspondence-175eebd4fa6ae77d)
Executable tests/persistent_public_lifecycle_correspondence.rs (target/debug/deps/persistent_public_lifecycle_correspondence-04cf3e6065aac111)
Executable tests/persistent_read_snapshot_correspondence.rs (target/debug/deps/persistent_read_snapshot_correspondence-7fa8cfdeeb053369)
Executable tests/persistent_rewrite_compaction_correspondence.rs (target/debug/deps/persistent_rewrite_compaction_correspondence-b81286455be702db)
Executable tests/persistent_shared_concurrency_correspondence.rs (target/debug/deps/persistent_shared_concurrency_correspondence-4dc65e351e7f8607)
Executable tests/persistent_transaction_increment_correspondence.rs (target/debug/deps/persistent_transaction_increment_correspondence-728352298104a7b8)
Executable tests/persistent_vocab_checkpoint_correspondence.rs (target/debug/deps/persistent_vocab_checkpoint_correspondence-1a307a9ebdf34438)
Executable tests/persistent_vocab_wal_atomicity_correspondence.rs (target/debug/deps/persistent_vocab_wal_atomicity_correspondence-7a42d64a1b9a6c4f)
Executable tests/persistent_wal_atomicity_correspondence.rs (target/debug/deps/persistent_wal_atomicity_correspondence-39e25e315d95e02e)
Executable tests/persistent_worker_lifecycle_loom.rs (target/debug/deps/persistent_worker_lifecycle_loom-38538bc835bb874d)
Executable tests/prefix_zipper_tests.rs (target/debug/deps/prefix_zipper_tests-ecb287b26b2f1b21)
Executable tests/proptest_bijective.rs (target/debug/deps/proptest_bijective-c6e619bcc3f0c0c4)
Executable tests/proptest_core_dictionaries.rs (target/debug/deps/proptest_core_dictionaries-0cb6d2f0ca9163cf)
Executable tests/proptest_serialization.rs (target/debug/deps/proptest_serialization-4f3252dec93e30b7)
Executable tests/proptest_trait_macros.rs (target/debug/deps/proptest_trait_macros-c087c7aa4a2a91ef)
Executable tests/proptest_zipper_operations.rs (target/debug/deps/proptest_zipper_operations-00f4320b8c8edd3c)
Executable tests/protobuf_compression_correspondence.rs (target/debug/deps/protobuf_compression_correspondence-24848a8b73480f5c)
Executable tests/recovery_planner_correspondence.rs (target/debug/deps/recovery_planner_correspondence-55324e7190f96ec3)
Executable tests/recovery_replay_completeness_correspondence.rs (target/debug/deps/recovery_replay_completeness_correspondence-56e8b542bfd544a6)
Executable tests/relative_encoding_correspondence.rs (target/debug/deps/relative_encoding_correspondence-19bc2fa507c849c6)
Executable tests/root_descriptor_reopen_correspondence.rs (target/debug/deps/root_descriptor_reopen_correspondence-dd4ca894f3e51180)
Executable tests/scdawg_core_parity.rs (target/debug/deps/scdawg_core_parity-7f9fede8c24f75e3)
Executable tests/scdawg_occurrence_correspondence.rs (target/debug/deps/scdawg_occurrence_correspondence-5f9f2ca1058477ab)
Executable tests/serialization_correspondence.rs (target/debug/deps/serialization_correspondence-c66e203d31aaadbf)
Executable tests/serialization_value_roundtrip.rs (target/debug/deps/serialization_value_roundtrip-e97db48dd1fb5466)
Executable tests/set_zipper_tests.rs (target/debug/deps/set_zipper_tests-3b6a6df8a79ad4ce)
Executable tests/substring_candidate_correspondence.rs (target/debug/deps/substring_candidate_correspondence-cf01e07fa5a80d12)
Executable tests/union_zipper_lling_llang_tests.rs (target/debug/deps/union_zipper_lling_llang_tests-34236e4714f8a7f4)
Executable tests/union_zipper_tests.rs (target/debug/deps/union_zipper_tests-fa399570a33873e0)
Executable tests/unsafe_boundary_contracts.rs (target/debug/deps/unsafe_boundary_contracts-a8f3988281b0a64d)
Executable tests/valued_set_combinator_correspondence.rs (target/debug/deps/valued_set_combinator_correspondence-c50e223f9f0e7d49)
Executable tests/vocab_trait_honesty.rs (target/debug/deps/vocab_trait_honesty-3dc8dfdd604cfccb)
Executable tests/wal_segment_lifecycle_correspondence.rs (target/debug/deps/wal_segment_lifecycle_correspondence-8859beb7774d2fce)
Executable tests/zipper_language_correspondence.rs (target/debug/deps/zipper_language_correspondence-d76e4ee77de87815)
== Rust correspondence tests ==
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "dictionary_law_correspondence") generated 13 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s
Running tests/dictionary_law_correspondence.rs (target/debug/deps/dictionary_law_correspondence-7843b15fea775661)
running 9 tests
test suffix_char_backend_exposes_unicode_substring_laws ... ok
test suffix_backends_expose_substring_laws ... ok
test dynamic_dawg_char_mutation_trace_matches_reference_map ... ok
test exact_unicode_static_backends_match_reference_set ... ok
test bijective_map_matches_forward_reverse_reference ... ok
test exact_static_backends_match_reference_set ... ok
test mapped_static_backends_match_reference_map ... ok
test zipper_boolean_algebra_matches_reference_sets ... ok
test dynamic_dawg_mutation_trace_matches_reference_map ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "dynamic_dawg_mutation_correspondence") generated 16 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s
Running tests/dynamic_dawg_mutation_correspondence.rs (target/debug/deps/dynamic_dawg_mutation_correspondence-ed992bbf92675733)
running 5 tests
test bloom_backed_dynamic_dawg_has_no_false_negatives_after_rebuilds ... ok
test char_dynamic_dawg_mapped_mutations_refine_reference_map ... ok
test byte_dynamic_dawg_mapped_mutations_refine_reference_map ... ok
test char_dynamic_dawg_batch_set_mutations_refine_reference_set ... ok
test byte_dynamic_dawg_batch_set_mutations_refine_reference_set ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `unicode_term` is never used
--> tests/common/strategies.rs:28:8
|
28 | pub fn unicode_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "dynamic_dawg_u64_correspondence") generated 17 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s
Running tests/dynamic_dawg_u64_correspondence.rs (target/debug/deps/dynamic_dawg_u64_correspondence-2780785bc343bffb)
running 10 tests
test f64_api_refines_to_bits_sequences ... ok
test insertion_only_children_are_exact_reference_prefixes ... ok
test update_or_insert_preserves_existing_value_before_update ... ok
test string_api_refines_u64_char_unit_encoding ... ok
test sequence_edge_cases_refine_reference_map ... ok
test loom_joined_insert_is_visible_to_later_reader ... ok
test loom_remove_clears_finality_without_corrupting_sibling ... ok
test generated_string_batch_api_refines_encoded_sequences ... ok
test loom_reader_snapshot_never_fabricates_sequence ... ok
test generated_sequence_traces_refine_reference_model ... ok
test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
Running tests/bloom_filter_correspondence.rs (target/debug/deps/bloom_filter_correspondence-ad3d78c2d6cc8f2f)
running 8 tests
test byte_api_matches_reference_bitset_model ... ok
test constructors_normalize_public_parameters ... ok
test clear_rejects_prior_evidence_and_reinsert_restores_membership ... ok
test string_api_refines_byte_api_for_unicode_payloads ... ok
test duplicate_inserts_preserve_no_false_negative_guarantee ... ok
test bloom_backed_dynamic_dawg_lookup_never_rejects_inserted_terms ... ok
test generated_byte_traces_have_no_false_negatives_and_match_reference ... ok
test generated_unicode_strings_refine_bytes_and_keep_membership ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `unicode_term` is never used
--> tests/common/strategies.rs:28:8
|
28 | pub fn unicode_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "double_array_trie_correspondence") generated 17 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
Running tests/double_array_trie_correspondence.rs (target/debug/deps/double_array_trie_correspondence-2aa85e275b275c97)
running 8 tests
test byte_and_char_zippers_match_base_check_traversal_and_values ... ok
test sorted_char_constructor_matches_regular_constructor_for_sorted_entries ... ok
test byte_dat_membership_is_independent_of_input_order_and_duplicates ... ok
test mapped_duplicate_values_keep_the_later_value ... ok
test char_dat_set_construction_and_node_walk_refine_reference ... ok
test char_dat_mapped_lookup_and_iteration_refine_last_wins_map ... ok
test byte_dat_mapped_lookup_and_iteration_refine_last_wins_map ... ok
test byte_dat_set_construction_and_node_walk_refine_reference ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s
Running tests/unsafe_boundary_contracts.rs (target/debug/deps/unsafe_boundary_contracts-e72d7059e5bdffbb)
running 3 tests
test scdawg_node_handles_are_send_sync ... ok
test char_scdawg_handle_supports_concurrent_read_traversal ... ok
test byte_scdawg_handle_supports_concurrent_read_traversal ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "zipper_language_correspondence") generated 15 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s
Running tests/zipper_language_correspondence.rs (target/debug/deps/zipper_language_correspondence-9eee3f6e98b6bdf2)
running 8 tests
test scdawg_handles_refine_exact_and_substring_queries ... ok
test prefix_and_excluding_zippers_refine_filtered_reference_languages ... ok
test suffix_automaton_zippers_refine_substring_reference_languages ... ok
test value_diff_zipper_refines_reference_map_difference ... ok
test valued_byte_zippers_refine_reference_maps ... ok
test byte_backend_zippers_refine_exact_reference_language ... ok
test byte_zipper_set_combinators_refine_reference_algebra ... ok
test char_backend_zippers_refine_exact_reference_language ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `unicode_term` is never used
--> tests/common/strategies.rs:28:8
|
28 | pub fn unicode_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "valued_set_combinator_correspondence") generated 17 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
Running tests/valued_set_combinator_correspondence.rs (target/debug/deps/valued_set_combinator_correspondence-0d0a86c7c105288b)
running 7 tests
test dynamic_dawg_zippers_match_reference_fold ... ok
test empty_and_disjoint_inputs_follow_domain_laws ... ok
test lattice_set_values_match_join_and_meet_references ... ok
test byte_intersection_strategies_match_reference_fold ... ok
test byte_union_strategies_match_reference_fold ... ok
test unicode_char_zippers_match_reference_fold ... ok
test generated_byte_union_matches_reference_fold ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `unicode_term` is never used
--> tests/common/strategies.rs:28:8
|
28 | pub fn unicode_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "valued_set_combinator_correspondence") generated 17 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s
Running tests/valued_set_combinator_correspondence.rs (target/debug/deps/valued_set_combinator_correspondence-55211bfa4f16d615)
running 9 tests
test semiring_correspondence::boolean_semiring_plus_is_union_join_boundary ... ok
test dynamic_dawg_zippers_match_reference_fold ... ok
test semiring_correspondence::idempotent_semiring_plus_is_union_join_boundary ... ok
test empty_and_disjoint_inputs_follow_domain_laws ... ok
test lattice_set_values_match_join_and_meet_references ... ok
test byte_intersection_strategies_match_reference_fold ... ok
test byte_union_strategies_match_reference_fold ... ok
test unicode_char_zippers_match_reference_fold ... ok
test generated_byte_union_matches_reference_fold ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
Running tests/pathmap_factory_correspondence.rs (target/debug/deps/pathmap_factory_correspondence-6bb5c0cb2fa31d03)
running 4 tests
test pathmap_mutation_and_union_refine_reference_maps ... ok
test byte_pathmap_refines_reference_map_and_zipper_traversal ... ok
test char_pathmap_edges_are_complete_for_sibling_unicode_scalars ... ok
test factory_preserves_requested_backend_and_feature_gated_availability ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s
Running tests/substring_candidate_correspondence.rs (target/debug/deps/substring_candidate_correspondence-c4a42527f6468cdc)
running 5 tests
test empty_pattern_behavior_is_explicitly_scoped ... ok
test char_scdawg_reports_unicode_occurrences_by_character_position ... ok
test byte_scdawg_reports_overlapping_and_repeated_occurrences ... ok
test byte_scdawg_refines_reference_substring_candidates ... ok
test char_scdawg_refines_reference_substring_candidates ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s
Running tests/scdawg_occurrence_correspondence.rs (target/debug/deps/scdawg_occurrence_correspondence-ead73c0b1c25da80)
running 7 tests
test empty_pattern_behavior_is_scoped_out_of_nonempty_occurrence_laws ... ok
test duplicate_value_updates_preserve_occurrences ... ok
test left_extension_handles_expose_shared_suffix_occurrences ... ok
test char_occurrence_apis_report_unicode_character_positions ... ok
test byte_occurrence_apis_report_repeated_and_overlapping_matches ... ok
test byte_scdawg_occurrence_apis_refine_reference ... ok
test char_scdawg_occurrence_apis_refine_reference ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
Running tests/fuzzy_candidate_coverage_correspondence.rs (target/debug/deps/fuzzy_candidate_coverage_correspondence-44c2eb8202a59938)
running 5 tests
test short_queries_are_outside_full_partition_scope ... ok
test char_candidate_coverage_handles_unicode_edit_shapes ... ok
test byte_candidate_coverage_handles_common_edit_shapes ... ok
test generated_unicode_substitution_matrix_keeps_a_covering_piece ... ok
test generated_byte_substitution_matrix_keeps_a_covering_piece ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "serialization_correspondence") generated 16 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s
Running tests/serialization_correspondence.rs (target/debug/deps/serialization_correspondence-2824e0e5c964bce8)
running 8 tests
test malformed_payloads_fail_closed ... ok
test legacy_term_serializers_drop_values_but_preserve_domain ... ok
test byte_term_serializers_roundtrip_membership ... ok
test byte_value_serializers_roundtrip_lookup_values ... ok
test char_value_serializers_roundtrip_unicode_lookup_values ... ok
test bincode_term_roundtrip_preserves_generated_sets ... ok
test json_value_roundtrip_preserves_generated_maps ... ok
test char_bincode_value_roundtrip_preserves_generated_unicode_maps ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: unused import: `libdictenstein::MappedDictionary`
--> tests/serialization_value_roundtrip.rs:34:5
|
34 | use libdictenstein::MappedDictionary;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: `libdictenstein` (test "serialization_value_roundtrip") generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s
Running tests/serialization_value_roundtrip.rs (target/debug/deps/serialization_value_roundtrip-324eb3a2f9e030a7)
running 9 tests
test dynamic_dawg_bincode_roundtrip_values ... ok
test dynamic_dawg_char_bincode_roundtrip_values_unicode ... ok
test legacy_path_drops_values_documented ... ok
test dynamic_dawg_json_roundtrip_values ... ok
test dynamic_dawg_plaintext_roundtrip_values ... ok
test dynamic_dawg_char_plaintext_roundtrip_values_unicode ... ok
test dat_bincode_roundtrip_values ... ok
test dat_json_roundtrip_values ... ok
test dat_char_json_roundtrip_values_unicode ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: `libdictenstein` (lib) generated 4 warnings
warning: function `unicode_term` is never used
--> tests/common/strategies.rs:28:8
|
28 | pub fn unicode_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `overlapping_term_sets` is never used
--> tests/common/strategies.rs:241:8
|
241 | pub fn overlapping_term_sets(
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "protobuf_compression_correspondence") generated 17 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s
Running tests/protobuf_compression_correspondence.rs (target/debug/deps/protobuf_compression_correspondence-c87f8573569100b8)
running 6 tests
test suffix_automaton_protobuf_preserves_source_language ... ok
test malformed_feature_payloads_fail_closed ... ok
test dat_protobuf_roundtrip_preserves_delimiter_terms ... ok
test protobuf_graph_formats_roundtrip_utf8_membership ... ok
test gzip_wrapped_serializers_roundtrip_membership ... ok
test generated_sets_roundtrip_through_gzip_and_protobuf ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "dictionary_law_correspondence") generated 13 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s
Running tests/dictionary_law_correspondence.rs (target/debug/deps/dictionary_law_correspondence-4b7531f8e40eba2e)
running 11 tests
test suffix_char_backend_exposes_unicode_substring_laws ... ok
test suffix_backends_expose_substring_laws ... ok
test dynamic_dawg_char_mutation_trace_matches_reference_map ... ok
test bijective_map_matches_forward_reverse_reference ... ok
test persistent::persistent_vocab_public_bijection_laws_match_reference_indices ... ok
test exact_static_backends_match_reference_set ... ok
test exact_unicode_static_backends_match_reference_set ... ok
test persistent::persistent_artrie_public_map_laws_match_reference ... ok
test mapped_static_backends_match_reference_map ... ok
test zipper_boolean_algebra_matches_reference_sets ... ok
test dynamic_dawg_mutation_trace_matches_reference_map ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s
Running tests/unsafe_boundary_contracts.rs (target/debug/deps/unsafe_boundary_contracts-640178df5480d8ea)
running 4 tests
test scdawg_node_handles_are_send_sync ... ok
test persistent_buffer_contracts::buffer_manager_requires_backend_fixed_buffer_capability_after_registration ... ok
test byte_scdawg_handle_supports_concurrent_read_traversal ... ok
test char_scdawg_handle_supports_concurrent_read_traversal ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
warning: function `alphanumeric_term` is never used
--> tests/common/strategies.rs:38:8
|
38 | pub fn alphanumeric_term(min_len: usize, max_len: usize) -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `prefix_clustered_terms` is never used
--> tests/common/strategies.rs:53:8
|
53 | pub fn prefix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `suffix_clustered_terms` is never used
--> tests/common/strategies.rs:78:8
|
78 | pub fn suffix_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `first_byte_clustered_terms` is never used
--> tests/common/strategies.rs:100:8
|
100 | pub fn first_byte_clustered_terms(count: usize) -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `edge_case_terms` is never used
--> tests/common/strategies.rs:131:8
|
131 | pub fn edge_case_terms() -> impl Strategy<Value = Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `byte_sequence` is never used
--> tests/common/strategies.rs:161:8
|
161 | pub fn byte_sequence(min_len: usize, max_len: usize) -> impl Strategy<Value = Vec<u8>> {
| ^^^^^^^^^^^^^
warning: enum `DictOp` is never used
--> tests/common/strategies.rs:172:10
|
172 | pub enum DictOp<V: Clone + std::fmt::Debug> {
| ^^^^^^
warning: function `dict_ops_strategy` is never used
--> tests/common/strategies.rs:186:8
|
186 | pub fn dict_ops_strategy<V>(
| ^^^^^^^^^^^^^^^^^
warning: function `insert_remove_ops` is never used
--> tests/common/strategies.rs:209:8
|
209 | pub fn insert_remove_ops(count: usize) -> impl Strategy<Value = Vec<DictOp<()>>> {
| ^^^^^^^^^^^^^^^^^
warning: function `u32_value` is never used
--> tests/common/strategies.rs:218:8
|
218 | pub fn u32_value() -> impl Strategy<Value = u32> {
| ^^^^^^^^^
warning: function `i64_value` is never used
--> tests/common/strategies.rs:223:8
|
223 | pub fn i64_value() -> impl Strategy<Value = i64> {
| ^^^^^^^^^
warning: function `string_value` is never used
--> tests/common/strategies.rs:228:8
|
228 | pub fn string_value() -> impl Strategy<Value = String> {
| ^^^^^^^^^^^^
warning: function `three_term_sets` is never used
--> tests/common/strategies.rs:272:8
|
272 | pub fn three_term_sets(
| ^^^^^^^^^^^^^^^
warning: function `dedupe_terms` is never used
--> tests/common/strategies.rs:294:8
|
294 | pub fn dedupe_terms(terms: Vec<String>) -> Vec<String> {
| ^^^^^^^^^^^^
warning: function `sets_equal` is never used
--> tests/common/strategies.rs:303:8
|
303 | pub fn sets_equal<T: Eq + std::hash::Hash>(a: &[T], b: &[T]) -> bool {
| ^^^^^^^^^^
warning: `libdictenstein` (test "zipper_language_correspondence") generated 15 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.57s
Running tests/zipper_language_correspondence.rs (target/debug/deps/zipper_language_correspondence-e4a6555a91b1f108)
running 9 tests
test persistent::persistent_zippers_refine_reference_languages ... ok
test prefix_and_excluding_zippers_refine_filtered_reference_languages ... ok
test scdawg_handles_refine_exact_and_substring_queries ... ok
test suffix_automaton_zippers_refine_substring_reference_languages ... ok
test value_diff_zipper_refines_reference_map_difference ... ok
test valued_byte_zippers_refine_reference_maps ... ok
test byte_zipper_set_combinators_refine_reference_algebra ... ok
test byte_backend_zippers_refine_exact_reference_language ... ok
test char_backend_zippers_refine_exact_reference_language ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s
Running tests/persistent_artrie_formal_correspondence.rs (target/debug/deps/persistent_artrie_formal_correspondence-d54136e5c7f11fdd)
running 41 tests
test bucket_page_parser_rejects_malformed_headers ... ok
test atomic_node_ptr_successful_cas_releases_replaced_slot_reference ... ok
test char_child_remove_transfers_box_ownership_once ... ok
test char_clone_deep_copies_child_boxes ... ok
test char_get_or_create_child_mutation_keeps_unique_raw_borrow ... ok
test char_insert_child_replaces_without_aliasing_old_box ... ok
test atomic_node_ptr_concurrent_cas_has_single_visible_replacement ... ok
test vocab_child_remove_transfers_box_ownership_once ... ok
test vocab_get_or_create_child_mutation_keeps_unique_raw_borrow ... ok
test wal_header_roundtrip_and_rejection_matches_format_contract ... ok
test wal_crc_corruption_fails_closed ... ok
test wal_reader_reports_truncated_payload_after_durable_prefix ... ok
test wal_record_payload_truncation_is_rejected ... ok
test unsafe_send_sync_contracts_remain_explicit ... ok
test swizzled_pointer_raw_extraction_is_gated_by_in_memory_state ... ok
test swizzled_pointer_state_transitions_preserve_location_contract ... ok
test proof_carrying_trace_rejects_corrupt_certificate ... ok
test swizzled_pointer_losing_lazy_load_candidate_can_be_reclaimed_once ... ok
test vocab_insert_child_replaces_without_aliasing_old_box ... ok
test wal_record_payload_codec_roundtrips_all_formal_variants ... ok
test wal_reader_ignores_torn_trailing_header_after_durable_prefix ... ok
test vocab_clone_deep_copies_child_boxes ... ok
test version_gc_respects_reader_guards_and_retention ... ok
test swizzled_pointer_null_initialization_has_single_cas_winner ... ok
test optimistic_cell_concurrent_writes_preserve_version_and_value ... ok
test bucket_page_roundtrip_preserves_reference_entries ... ok
test bucket_search_matches_sorted_reference ... ok
test bucket_split_and_merge_preserve_reference_order ... ok
test persistent_dictionary_law_trace_matches_reference_map ... ok
test proof_carrying_trace_certificate_replays_reference ... ok
test document_transaction_visibility_matches_tla_model ... ok
test vocab_duplicate_insert_keeps_stable_index_after_reopen ... ok
test segment_sync_failure_does_not_advance_durable_frontier ... ok
test persistent_reopen_ignores_torn_wal_payload_after_durable_prefix ... ok
test vocab_checkpoint_reopen_preserves_unicode_bijection ... ok
test persistent_reopen_ignores_torn_wal_header_after_durable_prefix ... ok
test persistent_reopen_replays_only_committed_wal_transactions ... ok
test deterministic_reopen_trace_matches_btreemap_reference ... ok
test persistent_reopen_matches_every_wal_record_boundary_prefix ... ok
test deterministic_large_trace_matches_btreemap_reference ... ok
test persistent_artrie_trace_matches_btreemap ... ok
test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.11s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s
Running tests/persistent_prefix_correspondence.rs (target/debug/deps/persistent_prefix_correspondence-9df492ce5e1ecd90)
running 4 tests
test prefix_iteration_refines_btree_map_for_ascii_unicode_and_empty_prefix ... ok
test remove_prefix_default_matches_reference_deletion ... ok
test remove_prefix_batched_matches_reference_deletion_for_all_batch_sizes ... ok
test disk_backed_prefix_semantics_survive_sync_reopen_and_deletion ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s
Running tests/persistent_read_snapshot_correspondence.rs (target/debug/deps/persistent_read_snapshot_correspondence-67d7c6b5be398a02)
running 4 tests
test byte_public_iterators_reopen_to_exact_snapshot ... ok
test vocab_public_iterators_reopen_to_exact_snapshot ... ok
test char_lazy_traversal_failure_is_error_and_does_not_append_wal ... ok
test char_public_iterators_reopen_lazy_snapshot_exactly ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s
Running tests/persistent_char_node_layout_correspondence.rs (target/debug/deps/persistent_char_node_layout_correspondence-986fe337f07d9a28)
running 7 tests
test corrupt_header_fields_fail_closed ... ok
test sequential_serialization_rejects_missing_empty_and_noncontiguous_children ... ok
test bucket_header_entry_count_mismatch_fails_closed ... ok
test sequential_flag_without_relative_flag_fails_closed_even_with_valid_payload ... ok
test valid_v2_decoder_stops_at_exact_node_boundary ... ok
test valid_v2_layouts_reject_every_truncated_prefix_without_panicking ... ok
test valid_v2_layouts_roundtrip_exactly ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s
Running tests/dictionary_node_reopen_traversal_correspondence.rs (target/debug/deps/dictionary_node_reopen_traversal_correspondence-a95ef6a68f1298b5)
running 3 tests
test resident_walk_equals_reopened_walk ... ok
test walk_after_reopen_matches_inserted_utf8_values ... ok
test walk_after_reopen_equals_snapshot ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.51s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
Running tests/persistent_char_ebr_correspondence.rs (target/debug/deps/persistent_char_ebr_correspondence-930f15e31bca6b55)
running 1 test
test walk_concurrent_with_eviction_is_safe_and_complete ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s
Running tests/relative_encoding_correspondence.rs (target/debug/deps/relative_encoding_correspondence-b7c59410d8f45e0a)
running 6 tests
test char_relative_encoding_falls_back_to_full_for_forward_same_arena_child ... ok
test checked_decode_rejects_empty_truncated_odd_and_underflow_inputs ... ok
test checked_children_decode_rejects_truncated_concatenated_stream ... ok
test checked_sequential_decode_rejects_slot_overflow ... ok
test byte_relative_encoding_falls_back_to_full_for_forward_same_arena_child ... ok
test char_v2_deserialization_returns_corruption_for_truncated_relative_children ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s
Running tests/arena_manager_correspondence.rs (target/debug/deps/arena_manager_correspondence-8fa08fbf2c61e44c)
running 6 tests
test byte_next_slot_is_defensive_after_loading_clear ... ok
test byte_reserved_allocation_rejects_interleaved_slot_use ... ok
test byte_reserved_allocations_are_contiguous_and_exact ... ok
test dirty_slot_flush_failure_preserves_dirty_tracker_state ... ok
test byte_partial_update_survives_flush_reload ... ok
test char_partial_update_survives_flush_reload_with_checksums ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s
Running tests/dedup_arena_correspondence.rs (target/debug/deps/dedup_arena_correspondence-2821b12bfb4d73d2)
running 9 tests
test byte_batch_take_returns_local_cache_and_clears_batch ... ok
test byte_verify_false_request_still_fails_closed_on_stale_cache ... ok
test byte_verified_dedup_matches_reference_trace ... ok
test byte_verified_stale_cache_allocates_fresh_slot ... ok
test char_batch_take_returns_local_cache_and_clears_batch ... ok
test char_verified_stale_cache_allocates_fresh_slot ... ok
test clear_dedup_cache_removes_reuse_evidence_and_resets_stats ... ok
test char_verified_dedup_matches_reference_trace ... ok
test direct_allocation_bypasses_cache_without_invalidating_cached_hit ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s
Running tests/root_descriptor_reopen_correspondence.rs (target/debug/deps/root_descriptor_reopen_correspondence-5f9fa4f7285d7d3c)
running 6 tests
test char_invalid_root_descriptor_replays_wal_without_checkpoint_skip ... ok
test byte_descriptor_reopen_roundtrip_preserves_reference_map ... ok
test byte_invalid_root_descriptor_replays_wal_without_checkpoint_skip ... ok
test char_lazy_load_errors_are_result_errors_and_public_reads_fail_closed ... ok
test char_descriptor_reopen_roundtrip_preserves_reference_map_across_depths ... ok
test invalid_arena_count_replays_wal_instead_of_trusting_checkpoint ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
Running tests/persistent_lazy_mutation_correspondence.rs (target/debug/deps/persistent_lazy_mutation_correspondence-0aa1a3e732602841)
running 4 tests
test char_lazy_value_insert_and_remove_errors_do_not_append_wal ... ok
test char_lazy_insert_error_returns_err_before_wal_append ... ok
test char_lazy_duplicate_insert_is_noop_without_wal_append ... ok
test char_successful_lazy_mutations_replay_after_reopen ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s
Running tests/persistent_wal_atomicity_correspondence.rs (target/debug/deps/persistent_wal_atomicity_correspondence-397db1155387be8e)
running 8 tests
test byte_value_insert_serialization_failure_preserves_memory_and_wal ... ok
test char_value_insert_serialization_failure_preserves_memory_and_wal ... ok
test byte_atomic_serialization_failures_preserve_memory_and_wal ... ok
test char_atomic_serialization_failures_preserve_memory_and_wal ... ok
test char_atomic_writes_replay_after_reopen ... ok
test char_document_commit_serialization_failure_preserves_memory_and_wal ... ok
test byte_document_commit_serialization_failure_preserves_memory_and_wal ... ok
test byte_atomic_writes_replay_after_reopen ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s
Running tests/persistent_bulk_mutation_correspondence.rs (target/debug/deps/persistent_bulk_mutation_correspondence-9d8790e8d6e53f7e)
running 4 tests
test byte_and_char_checked_increment_overflow_preserves_wal_and_memory ... ok
test char_remove_prefix_lazy_collection_error_preserves_wal_and_unaffected_terms ... ok
test char_remove_prefix_batched_replays_every_durable_wal_prefix ... ok
test char_remove_prefix_batched_survives_reopen_without_checkpoint_for_batch_sizes ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
Running tests/persistent_transaction_increment_correspondence.rs (target/debug/deps/persistent_transaction_increment_correspondence-a44b74b2420f0ecd)
running 5 tests
test char_tx_increment_aggregate_overflow_poisons_transaction ... ok
test char_archive_recovery_stops_before_overflowed_batch_increment_suffix ... ok
test char_tx_increment_current_overflow_fails_before_batch_wal ... ok
test byte_rebuild_stops_before_overflowed_batch_increment_suffix ... ok
test byte_tx_increment_overflow_poisons_transaction_before_commit_wal ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s
Running tests/persistent_lockfree_merge_correspondence.rs (target/debug/deps/persistent_lockfree_merge_correspondence-f26091a9f8b9e06c)
running 5 tests
test byte_lockfree_value_merge_overflow_is_all_or_nothing ... ok
test char_lockfree_value_merge_overflow_is_all_or_nothing ... ok
test checked_increment_cas_rejects_signed_persistence_domain_overflow ... ok
test char_lockfree_value_merge_appends_one_batch_and_reopens_exact_sums ... ok
test byte_lockfree_value_merge_appends_one_batch_and_reopens_exact_sums ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s
Running tests/persistent_lockfree_overlay_proptest.rs (target/debug/deps/persistent_lockfree_overlay_proptest-52c1dd9c32182b26)
running 7 tests
test valued_overlay_remove_drops_value_not_zero ... ok
test prefix_insert_survives_merge_into_persistent_trie ... ok
test concurrent_contended_inserts_finalize_each_term_exactly_once ... ok
test contended_prefix_inserts_finalize_once_and_survive_merge ... ok
test multithread_insert_remove_converges_to_known_subset ... ok
test overlay_insert_contains_match_btreeset_oracle ... ok
test overlay_insert_remove_contains_match_btreeset_oracle ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.36s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
Running tests/checkpoint_retention_correspondence.rs (target/debug/deps/checkpoint_retention_correspondence-c90f471dc68ab96d)
running 2 tests
test byte_corruption_rebuild_retains_active_wal_batch_and_remove ... ok
test char_corruption_rebuild_replays_archived_checkpoint_and_active_tail ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s
Running tests/dirty_checkpoint_correspondence.rs (target/debug/deps/dirty_checkpoint_correspondence-3e0276493271c5a4)
running 5 tests
test byte_dirty_slot_write_failure_preserves_evidence_and_retry_persists_update ... ok
test char_dirty_slot_sync_failure_preserves_evidence_until_retry_syncs ... ok
test late_slot_tracking_flushes_preexisting_dirty_byte_and_char_arenas ... ok
test char_descriptor_publication_before_wal_truncation_reopens_with_wal_tail ... ok
test byte_descriptor_publication_before_wal_truncation_reopens_with_wal_tail ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.39s
Running tests/wal_segment_lifecycle_correspondence.rs (target/debug/deps/wal_segment_lifecycle_correspondence-b8c4827db96f96f2)
running 4 tests
test collected_segments_use_lsn_order_when_filenames_disagree ... ok
test async_rotation_preserves_monotonic_lsn_across_archive_and_active ... ok
test async_reopen_after_archive_continues_after_retained_lsn ... ok
test async_archive_prunes_synced_segments_to_configured_limit ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s
Running tests/recovery_planner_correspondence.rs (target/debug/deps/recovery_planner_correspondence-a08d4938a02ea789)
running 5 tests
test incremental_recovery_stops_permanently_at_first_corrupt_record ... ok
test rebuild_from_segments_stops_at_first_corrupt_record ... ok
test recovery_manager_stops_at_first_corrupt_record ... ok
test char_corruption_rebuild_uses_only_durable_wal_prefix ... ok
test byte_corruption_rebuild_uses_only_durable_wal_prefix ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s
Running tests/recovery_replay_completeness_correspondence.rs (target/debug/deps/recovery_replay_completeness_correspondence-c8eac9291b03a88f)
running 5 tests
test core_record_mapping_expands_every_replayable_variant ... ok
test core_rebuild_replays_batch_increment_and_successful_cas ... ok
test char_archive_recovery_replays_every_mutating_variant_without_relogging ... ok
test char_archive_recovery_stops_at_first_corrupt_record ... ok
test byte_corruption_rebuild_replays_batch_increment_and_cas ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
Running tests/persistent_compaction_correspondence.rs (target/debug/deps/persistent_compaction_correspondence-945de526bad1bc5a)
running 8 tests
test compaction_rejects_wal_sidecar_collision_without_losing_recovery_wal ... ok
test output_file_compaction_preserves_key_value_snapshot ... ok
test crash_after_data_rename_ignores_stale_wal_backup ... ok
test crash_before_data_rename_restores_original_wal_for_recovery ... ok
test non_utf8_byte_keys_survive_compaction ... ok
test set_like_term_only_entries_survive_compaction ... ok
test in_place_compaction_preserves_unsynced_wal_values_after_reopen ... ok
test successful_in_place_compaction_does_not_replay_stale_original_wal ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
Running tests/persistent_rewrite_compaction_correspondence.rs (target/debug/deps/persistent_rewrite_compaction_correspondence-847dd5db0b1b66aa)
running 7 tests
test char_persist_to_disk_alone_does_not_clear_checkpoint_dirty_state ... ok
test vocab_failed_sidecar_publication_keeps_dirty_and_wal_replayable_until_retry ... ok
test vocab_checkpoint_rewrite_keeps_post_checkpoint_wal_tail_replayable ... ok
test char_failed_wal_archive_after_rewrite_keeps_dirty_until_retry ... ok
test vocab_rewrite_checkpoint_preserves_sparse_unicode_duplicate_bijection ... ok
test char_checkpoint_rewrite_keeps_post_checkpoint_wal_tail_replayable ... ok
test char_rewrite_checkpoint_preserves_unicode_values_lazy_and_eager_reopen ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s
Running tests/persistent_vocab_wal_atomicity_correspondence.rs (target/debug/deps/persistent_vocab_wal_atomicity_correspondence-986e7fdf82612a61)
running 6 tests
test batch_duplicate_terms_share_index_without_gaps ... ok
test index_collision_rejected_without_mutating ... ok
test single_insert_recovers_by_wal_replay_without_checkpoint ... ok
test manual_index_insert_recovers_by_wal_replay_without_checkpoint ... ok
test manual_nonzero_index_round_trips_bijection ... ok
test duplicate_terms_across_batches_keep_stable_after_reopen ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s
Running tests/persistent_vocab_checkpoint_correspondence.rs (target/debug/deps/persistent_vocab_checkpoint_correspondence-0ad1526b9aa0f4c5)
running 11 tests
test failed_bloom_sidecar_publication_keeps_dirty_and_wal_replayable ... ok
test sync_to_disk_does_not_act_as_checkpoint ... ok
test rotate_wal_followed_by_reopen_still_recovers_from_wal ... ok
test checkpoint_then_later_insert_replays_post_checkpoint_wal ... ok
test corrupt_bloom_sidecar_rebuilds_without_false_negatives ... ok
test checkpoint_reopen_preserves_unicode_sparse_duplicates_and_batch ... ok
test corrupt_reverse_index_rebuilds_exact_reverse_mapping ... ok
test missing_reverse_index_rebuilds_exact_reverse_mapping ... ok
test stale_reverse_index_entries_are_not_trusted ... ok
test missing_bloom_sidecar_rebuilds_without_false_negatives ... ok
test recovery_replay_retains_wal_until_checkpoint ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s
Running tests/concurrent_checkpoint_publication_correspondence.rs (target/debug/deps/concurrent_checkpoint_publication_correspondence-2ca0773d5f32b2fe)
running 6 tests
test lockfree_checkpoint_publishes_without_wal_replay ... ok
test queue_flush_publishes_pending_inserts_as_checkpoint ... ok
test queue_batch_duplicates_checkpoint_reopen_with_stable_index ... ok
test lockfree_batch_duplicates_checkpoint_reopen_with_stable_indices ... ok
test queue_visible_insert_before_checkpoint_reopens_with_returned_index ... ok
test lockfree_duplicate_race_checkpoint_reopens_single_index ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
Running tests/persistent_char_eviction_correspondence.rs (target/debug/deps/persistent_char_eviction_correspondence-4855b1dbd08b4801)
running 12 tests
test mapped_dictionary_node_trait_is_satisfied ... ok
test value_at_terminal_and_nonterminal_nodes ... ok
test value_on_empty_root_is_none ... ok
test force_eviction_is_zero_when_disabled ... ok
test force_eviction_char_noop_when_registry_empty ... ok
test value_at_reloads_after_eviction ... ok
test value_survives_eviction_via_get ... ok
test force_eviction_respects_min_depth ... ok
test empty_trie_checkpoint_registers_nothing ... ok
test force_eviction_char_reclaims_and_key_reloads ... ok
test post_checkpoint_write_invalidates_registry ... ok
test reopen_identical_with_and_without_eviction ... ok
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
Running tests/persistent_char_eviction_registry_correspondence.rs (target/debug/deps/persistent_char_eviction_registry_correspondence-b1ec3f32ff3f99be)
running 4 tests
test write_invalidates_published_registry ... ok
test registry_empty_until_verified_checkpoint ... ok
test evicted_entries_reference_durable_data ... ok
test recovery_independent_of_registry ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s
Running tests/persistent_char_eviction_proptest.rs (target/debug/deps/persistent_char_eviction_proptest-46ca205eac9174c2)
running 4 tests
test prop_value_roundtrip ... ok
test prop_reclaim_is_lossless ... ok
test prop_post_checkpoint_write_invalidates ... ok
test prop_eviction_preserves_recovery ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.02s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: unused import: `super::*`
--> src/persistent_artrie/nodes/atomic_ptr.rs:23:9
|
23 | use super::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `crate::persistent_artrie::arena_manager::ArenaSlot`
--> src/persistent_artrie/dict_impl.rs:1254:13
|
1254 | use crate::persistent_artrie::arena_manager::ArenaSlot;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `super::*`
--> src/persistent_artrie_char/nodes/atomic_ptr.rs:23:9
|
23 | use super::*;
| ^^^^^^^^
warning: unused import: `super::super::SharedCharTrie`
--> src/persistent_artrie_char/dict_impl_char.rs:206:9
|
206 | use super::super::SharedCharTrie;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie::epoch::EpochConfig`
--> src/persistent_artrie_char/dict_impl_char.rs:2510:13
|
2510 | use crate::persistent_artrie::epoch::EpochConfig;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:575:56
|
575 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:582:60
|
582 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:599:60
|
599 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:609:60
|
609 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:623:60
|
623 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:633:60
|
633 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:645:60
|
645 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:658:60
|
658 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:669:60
|
669 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:686:56
|
686 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:692:56
|
692 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:699:60
|
699 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:709:60
|
709 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:725:60
|
725 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:737:60
|
737 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:753:60
|
753 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1527:71
|
1527 | let mut source: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1535:71
|
1535 | let mut target: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1557:71
|
1557 | let mut source: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1564:71
|
1564 | let mut target: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1585:69
|
1585 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1612:69
|
1612 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1634:69
|
1634 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1644:72
|
1644 | let mut trie: PersistentARTrie<String> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1705:65
|
1705 | let dict: PersistentARTrie<i32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1753:65
|
1753 | let dict: PersistentARTrie<i32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1859:60
|
1859 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1880:60
|
1880 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1895:60
|
1895 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1909:60
|
1909 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1938:60
|
1938 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1970:60
|
1970 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:2002:60
|
2002 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:2020:60
|
2020 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:478:64
|
478 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:487:64
|
487 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:501:64
|
501 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:511:64
|
511 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:526:64
|
526 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:541:64
|
541 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:551:64
|
551 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:565:64
|
565 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:585:64
|
585 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:604:64
|
604 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:618:64
|
618 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:639:64
|
639 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:662:64
|
662 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/lockfree_cas.rs:2371:29
|
2371 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1333:29
|
1333 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1647:29
|
1647 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1787:29
|
1787 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `crate::ARTrie`
--> src/persistent_artrie_char/dict_impl_char.rs:208:9
|
208 | use crate::ARTrie;
| ^^^^^^^^^^^^^
warning: unused import: `Dictionary`
--> src/persistent_artrie/lockfree_cas.rs:2214:17
|
2214 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2629:13
|
2629 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2720:13
|
2720 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2742:13
|
2742 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1489:13
|
1489 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1511:13
|
1511 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1533:13
|
1533 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1601:13
|
1601 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: unused variable: `after`
--> src/persistent_artrie_char/arena_manager.rs:1555:13
|
1555 | let after = manager.ensure_valid();
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_after`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/persistent_artrie_char/persist.rs:1565:13
|
1565 | let mut trie = PersistentARTrieChar::<V>::create(&path).expect("create disk-backed trie");
| ----^^^^
| |
| help: remove this `mut`
warning: variable `failures` is assigned to, but never used
--> src/persistent_artrie_core/concurrency.rs:1444:13
|
1444 | let mut failures = 0;
| ^^^^^^^^^^^^
|
= note: consider using `_failures` instead
warning: value assigned to `failures` is never read
--> src/persistent_artrie_core/concurrency.rs:1447:17
|
1447 | failures += 1;
| ^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `nt`
--> src/persistent_artrie_core/overlay/node.rs:1787:54
|
1787 | fn check_as_non_final_deep_child<K: KeyEncoding>(nt: NodeType)
| ^^ help: if this is intentional, prefix it with an underscore: `_nt`
warning: unused variable: `v2`
--> src/persistent_artrie_core/version_checkpoint.rs:676:13
|
676 | let v2 = manager.create_version(200, 75);
| ^^ help: if this is intentional, prefix it with an underscore: `_v2`
warning: unused variable: `report`
--> src/persistent_vocab_artrie/dict_impl.rs:1398:25
|
1398 | let (vocab, report) = PersistentVocabARTrie::open_with_recovery(&path).unwrap();
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report`
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1124:9
|
1124 | pat.insert_with_value("apple", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
1124 | let _ = pat.insert_with_value("apple", 1);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1125:9
|
1125 | pat.insert_with_value("banana", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1125 | let _ = pat.insert_with_value("banana", 2);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1126:9
|
1126 | pat.insert_with_value("cherry", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1126 | let _ = pat.insert_with_value("cherry", 3);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1140:9
|
1140 | pat.insert_with_value("café", 10);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1140 | let _ = pat.insert_with_value("café", 10);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1141:9
|
1141 | pat.insert_with_value("日本語", 20);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1141 | let _ = pat.insert_with_value("日本語", 20);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1142:9
|
1142 | pat.insert_with_value("🎉", 30);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1142 | let _ = pat.insert_with_value("🎉", 30);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1155:9
|
1155 | pat.insert_with_value("test", 42);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1155 | let _ = pat.insert_with_value("test", 42);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1176:13
|
1176 | pat.insert_with_value(term, value.to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1176 | let _ = pat.insert_with_value(term, value.to_string());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1191:9
|
1191 | pat.insert_with_value("cat", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1191 | let _ = pat.insert_with_value("cat", 1);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1192:9
|
1192 | pat.insert_with_value("car", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1192 | let _ = pat.insert_with_value("car", 2);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1193:9
|
1193 | pat.insert_with_value("cart", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1193 | let _ = pat.insert_with_value("cart", 3);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1194:9
|
1194 | pat.insert_with_value("card", 4);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1194 | let _ = pat.insert_with_value("card", 4);
| +++++++
warning: comparison is useless due to type limits
--> src/persistent_artrie/arena_manager.rs:1905:17
|
1905 | assert!(stats.dirty_arenas >= 0);
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_comparisons)]` on by default
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:2949:9
|
2949 | trie.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
2949 | let _ = trie.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:2963:9
|
2963 | trie.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
2963 | let _ = trie.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:3068:9
|
3068 | trie.write().insert("persistent");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
3068 | let _ = trie.write().insert("persistent");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mmap_ctor.rs:1441:13
|
1441 | trie.insert_with_value("hello", "world".to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1441 | let _ = trie.insert_with_value("hello", "world".to_string());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mmap_ctor.rs:1569:17
|
1569 | trie.insert_with_value(k, v.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1569 | let _ = trie.insert_with_value(k, v.clone());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1446:17
|
1446 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1446 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1727:17
|
1727 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1727 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1916:17
|
1916 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1916 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1990:17
|
1990 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1990 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: comparison is useless due to type limits
--> src/persistent_artrie_core/prefetch.rs:532:17
|
532 | assert!(stats.requests >= 0);
| ^^^^^^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:318:9
|
318 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
318 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:319:9
|
319 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
319 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:320:9
|
320 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
320 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:334:9
|
334 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
334 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:335:9
|
335 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
335 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:336:9
|
336 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
336 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:387:13
|
387 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
387 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:388:13
|
388 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
388 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:389:13
|
389 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
389 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:414:13
|
414 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
414 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:415:13
|
415 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
415 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:423:13
|
423 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
423 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:424:13
|
424 | vocab.insert("durian");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
424 | let _ = vocab.insert("durian");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:445:9
|
445 | vocab.insert("present");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
445 | let _ = vocab.insert("present");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:467:9
|
467 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
467 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:498:13
|
498 | vocab.insert("term1");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
498 | let _ = vocab.insert("term1");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:499:13
|
499 | vocab.insert("term2");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
499 | let _ = vocab.insert("term2");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:500:13
|
500 | vocab.insert("term3");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
500 | let _ = vocab.insert("term3");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:524:13
|
524 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
524 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:525:13
|
525 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
525 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:532:13
|
532 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
532 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:533:13
|
533 | vocab.insert("durian");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
533 | let _ = vocab.insert("durian");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:743:13
|
743 | vocab.insert("with_value_1");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
743 | let _ = vocab.insert("with_value_1");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:744:13
|
744 | vocab.insert("with_value_2");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
744 | let _ = vocab.insert("with_value_2");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:745:13
|
745 | vocab.insert("with_value_3");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
745 | let _ = vocab.insert("with_value_3");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:797:9
|
797 | vocab.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
797 | let _ = vocab.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:809:9
|
809 | vocab.write().insert("world");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
809 | let _ = vocab.write().insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:825:9
|
825 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
825 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:833:9
|
833 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
833 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:857:17
|
857 | vocab.insert(&format!("word{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
857 | let _ = vocab.insert(&format!("word{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:886:9
|
886 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
886 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:889:9
|
889 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
889 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:921:13
|
921 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
921 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:922:13
|
922 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
922 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:958:13
|
958 | vocab.write().insert(&format!("initial_{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
958 | let _ = vocab.write().insert(&format!("initial_{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:979:17
|
979 | vocab_clone2.write().insert(&format!("concurrent_{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
979 | let _ = vocab_clone2.write().insert(&format!("concurrent_{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1012:9
|
1012 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1012 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1160:13
|
1160 | vocab.insert("simple");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1160 | let _ = vocab.insert("simple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1161:13
|
1161 | vocab.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1161 | let _ = vocab.insert("日本語");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1162:13
|
1162 | vocab.insert("");
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1162 | let _ = vocab.insert("");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1163:13
|
1163 | vocab.insert("with spaces and punctuation!");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1163 | let _ = vocab.insert("with spaces and punctuation!");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1164:13
|
1164 | vocab.insert(&"x".repeat(100));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1164 | let _ = vocab.insert(&"x".repeat(100));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1202:17
|
1202 | vocab.insert(&format!("term_{:05}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1202 | let _ = vocab.insert(&format!("term_{:05}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1231:9
|
1231 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1231 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1244:9
|
1244 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1244 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1262:9
|
1262 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1262 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1283:9
|
1283 | vocab.insert("first");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1283 | let _ = vocab.insert("first");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1286:9
|
1286 | vocab.insert("second");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1286 | let _ = vocab.insert("second");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1290:9
|
1290 | vocab.insert("first");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1290 | let _ = vocab.insert("first");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1302:13
|
1302 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1302 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1354:9
|
1354 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1354 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1355:9
|
1355 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1355 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1426:9
|
1426 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1426 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1427:9
|
1427 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1427 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1448:13
|
1448 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1448 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1449:13
|
1449 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1449 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1474:9
|
1474 | vocab.insert_batch(&["apple", "banana"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1474 | let _ = vocab.insert_batch(&["apple", "banana"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1477:9
|
1477 | vocab.insert_batch(&["cherry", "date"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1477 | let _ = vocab.insert_batch(&["cherry", "date"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1480:9
|
1480 | vocab.insert_batch(&["elderberry"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1480 | let _ = vocab.insert_batch(&["elderberry"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1162:9
|
1162 | vocab.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1162 | let _ = vocab.insert("日本語");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1163:9
|
1163 | vocab.insert("中文");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1163 | let _ = vocab.insert("中文");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1164:9
|
1164 | vocab.insert("한글");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1164 | let _ = vocab.insert("한글");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1165:9
|
1165 | vocab.insert("العربية");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1165 | let _ = vocab.insert("العربية");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1166:9
|
1166 | vocab.insert("emoji😀");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1166 | let _ = vocab.insert("emoji😀");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1222:9
|
1222 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1222 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1264:9
|
1264 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1264 | let _ = vocab.insert("test");
| +++++++
warning: `libdictenstein` (lib test) generated 177 warnings (run `cargo fix --lib -p libdictenstein --tests` to apply 14 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.87s
Running unittests src/lib.rs (target/debug/deps/libdictenstein-7f01404edc32f7fd)
running 3 tests
test persistent_artrie_char::eviction_registry_tests::force_eviction_char_invoked_directly_on_coordinator ... ok
test persistent_artrie_char::eviction_registry_tests::force_eviction_unswizzles_a_live_slot_to_disk ... ok
test persistent_artrie_char::eviction_registry_tests::async_request_eviction_reclaims_registered_nodes ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 1762 filtered out; finished in 0.24s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s
Running tests/persistent_shared_concurrency_correspondence.rs (target/debug/deps/persistent_shared_concurrency_correspondence-970d11733f4b17cf)
running 3 tests
test vocab_shared_checkpoint_racing_insert_reopens_with_same_index ... ok
test char_shared_checkpoint_racing_insert_reopens ... ok
test byte_shared_checkpoint_racing_insert_reopens ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
Running tests/persistent_public_durability_policy_correspondence.rs (target/debug/deps/persistent_public_durability_policy_correspondence-5703553eab8f7b3a)
running 8 tests
test char_full_policy_public_mutations_ack_only_after_wal_tail_is_synced ... ok
test char_group_commit_policy_without_coordinator_still_waits_for_sync ... ok
test byte_immediate_public_mutations_ack_only_after_wal_tail_is_synced ... ok
test byte_group_commit_policy_public_mutation_ack_is_synced ... ok
test periodic_policy_does_not_overclaim_public_mutation_durability ... ok
test vocab_group_commit_policy_public_mutation_ack_is_synced ... ok
test vocab_full_policy_public_mutations_ack_only_after_wal_tail_is_synced ... ok
test async_sync_handle_completion_covers_target_lsn ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s
Running tests/persistent_public_lifecycle_correspondence.rs (target/debug/deps/persistent_public_lifecycle_correspondence-fb6ec4863f487303)
running 4 tests
test vocab_public_open_replays_checkpoint_plus_synced_tail_indices ... ok
test byte_public_open_replays_synced_wal_tail_without_checkpoint ... ok
test char_public_open_replays_unicode_checkpoint_plus_synced_tail ... ok
test byte_public_open_replays_checkpoint_plus_synced_tail ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s
Running tests/persistent_end_to_end_trace_correspondence.rs (target/debug/deps/persistent_end_to_end_trace_correspondence-9d7a6d2efe91f828)
running 3 tests
test vocab_trace_preserves_bijection_after_checkpoint_and_reopen ... ok
test char_trace_survives_checkpoint_and_wal_tail_reopen ... ok
test byte_trace_survives_checkpoint_compaction_and_reopen ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
Running tests/epoch_checkpoint_recovery_correspondence.rs (target/debug/deps/epoch_checkpoint_recovery_correspondence-4b55f16abd856b74)
running 3 tests
test public_mutations_record_epoch_wal_bytes_without_manual_calls ... ok
test forced_epoch_checkpoint_reopens_without_wal_tail ... ok
test corrupt_epoch_metadata_fails_closed_while_trie_checkpoint_recovers ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s
Running tests/persistent_merge_correspondence.rs (target/debug/deps/persistent_merge_correspondence-0782c0698e127cd6)
running 3 tests
test cursor_pagination_refines_prefix_reference_for_all_batch_sizes ... ok
test batched_merge_matches_single_pass_reference_for_all_batch_sizes ... ok
test grouped_batched_merge_matches_ordinary_batched_merge ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: unused import: `std::collections::HashMap`
--> src/persistent_artrie_char/parallel_merge.rs:17:5
|
17 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `rayon::prelude`
--> src/persistent_artrie/dict_impl.rs:51:5
|
51 | use rayon::prelude::*;
| ^^^^^^^^^^^^^^
warning: unused import: `rayon::prelude`
--> src/persistent_artrie_char/parallel_merge.rs:19:5
|
19 | use rayon::prelude::*;
| ^^^^^^^^^^^^^^
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 21 warnings (run `cargo fix --lib -p libdictenstein` to apply 1 suggestion)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.84s
Running tests/persistent_merge_correspondence.rs (target/debug/deps/persistent_merge_correspondence-0020c90ade1e6264)
running 4 tests
test cursor_pagination_refines_prefix_reference_for_all_batch_sizes ... ok
test batched_merge_matches_single_pass_reference_for_all_batch_sizes ... ok
test grouped_batched_merge_matches_ordinary_batched_merge ... ok
test parallel_merge_matches_single_pass_reference ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s
Running tests/persistent_artrie_storage_correspondence.rs (target/debug/deps/persistent_artrie_storage_correspondence-bac27aaf82f73d78)
running 5 tests
test swizzled_disk_pointer_raw_roundtrip_is_miri_friendly ... ok
test mmap_raw_ptr_rejects_offsets_outside_declared_block ... ok
test mmap_sync_refreshes_allocation_header_checksum_for_reopen ... ok
test mmap_sub_block_io_rejects_ranges_that_cross_block_boundaries ... ok
test mmap_concurrent_allocations_return_unique_accessible_blocks ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
Running tests/persistent_artrie_loom_correspondence.rs (target/debug/deps/persistent_artrie_loom_correspondence-2013278341a75cf4)
running 27 tests
test char_checked_increment_overflow_preserves_overlay_value ... ok
test async_wal_out_of_order_completion_does_not_advance_past_gap ... ok
test char_checked_merge_overflow_preserves_overlay_and_persistent_value ... ok
test group_commit_publish_acknowledges_only_durable_prefix ... ok
test version_gc_reader_guard_blocks_reclaim_until_drop ... ok
test sync_and_rotate_do_not_publish_concurrent_checkpoint ... ok
test checkpoint_publication_never_exceeds_synced_frontier ... ok
test vocab_public_batch_checkpoint_recover_history_is_linearizable ... ok
test concurrent_checkpoint_recovers_insert_racing_publication ... ok
test merge_snapshot_is_prefix_of_cache_publication ... ok
test vocab_merge_snapshot_preserves_cache_root_agreement ... ok
test child_pointer_handoff_keeps_arc_alive_for_readers ... ok
test swizzle_install_race_single_winner_no_double_free ... ok
test char_merge_snapshot_never_exceeds_visible_value ... ok
test version_gc_race_reclaims_only_without_active_reader ... ok
test atomic_root_compare_exchange_has_single_winner ... ok
test contains_after_insert_join_observes_published_key ... ok
test concurrent_group_commit_reservations_publish_unique_contiguous_lsns ... ok
test char_create_vs_increment_race_has_one_leaf_and_total_value ... ok
test byte_create_vs_increment_race_has_one_leaf_and_total_value ... ok
test char_increment_same_key_counts_each_successful_delta ... ok
test concurrent_checkpoint_with_two_inserts_preserves_replay_tail ... ok
test duplicate_insert_linearizes_at_single_root_publish ... ok
test vocab_public_distinct_insert_checkpoint_recover_history_is_linearizable ... ok
test vocab_public_insert_read_history_has_sequential_explanation ... ok
test vocab_duplicate_insert_returns_stable_index_and_allows_sparse_next_index ... ok
test vocab_distinct_insert_commits_unique_indices_without_wasting_claims ... ok
test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.69s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s
Running tests/persistent_lockfree_overlay_loom.rs (target/debug/deps/persistent_lockfree_overlay_loom-a889b242948c2df5)
running 11 tests
test empty_term_root_in_place_finalize_is_lost_negative_control - should panic ... ok
test remove_concurrent_with_insert_same_key_is_last_writer_wins ... ok
test remove_through_faulted_in_prefix_one_install_clears ... ok
test concurrent_removes_same_key_one_wins_idempotent ... ok
test remove_prefix_concurrent_with_finalize_preserves_longer_term ... ok
test empty_term_root_fresh_cas_survives_concurrent_child_insert ... ok
test reader_snapshot_survives_concurrent_remove_no_uaf ... ok
test concurrent_disjoint_inserts_never_lose_an_update ... ok
test concurrent_prefix_finalize_has_exactly_one_winner ... ok
test reader_holding_owned_arc_snapshot_never_faults ... ok
test faultin_double_install_one_wins ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.21s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s
Running tests/persistent_lockfree_durable_loom.rs (target/debug/deps/persistent_lockfree_durable_loom-bcae66f03a2a5055)
running 3 tests
test appended_frontier_negative_control_loses_a_write - should panic ... ok
test watermark_single_writer_concurrent_checkpoint_loses_nothing ... ok
test watermark_two_writers_out_of_order_commit_concurrent_checkpoint_loses_nothing has been running for over 60 seconds
test watermark_two_writers_out_of_order_commit_concurrent_checkpoint_loses_nothing ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 104.68s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: unused import: `super::*`
--> src/persistent_artrie/nodes/atomic_ptr.rs:23:9
|
23 | use super::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `crate::persistent_artrie::arena_manager::ArenaSlot`
--> src/persistent_artrie/dict_impl.rs:1254:13
|
1254 | use crate::persistent_artrie::arena_manager::ArenaSlot;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `super::*`
--> src/persistent_artrie_char/nodes/atomic_ptr.rs:23:9
|
23 | use super::*;
| ^^^^^^^^
warning: unused import: `super::super::SharedCharTrie`
--> src/persistent_artrie_char/dict_impl_char.rs:206:9
|
206 | use super::super::SharedCharTrie;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie::epoch::EpochConfig`
--> src/persistent_artrie_char/dict_impl_char.rs:2510:13
|
2510 | use crate::persistent_artrie::epoch::EpochConfig;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:575:56
|
575 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:582:60
|
582 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:599:60
|
599 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:609:60
|
609 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:623:60
|
623 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:633:60
|
633 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:645:60
|
645 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:658:60
|
658 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:669:60
|
669 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:686:56
|
686 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:692:56
|
692 | let dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:699:60
|
699 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:709:60
|
709 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:725:60
|
725 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:737:60
|
737 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:753:60
|
753 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1527:71
|
1527 | let mut source: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1535:71
|
1535 | let mut target: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1557:71
|
1557 | let mut source: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1564:71
|
1564 | let mut target: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1585:69
|
1585 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1612:69
|
1612 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1634:69
|
1634 | let mut trie: PersistentARTrie<u32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1644:72
|
1644 | let mut trie: PersistentARTrie<String> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1705:65
|
1705 | let dict: PersistentARTrie<i32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1753:65
|
1753 | let dict: PersistentARTrie<i32> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1859:60
|
1859 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1880:60
|
1880 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1895:60
|
1895 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1909:60
|
1909 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1938:60
|
1938 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:1970:60
|
1970 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:2002:60
|
2002 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/dict_impl.rs:2020:60
|
2020 | let mut dict: PersistentARTrie = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:478:64
|
478 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:487:64
|
487 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:501:64
|
501 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:511:64
|
511 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:526:64
|
526 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:541:64
|
541 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:551:64
|
551 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:565:64
|
565 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:585:64
|
585 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:604:64
|
604 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:618:64
|
618 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:639:64
|
639 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: use of deprecated associated function `persistent_artrie::mmap_ctor::<impl persistent_artrie::dict_impl::PersistentARTrie<V>>::new`: Use `create()` or `open()` for disk persistence. For in-memory tries, use DoubleArrayTrie or DynamicDawg instead.
--> src/persistent_artrie/zipper.rs:662:64
|
662 | let mut dict: PersistentARTrie<()> = PersistentARTrie::new();
| ^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/lockfree_cas.rs:2371:29
|
2371 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1333:29
|
1333 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1647:29
|
1647 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `MappedDictionary`
--> src/persistent_artrie_char/persist.rs:1787:29
|
1787 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^^^^^^^
warning: unused import: `crate::ARTrie`
--> src/persistent_artrie_char/dict_impl_char.rs:208:9
|
208 | use crate::ARTrie;
| ^^^^^^^^^^^^^
warning: unused import: `Dictionary`
--> src/persistent_artrie/lockfree_cas.rs:2214:17
|
2214 | use crate::{Dictionary, MappedDictionary};
| ^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2629:13
|
2629 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2720:13
|
2720 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `crate::persistent_artrie_core::overlay::flip::LockFreeOverlay`
--> src/persistent_artrie/lockfree_cas.rs:2742:13
|
2742 | use crate::persistent_artrie_core::overlay::flip::LockFreeOverlay;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1489:13
|
1489 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1511:13
|
1511 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1533:13
|
1533 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: variable does not need to be mutable
--> src/persistent_artrie/serialization.rs:1601:13
|
1601 | let mut header = SerializedNodeHeader {
| ----^^^^^^
| |
| help: remove this `mut`
warning: unused variable: `after`
--> src/persistent_artrie_char/arena_manager.rs:1555:13
|
1555 | let after = manager.ensure_valid();
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_after`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/persistent_artrie_char/persist.rs:1565:13
|
1565 | let mut trie = PersistentARTrieChar::<V>::create(&path).expect("create disk-backed trie");
| ----^^^^
| |
| help: remove this `mut`
warning: variable `failures` is assigned to, but never used
--> src/persistent_artrie_core/concurrency.rs:1444:13
|
1444 | let mut failures = 0;
| ^^^^^^^^^^^^
|
= note: consider using `_failures` instead
warning: value assigned to `failures` is never read
--> src/persistent_artrie_core/concurrency.rs:1447:17
|
1447 | failures += 1;
| ^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `nt`
--> src/persistent_artrie_core/overlay/node.rs:1787:54
|
1787 | fn check_as_non_final_deep_child<K: KeyEncoding>(nt: NodeType)
| ^^ help: if this is intentional, prefix it with an underscore: `_nt`
warning: unused variable: `v2`
--> src/persistent_artrie_core/version_checkpoint.rs:676:13
|
676 | let v2 = manager.create_version(200, 75);
| ^^ help: if this is intentional, prefix it with an underscore: `_v2`
warning: unused variable: `report`
--> src/persistent_vocab_artrie/dict_impl.rs:1398:25
|
1398 | let (vocab, report) = PersistentVocabARTrie::open_with_recovery(&path).unwrap();
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report`
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1124:9
|
1124 | pat.insert_with_value("apple", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
1124 | let _ = pat.insert_with_value("apple", 1);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1125:9
|
1125 | pat.insert_with_value("banana", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1125 | let _ = pat.insert_with_value("banana", 2);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1126:9
|
1126 | pat.insert_with_value("cherry", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1126 | let _ = pat.insert_with_value("cherry", 3);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1140:9
|
1140 | pat.insert_with_value("café", 10);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1140 | let _ = pat.insert_with_value("café", 10);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1141:9
|
1141 | pat.insert_with_value("日本語", 20);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1141 | let _ = pat.insert_with_value("日本語", 20);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1142:9
|
1142 | pat.insert_with_value("🎉", 30);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1142 | let _ = pat.insert_with_value("🎉", 30);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1155:9
|
1155 | pat.insert_with_value("test", 42);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1155 | let _ = pat.insert_with_value("test", 42);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1176:13
|
1176 | pat.insert_with_value(term, value.to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1176 | let _ = pat.insert_with_value(term, value.to_string());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1191:9
|
1191 | pat.insert_with_value("cat", 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1191 | let _ = pat.insert_with_value("cat", 1);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1192:9
|
1192 | pat.insert_with_value("car", 2);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1192 | let _ = pat.insert_with_value("car", 2);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1193:9
|
1193 | pat.insert_with_value("cart", 3);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1193 | let _ = pat.insert_with_value("cart", 3);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/double_array_trie_char.rs:1194:9
|
1194 | pat.insert_with_value("card", 4);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1194 | let _ = pat.insert_with_value("card", 4);
| +++++++
warning: comparison is useless due to type limits
--> src/persistent_artrie/arena_manager.rs:1905:17
|
1905 | assert!(stats.dirty_arenas >= 0);
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_comparisons)]` on by default
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:2949:9
|
2949 | trie.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
2949 | let _ = trie.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:2963:9
|
2963 | trie.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
2963 | let _ = trie.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/dict_impl_char.rs:3068:9
|
3068 | trie.write().insert("persistent");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
3068 | let _ = trie.write().insert("persistent");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mmap_ctor.rs:1441:13
|
1441 | trie.insert_with_value("hello", "world".to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1441 | let _ = trie.insert_with_value("hello", "world".to_string());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mmap_ctor.rs:1569:17
|
1569 | trie.insert_with_value(k, v.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1569 | let _ = trie.insert_with_value(k, v.clone());
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1446:17
|
1446 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1446 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1727:17
|
1727 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1727 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1916:17
|
1916 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1916 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/persist.rs:1990:17
|
1990 | owned.insert_with_value(t, *v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1990 | let _ = owned.insert_with_value(t, *v);
| +++++++
warning: comparison is useless due to type limits
--> src/persistent_artrie_core/prefetch.rs:532:17
|
532 | assert!(stats.requests >= 0);
| ^^^^^^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:318:9
|
318 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
318 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:319:9
|
319 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
319 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:320:9
|
320 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
320 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:334:9
|
334 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
334 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:335:9
|
335 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
335 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:336:9
|
336 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
336 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:387:13
|
387 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
387 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:388:13
|
388 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
388 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:389:13
|
389 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
389 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:414:13
|
414 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
414 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:415:13
|
415 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
415 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:423:13
|
423 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
423 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:424:13
|
424 | vocab.insert("durian");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
424 | let _ = vocab.insert("durian");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:445:9
|
445 | vocab.insert("present");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
445 | let _ = vocab.insert("present");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:467:9
|
467 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
467 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:498:13
|
498 | vocab.insert("term1");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
498 | let _ = vocab.insert("term1");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:499:13
|
499 | vocab.insert("term2");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
499 | let _ = vocab.insert("term2");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:500:13
|
500 | vocab.insert("term3");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
500 | let _ = vocab.insert("term3");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:524:13
|
524 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
524 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:525:13
|
525 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
525 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:532:13
|
532 | vocab.insert("cherry");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
532 | let _ = vocab.insert("cherry");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:533:13
|
533 | vocab.insert("durian");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
533 | let _ = vocab.insert("durian");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:743:13
|
743 | vocab.insert("with_value_1");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
743 | let _ = vocab.insert("with_value_1");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:744:13
|
744 | vocab.insert("with_value_2");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
744 | let _ = vocab.insert("with_value_2");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:745:13
|
745 | vocab.insert("with_value_3");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
745 | let _ = vocab.insert("with_value_3");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:797:9
|
797 | vocab.write().insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
797 | let _ = vocab.write().insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:809:9
|
809 | vocab.write().insert("world");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
809 | let _ = vocab.write().insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:825:9
|
825 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
825 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:833:9
|
833 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
833 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:857:17
|
857 | vocab.insert(&format!("word{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
857 | let _ = vocab.insert(&format!("word{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:886:9
|
886 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
886 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:889:9
|
889 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
889 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:921:13
|
921 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
921 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:922:13
|
922 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
922 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:958:13
|
958 | vocab.write().insert(&format!("initial_{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
958 | let _ = vocab.write().insert(&format!("initial_{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:979:17
|
979 | vocab_clone2.write().insert(&format!("concurrent_{}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
979 | let _ = vocab_clone2.write().insert(&format!("concurrent_{}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1012:9
|
1012 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1012 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1160:13
|
1160 | vocab.insert("simple");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1160 | let _ = vocab.insert("simple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1161:13
|
1161 | vocab.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1161 | let _ = vocab.insert("日本語");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1162:13
|
1162 | vocab.insert("");
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1162 | let _ = vocab.insert("");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1163:13
|
1163 | vocab.insert("with spaces and punctuation!");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1163 | let _ = vocab.insert("with spaces and punctuation!");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1164:13
|
1164 | vocab.insert(&"x".repeat(100));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1164 | let _ = vocab.insert(&"x".repeat(100));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1202:17
|
1202 | vocab.insert(&format!("term_{:05}", i));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1202 | let _ = vocab.insert(&format!("term_{:05}", i));
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1231:9
|
1231 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1231 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1244:9
|
1244 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1244 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1262:9
|
1262 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1262 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1283:9
|
1283 | vocab.insert("first");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1283 | let _ = vocab.insert("first");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1286:9
|
1286 | vocab.insert("second");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1286 | let _ = vocab.insert("second");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1290:9
|
1290 | vocab.insert("first");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1290 | let _ = vocab.insert("first");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1302:13
|
1302 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1302 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1354:9
|
1354 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1354 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1355:9
|
1355 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1355 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1426:9
|
1426 | vocab.insert("hello");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1426 | let _ = vocab.insert("hello");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1427:9
|
1427 | vocab.insert("world");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1427 | let _ = vocab.insert("world");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1448:13
|
1448 | vocab.insert("apple");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1448 | let _ = vocab.insert("apple");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1449:13
|
1449 | vocab.insert("banana");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1449 | let _ = vocab.insert("banana");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1474:9
|
1474 | vocab.insert_batch(&["apple", "banana"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1474 | let _ = vocab.insert_batch(&["apple", "banana"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1477:9
|
1477 | vocab.insert_batch(&["cherry", "date"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1477 | let _ = vocab.insert_batch(&["cherry", "date"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/dict_impl.rs:1480:9
|
1480 | vocab.insert_batch(&["elderberry"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1480 | let _ = vocab.insert_batch(&["elderberry"]);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1162:9
|
1162 | vocab.insert("日本語");
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1162 | let _ = vocab.insert("日本語");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1163:9
|
1163 | vocab.insert("中文");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1163 | let _ = vocab.insert("中文");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1164:9
|
1164 | vocab.insert("한글");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1164 | let _ = vocab.insert("한글");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1165:9
|
1165 | vocab.insert("العربية");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1165 | let _ = vocab.insert("العربية");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1166:9
|
1166 | vocab.insert("emoji😀");
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1166 | let _ = vocab.insert("emoji😀");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1222:9
|
1222 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1222 | let _ = vocab.insert("test");
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_vocab_artrie/mod.rs:1264:9
|
1264 | vocab.insert("test");
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
1264 | let _ = vocab.insert("test");
| +++++++
warning: `libdictenstein` (lib test) generated 177 warnings (run `cargo fix --lib -p libdictenstein --tests` to apply 14 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.78s
Running unittests src/lib.rs (target/debug/deps/libdictenstein-7f01404edc32f7fd)
running 5 tests
test persistent_vocab_artrie::tests::vocab_leaf_eviction_keeps_sibling_queries_on_live_nodes ... ok
test persistent_vocab_artrie::tests::vocab_parent_eviction_is_rejected_while_child_is_in_memory ... ok
test persistent_vocab_artrie::tests::vocab_leaf_eviction_invalidates_node_map_entry_before_drop ... ok
test persistent_vocab_artrie::tests::vocab_heap_node_map_parent_chain_tracks_live_nodes ... ok
test persistent_vocab_artrie::tests::vocab_reopen_rebuilds_node_map_parent_chain_and_reverse_index ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 1760 filtered out; finished in 0.09s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s
Running tests/persistent_artrie_formal_correspondence.rs (target/debug/deps/persistent_artrie_formal_correspondence-4db540ce64ef92ec)
running 1 test
test group_commit_writes_returned_lsns_in_wal_order ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 41 filtered out; finished in 0.01s
Compiling libdictenstein v0.1.0 (/home/dylon/Workspace/f1r3fly.io/libdictenstein)
warning: method `serialize_node_to_disk` is never used
--> src/persistent_artrie/serialize_impl.rs:57:19
|
36 | impl<V: DictionaryValue, S: BlockStorage> PersistentARTrie<V, S> {
| ---------------------------------------------------------------- method in this implementation
...
57 | pub(super) fn serialize_node_to_disk(&self, node: &Node) -> Result<SwizzledPtr> {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variant `Empty` is never constructed
--> src/persistent_artrie/node_impl.rs:88:5
|
53 | enum NodeInner<V: DictionaryValue> {
| --------- variant in this enum
...
88 | Empty,
| ^^^^^
|
= note: `NodeInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: associated function `empty` is never used
--> src/persistent_artrie/node_impl.rs:173:8
|
91 | impl<V: DictionaryValue> PersistentARTrieNode<V> {
| ------------------------------------------------ associated function in this implementation
...
173 | fn empty() -> Self {
| ^^^^^
warning: field `commit_seq_by_data_lsn` is never read
--> src/persistent_artrie_char/mod.rs:502:16
|
366 | pub struct PersistentARTrieChar<V: DictionaryValue = (), S: crate::persistent_artrie::block_storage::BlockStorage = crate::persiste...
| -------------------- field in this struct
...
502 | pub(crate) commit_seq_by_data_lsn: std::sync::Mutex<std::collections::BTreeMap<u64, u64>>,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: field `is_root` is never read
--> src/persistent_artrie_char/mod.rs:823:5
|
819 | pub struct PersistentARTrieCharNode<V: DictionaryValue = ()> {
| ------------------------ field in this struct
...
823 | is_root: bool,
| ^^^^^^^
|
= note: `PersistentARTrieCharNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
warning: method `pending_len` is never used
--> src/persistent_artrie_char/reclaim.rs:59:19
|
44 | impl<V: DictionaryValue> CharRetireList<V> {
| ------------------------------------------ method in this implementation
...
59 | pub(crate) fn pending_len(&self) -> usize {
| ^^^^^^^^^^^
warning: method `checkpoint_path` is never used
--> src/persistent_artrie_core/epoch.rs:776:8
|
447 | impl CheckpointManager {
| ---------------------- method in this implementation
...
776 | fn checkpoint_path(&self, epoch: EpochId) -> PathBuf {
| ^^^^^^^^^^^^^^^
warning: struct `PendingTransaction` is never constructed
--> src/persistent_artrie_core/recovery.rs:439:8
|
439 | struct PendingTransaction {
| ^^^^^^^^^^^^^^^^^^
warning: field `archive_config` is never read
--> src/persistent_artrie_core/wal/async_writer.rs:383:5
|
371 | pub struct AsyncWalWriter {
| -------------- field in this struct
...
383 | archive_config: WalConfig,
| ^^^^^^^^^^^^^^
warning: associated function `placeholder` is never used
--> src/persistent_vocab_artrie/mod.rs:267:8
|
256 | impl VocabTrieNodeRef {
| --------------------- associated function in this implementation
...
267 | fn placeholder() -> Self {
| ^^^^^^^^^^^
warning: constant `DEFAULT_VOCAB_BUFFER_POOL_SIZE` is never used
--> src/persistent_vocab_artrie/dict_impl.rs:73:7
|
73 | const DEFAULT_VOCAB_BUFFER_POOL_SIZE: usize = 64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: field `shutdown` is never read
--> src/persistent_vocab_artrie/concurrent.rs:132:5
|
100 | pub struct ConcurrentVocabARTrie {
| --------------------- field in this struct
...
132 | shutdown: AtomicBool,
| ^^^^^^^^
warning: type alias `ScdawgNode` is never used
--> src/scdawg.rs:74:6
|
74 | type ScdawgNode<V = ()> = crate::scdawg_core::ScdawgNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `ScdawgCharNode` is never used
--> src/scdawg_char.rs:66:6
|
66 | type ScdawgCharNode<V = ()> = crate::scdawg_core::ScdawgNode<char, V>;
| ^^^^^^^^^^^^^^
warning: type alias `SuffixNode` is never used
--> src/suffix_automaton.rs:150:17
|
150 | pub(crate) type SuffixNode<V = ()> = crate::suffix_automaton_core::SuffixNode<u8, V>;
| ^^^^^^^^^^
warning: type alias `SuffixNodeChar` is never used
--> src/suffix_automaton_char.rs:149:17
|
149 | pub(crate) type SuffixNodeChar<V = ()> = crate::suffix_automaton_core::SuffixNode<char, V>;
| ^^^^^^^^^^^^^^
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:698:13
|
698 | trie.insert(&term);
| ^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
|
698 | let _ = trie.insert(&term);
| +++++++
warning: unused `std::result::Result` that must be used
--> src/persistent_artrie_char/mod.rs:709:13
|
709 | trie.insert(term);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
help: use `let _ = ...` to ignore the resulting value
|
709 | let _ = trie.insert(term);
| +++++++
warning: `libdictenstein` (lib) generated 18 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s
Running tests/persistent_public_lifecycle_correspondence.rs (target/debug/deps/persistent_public_lifecycle_correspondence-f789be882df401ce)
running 1 test
test group_commit_concurrent_writes_return_lsn_written_for_same_record ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.11s
Skipping Miri unsafe-boundary checks; set RUN_MIRI=1 to enable them
Skipping io_uring storage correspondence checks; set RUN_IO_URING=1 to enable them
== Rocq proofs ==
make: Entering directory '/home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/rocq'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/rocq'
== TLA+ syntax checks ==
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/DocumentTransactions.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module DocumentTransactions
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/AsyncWalGroupCommit.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module AsyncWalGroupCommit
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/VersionLifecycle.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module VersionLifecycle
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/DurabilityFrontier.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module DurabilityFrontier
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/PointerOwnership.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module PointerOwnership
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/VocabPersistenceOwnership.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module VocabPersistenceOwnership
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/MmapBlockStorage.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module MmapBlockStorage
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/StorageSyscallOutcome.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/FiniteSets.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module StorageSyscallOutcome
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/BufferPageLease.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module BufferPageLease
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/ReverseIndexMmap.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/FiniteSets.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module ReverseIndexMmap
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/IoUringFixedBufferOwnership.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module IoUringFixedBufferOwnership
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/IoUringSqeCqeLifecycle.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module IoUringSqeCqeLifecycle
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeARTrieLinearizability.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeARTrieLinearizability
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeIndexedOverlay.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeIndexedOverlay
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeCounterMergeAtomicity.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/TLC.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeCounterMergeAtomicity
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/ConcurrentCheckpointPublication.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module ConcurrentCheckpointPublication
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeDurableCheckpoint.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeDurableCheckpoint
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeDurableCheckpointEviction.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeDurableCheckpointEviction
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/EvictionRegistryPublication.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module EvictionRegistryPublication
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/SharedPersistentConcurrency.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module SharedPersistentConcurrency
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/PublicDurabilityPolicy.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module PublicDurabilityPolicy
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/PersistentEndToEndTrace.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module PersistentEndToEndTrace
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/PublicReadSnapshotTraversal.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module PublicReadSnapshotTraversal
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/CharNodeV2Layout.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/FiniteSets.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module CharNodeV2Layout
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/ConcurrentVocabLinearizability.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/TLC.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module ConcurrentVocabLinearizability
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/EpochCheckpointRecovery.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module EpochCheckpointRecovery
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/PersistentCharBulkMutationRecovery.tla
Parsing file /tmp/Integers.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Semantic processing of module Naturals
Semantic processing of module Integers
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module PersistentCharBulkMutationRecovery
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/PersistentTransactionIncrementRecovery.tla
Parsing file /tmp/Integers.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/FiniteSets.tla
Semantic processing of module Naturals
Semantic processing of module Integers
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module PersistentTransactionIncrementRecovery
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/ByzantineStorage.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module ByzantineStorage
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/HotStuffConsensus.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/TLC.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module HotStuffConsensus
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/PublicDictionaryNodeTraversal.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module PublicDictionaryNodeTraversal
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/EvictionWalkEBR.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module EvictionWalkEBR
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/OverlayEvictionCas.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module OverlayEvictionCas
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeOverlayRemoveCas.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeOverlayRemoveCas
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeOverlayDurableReplay.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/Sequences.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeOverlayDurableReplay
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/LockFreeOverlayValueCas.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module LockFreeOverlayValueCas
****** SANY2 Version 2.1 created 24 February 2014
Parsing file /home/dylon/Workspace/f1r3fly.io/libdictenstein/formal-verification/tla+/ConcurrentCheckpointSerialization.tla
Parsing file /tmp/Naturals.tla
Parsing file /tmp/FiniteSets.tla
Parsing file /tmp/TLC.tla
Parsing file /tmp/Sequences.tla
Semantic processing of module Naturals
Semantic processing of module Sequences
Semantic processing of module FiniteSets
Semantic processing of module TLC
Semantic processing of module ConcurrentCheckpointSerialization
Skipping TLC model checking; set RUN_TLC=1 to enable bounded TLC runs