[INFO] cloning repository https://github.com/AnchitSingh/micro-search [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnchitSingh/micro-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchitSingh%2Fmicro-search", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchitSingh%2Fmicro-search'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4411768cefd0a7dcaeef6dd029729410a90aeb4a [INFO] building AnchitSingh/micro-search against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchitSingh%2Fmicro-search" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AnchitSingh/micro-search [INFO] finished tweaking git repo https://github.com/AnchitSingh/micro-search [INFO] tweaked toml for git repo https://github.com/AnchitSingh/micro-search written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AnchitSingh/micro-search on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AnchitSingh/micro-search already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dda447ccea6e1451ba348f15c02fa20a080cb578a716557ded25833ba00d7ef7 [INFO] running `Command { std: "docker" "start" "-a" "dda447ccea6e1451ba348f15c02fa20a080cb578a716557ded25833ba00d7ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dda447ccea6e1451ba348f15c02fa20a080cb578a716557ded25833ba00d7ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda447ccea6e1451ba348f15c02fa20a080cb578a716557ded25833ba00d7ef7", kill_on_drop: false }` [INFO] [stdout] dda447ccea6e1451ba348f15c02fa20a080cb578a716557ded25833ba00d7ef7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6a7dc752061575afa68b5443bb7dae7a255ca6bb370f1502a62f8d919f65f1c8 [INFO] running `Command { std: "docker" "start" "-a" "6a7dc752061575afa68b5443bb7dae7a255ca6bb370f1502a62f8d919f65f1c8", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Compiling napi v2.16.17 [INFO] [stderr] Compiling buggu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/logdb.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | fn parse_query(q: &str, config: &LogConfig) -> QueryNode { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_info` [INFO] [stdout] --> src/utils/buggu_hash_set.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 846 | let entry_info: Option = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LogConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub max_postings: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub stale_secs: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub log_levels: BugguHashSet, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub services: BugguHashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub enable_ngrams: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub max_ngram_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub enable_patterns: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/config.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl LogConfig { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn from_file(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn log_level_priority(&self, level: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn service_id(&self, service: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn register_service(&mut self, service: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn should_index_level(&self, level: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn log_level_hashes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn service_hashes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn add_log_level(&mut self, level: &str, priority: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn has_log_level_priority(&self, priority: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn stats(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tokens`, `level`, and `service` are never read [INFO] [stdout] --> src/logdb.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MetaEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 28 | /// The sequence of tokens generated from the document's content. [INFO] [stdout] 29 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | /// The log level, if specified (e.g., "INFO", "ERROR"). [INFO] [stdout] 31 | level: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | /// The service name, if specified. [INFO] [stdout] 33 | service: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/logdb.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | NumericRange(&'static str, u64, u64), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QueryNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 51 - NumericRange(&'static str, u64, u64), [INFO] [stdout] 51 + NumericRange((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Or` and `Not` are never constructed [INFO] [stdout] --> src/logdb.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum QueryNode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Or(Vec), [INFO] [stdout] | ^^ [INFO] [stdout] 58 | /// A logical NOT operation, excluding documents that match the child node. [INFO] [stdout] 59 | Not(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_postings` and `stale_secs` are never read [INFO] [stdout] --> src/logdb.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct LogDB { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | max_postings: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 82 | /// The time in seconds after which a document is considered stale. [INFO] [stdout] 83 | stale_secs: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogDB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `empty`, and `retain_docs` are never used [INFO] [stdout] --> src/logdb.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl Posting { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn remove(&mut self, id: DocId) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn retain_docs(&mut self, docs: &BugguHashSet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/logdb.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl LogDB { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn with_config(config: LogConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn from_config_file(path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn query_with_meta(&self, q: &str) -> Vec<(DocId, String, Option, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn cleanup_stale(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn rebuild_indexes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn upsert_token(&mut self, s: impl AsRef) -> Tok { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn export_tokens(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn import_tokens(&mut self, toks: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BugguIterMut` is never constructed [INFO] [stdout] --> src/utils/buggu_hash_set.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct BugguIterMut<'a, K, V> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/buggu_hash_set.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 242 | / impl<'a, K, V> BugguIterMut<'a, K, V> [INFO] [stdout] 243 | | where [INFO] [stdout] 244 | | K: BugguHashable + Eq + PartialEq + Clone + Default, [INFO] [stdout] 245 | | V: Clone + Default, [INFO] [stdout] | |_______________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | fn new(storage: &'a mut [BugguBucket], remaining: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/utils/buggu_hash_set.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct BugguOccupiedEntry<'a, K, V> [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 339 | key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `or_insert`, `key`, and `and_modify` are never used [INFO] [stdout] --> src/utils/buggu_hash_set.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 356 | / impl<'a, K, V> BugguEntry<'a, K, V> [INFO] [stdout] 357 | | where [INFO] [stdout] 358 | | K: BugguHashable + Eq + PartialEq + Clone + Default, [INFO] [stdout] 359 | | V: Clone + Default, [INFO] [stdout] | |_______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn or_insert(self, default: V) -> &'a mut V { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn key(&self) -> &K { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn and_modify(self, f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key`, `get`, `get_mut`, and `insert` are never used [INFO] [stdout] --> src/utils/buggu_hash_set.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 407 | / impl<'a, K, V> BugguOccupiedEntry<'a, K, V> [INFO] [stdout] 408 | | where [INFO] [stdout] 409 | | K: BugguHashable + Eq + PartialEq + Clone + Default, [INFO] [stdout] 410 | | V: Clone + Default, [INFO] [stdout] | |_______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 414 | pub fn key(&self) -> &K { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn get(&self) -> &V { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn get_mut(&mut self) -> &mut V { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn insert(&mut self, value: V) -> V { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/utils/buggu_hash_set.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 470 | / impl<'a, K, V> BugguVacantEntry<'a, K, V> [INFO] [stdout] 471 | | where [INFO] [stdout] 472 | | K: BugguHashable + Eq + PartialEq + Clone + Default, [INFO] [stdout] 473 | | V: Clone + Default, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn key(&self) -> &K { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/utils/buggu_hash_set.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 551 | / impl BugguHashSet [INFO] [stdout] 552 | | where [INFO] [stdout] 553 | | K: BugguHashable + Eq + PartialEq + Clone + Default, [INFO] [stdout] 554 | | V: Clone + Default, [INFO] [stdout] | |_______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn retain(&mut self, mut f: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | pub fn fast_intersect_slice(&self, keys: &[K]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub fn create_index_for(&self, field_extractor: F) -> BugguHashSet> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 713 | pub fn intersect_to_set(&self, other: &BugguHashSet) -> BugguHashSet [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 918 | pub fn remove(&mut self, key: &K) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 983 | pub fn update(&mut self, key: &K, value: V) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1012 | pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1081 | pub fn insert_batch(&mut self, items: Vec<(K, V)>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1088 | pub fn bucket_stats(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buggu_rand_range` is never used [INFO] [stdout] --> src/utils/buggu_random_generator.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn buggu_rand_range(state: &mut u64, min: u64, max: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:843:18 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn entry(&mut self, key: K) -> BugguEntry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 843 | pub fn entry(&mut self, key: K) -> BugguEntry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:1066:22 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:1076:21 [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__napi_register__MicroSearch_impl_6" "--export" "__napi_register__MicroSearch_struct_0" "--export" "napi_register_module_v1" "--export" "napi_register_wasm_v1" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnapi-a6ff38ea326d8805,libnapi_sys-81f6e7f4bb19c886,libbitflags-796eb83ef71af42c,libonce_cell-bcd15b06b8f373b9,libsmallvec-e66260ff59480183}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_wrap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_delete_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_unwrap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_unwrap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_set_element [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_delete_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/buggu.buggu.7a8a6356f85c9d48-cgu.7.rcgu.o: undefined symbol: napi_typeof [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-a6ff38ea326d8805.rlib(napi-a6ff38ea326d8805.napi.89c468e170186205-cgu.05.rcgu.o): undefined symbol: napi_create_array_with_length [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-a6ff38ea326d8805.rlib(napi-a6ff38ea326d8805.napi.89c468e170186205-cgu.06.rcgu.o): undefined symbol: napi_create_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-a6ff38ea326d8805.rlib(napi-a6ff38ea326d8805.napi.89c468e170186205-cgu.06.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-a6ff38ea326d8805.rlib(napi-a6ff38ea326d8805.napi.89c468e170186205-cgu.06.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-a6ff38ea326d8805.rlib(napi-a6ff38ea326d8805.napi.89c468e170186205-cgu.06.rcgu.o): undefined symbol: napi_define_class [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-a6ff38ea326d8805.rlib(napi-a6ff38ea326d8805.napi.89c468e170186205-cgu.06.rcgu.o): undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-a6ff38ea326d8805.rlib(napi-a6ff38ea326d8805.napi.89c468e170186205-cgu.06.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `buggu` (lib) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6a7dc752061575afa68b5443bb7dae7a255ca6bb370f1502a62f8d919f65f1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7dc752061575afa68b5443bb7dae7a255ca6bb370f1502a62f8d919f65f1c8", kill_on_drop: false }` [INFO] [stdout] 6a7dc752061575afa68b5443bb7dae7a255ca6bb370f1502a62f8d919f65f1c8