[INFO] cloning repository https://github.com/amoghyermalkar123/yrs-reverse-engineer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amoghyermalkar123/yrs-reverse-engineer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoghyermalkar123%2Fyrs-reverse-engineer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoghyermalkar123%2Fyrs-reverse-engineer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 882eb9a30b3fd7f3c82b5bf77eca7944a7461557 [INFO] checking amoghyermalkar123/yrs-reverse-engineer against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoghyermalkar123%2Fyrs-reverse-engineer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/amoghyermalkar123/yrs-reverse-engineer [INFO] finished tweaking git repo https://github.com/amoghyermalkar123/yrs-reverse-engineer [INFO] tweaked toml for git repo https://github.com/amoghyermalkar123/yrs-reverse-engineer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amoghyermalkar123/yrs-reverse-engineer on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amoghyermalkar123/yrs-reverse-engineer 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/ywasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64_light v0.1.5 [INFO] [stderr] Downloaded proptest-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c0fe3926248821bda52e58ba55fa513535386fe9f406a841a4a66326e6a0f69 [INFO] running `Command { std: "docker" "start" "-a" "4c0fe3926248821bda52e58ba55fa513535386fe9f406a841a4a66326e6a0f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c0fe3926248821bda52e58ba55fa513535386fe9f406a841a4a66326e6a0f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0fe3926248821bda52e58ba55fa513535386fe9f406a841a4a66326e6a0f69", kill_on_drop: false }` [INFO] [stdout] 4c0fe3926248821bda52e58ba55fa513535386fe9f406a841a4a66326e6a0f69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 380829d78cab87920e9f58128ccb3d1c18b41645bde67841f1d94368d3d78bb7 [INFO] running `Command { std: "docker" "start" "-a" "380829d78cab87920e9f58128ccb3d1c18b41645bde67841f1d94368d3d78bb7", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/ywasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking smallstr v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking assert_matches2 v0.1.2 [INFO] [stderr] Checking base64_light v0.1.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking yrs v0.21.1 (/opt/rustwide/workdir/yrs) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> yrs/src/doc.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::transaction::{Origin, Transaction, TransactionMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayRef` [INFO] [stdout] --> yrs/src/types/mod.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::types::array::{ArrayEvent, ArrayRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WeakRef` [INFO] [stdout] --> yrs/src/types/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::types::weak::{LinkSource, WeakEvent, WeakRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XmlElementRef` and `XmlTextRef` [INFO] [stdout] --> yrs/src/types/mod.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> yrs/src/block.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut left = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_start` is assigned to, but never used [INFO] [stdout] --> yrs/src/id_set.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | let mut prev_start = r.start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_start` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_start` is never read [INFO] [stdout] --> yrs/src/id_set.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | prev_start = r.start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> yrs/src/doc.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::transaction::{Origin, Transaction, TransactionMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayRef` [INFO] [stdout] --> yrs/src/types/mod.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::types::array::{ArrayEvent, ArrayRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WeakRef` [INFO] [stdout] --> yrs/src/types/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::types::weak::{LinkSource, WeakEvent, WeakRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XmlElementRef` and `XmlTextRef` [INFO] [stdout] --> yrs/src/types/mod.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clock_end` is never used [INFO] [stdout] --> yrs/src/block.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl BlockCell { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clock_end(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity` and `get_block_mut` are never used [INFO] [stdout] --> yrs/src/block_store.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ClientBlockList { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_capacity(capacity: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `get_block_mut`, and `get_client_blocks_with_capacity_mut` are never used [INFO] [stdout] --> yrs/src/block_store.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl BlockStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub(crate) fn get_client_blocks_with_capacity_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> yrs/src/block_store.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/block_store.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 402 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 403 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `link` is never used [INFO] [stdout] --> yrs/src/transaction.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 388 | impl<'doc> TransactionMut<'doc> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1005 | fn link(&mut self, mut source: ItemPtr, link: BranchPtr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> yrs/src/types/mod.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 591 | / impl<'a, T: ReadTxn> Entries<'a, T, T> [INFO] [stdout] 592 | | where [INFO] [stdout] 593 | | T: Borrow + ReadTxn, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 594 | { [INFO] [stdout] 595 | pub fn from(source: &'a HashMap, ItemPtr>, txn: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> yrs/src/types/mod.rs:625:19 [INFO] [stdout] | [INFO] [stdout] 625 | pub(crate) struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/types/mod.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 630 | impl<'a, T: ReadTxn> Iter<'a, T> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 631 | fn new(ptr: Option<&'a ItemPtr>, txn: &'a T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blocks` is never used [INFO] [stdout] --> yrs/src/update.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl UpdateBlocks { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> yrs/src/update.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 97 | impl Update { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_block` is never used [INFO] [stdout] --> yrs/src/update.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 847 | impl BlockCarrier { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 923 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> yrs/src/update.rs:1038:19 [INFO] [stdout] | [INFO] [stdout] 1038 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/update.rs:1044:8 [INFO] [stdout] | [INFO] [stdout] 1043 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 1044 | fn new(update: &'a UpdateBlocks) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `forward`, `backward`, and `values` are never used [INFO] [stdout] --> yrs/src/block_iter.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BlockIter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn forward(&mut self, txn: &T, len: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn backward(&mut self, txn: &mut T, mut len: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn values<'a, 'txn, T: ReadTxn>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> yrs/src/block_iter.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | pub struct Values<'a, 'txn> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/block_iter.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 529 | impl<'a, 'txn> Values<'a, 'txn> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 530 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_at` is never used [INFO] [stdout] --> yrs/src/branch.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 245 | impl Branch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/encoding/serde/de.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 217 | impl<'a> AnyDeserializer<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 218 | pub(crate) fn new(value: &'a Any) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slices` is never used [INFO] [stdout] --> yrs/src/iter.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait BlockIterator: TxnIterator + Sized { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn slices(self) -> BlockSlices { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockSlices` is never constructed [INFO] [stdout] --> yrs/src/iter.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub(crate) struct BlockSlices(I) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_trim`, `contains_id`, `right`, and `left` are never used [INFO] [stdout] --> yrs/src/slice.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl ItemSlice { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn try_trim(&mut self, from: &ID, to: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn contains_id(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn right(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn left(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/event.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/event.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/event.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/id_set.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 590 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 340 | pub fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 346 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:441:28 [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:446:33 [INFO] [stdout] | [INFO] [stdout] 446 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 446 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | pub(crate) fn read_async(&self) -> Read { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 455 | pub(crate) fn read_async(&self) -> Read<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:459:29 [INFO] [stdout] | [INFO] [stdout] 459 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 459 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 464 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:473:31 [INFO] [stdout] | [INFO] [stdout] 473 | pub(crate) fn write_async(&self) -> Write { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 473 | pub(crate) fn write_async(&self) -> Write<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transaction.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | fn root_refs(&self) -> RootRefs { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 108 | fn root_refs(&self) -> RootRefs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transaction.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transaction.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/types/mod.rs:1041:17 [INFO] [stdout] | [INFO] [stdout] 1041 | pub fn iter(&self) -> EventsIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1041 | pub fn iter(&self) -> EventsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> yrs/src/block_iter.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | if len < 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> yrs/src/observer.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | pub type Subscription = Arc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dyn_drop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/state_vector.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/sync/awareness.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result; [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | fn transact(&self) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | fn transact(&self) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | fn transact_mut(&self) -> TransactionMut { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 84 | fn transact_mut(&self) -> TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | fn try_transact(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 90 | fn try_transact(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn try_transact_mut(&self) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | fn try_transact_mut(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 104 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | fn transact(&self) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | fn transact(&self) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | fn transact_mut(&self) -> TransactionMut { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 131 | fn transact_mut(&self) -> TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking yffi v0.21.1 (/opt/rustwide/workdir/yffi) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> yrs/benches/serialization.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | black_box(Any::from_json(&roundtrip)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = black_box(Any::from_json(&roundtrip)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> yrs/benches/serialization.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | black_box(Any::from_json(&any_json)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 169 | let _ = black_box(Any::from_json(&any_json)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Delete` is never constructed [INFO] [stdout] --> yrs/benches/benches.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum ArrayOp { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 21 | Insert(u32, Vec), [INFO] [stdout] 22 | Delete(u32, u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b1_6` is never used [INFO] [stdout] --> yrs/benches/benches.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn b1_6(rng: &mut R, size: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> yrs/benches/benches.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | txn1.apply_update(Update::decode_v1(u2.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = txn1.apply_update(Update::decode_v1(u2.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> yrs/benches/benches.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | txn2.apply_update(Update::decode_v1(u1.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 265 | let _ = txn2.apply_update(Update::decode_v1(u1.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> yrs/benches/benches.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 381 | let _ = txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> yrs/benches/benches.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 428 | let _ = txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> yrs/benches/benches.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | txn.apply_update(Update::decode_v1(buf.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 469 | let _ = txn.apply_update(Update::decode_v1(buf.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yffi/src/lib.rs:4083:12 [INFO] [stdout] | [INFO] [stdout] 4083 | fn txn(&self) -> &yrs::TransactionMut { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 4083 | fn txn(&self) -> &yrs::TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yffi/src/lib.rs:4114:12 [INFO] [stdout] | [INFO] [stdout] 4114 | fn txn(&self) -> &yrs::TransactionMut { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 4114 | fn txn(&self) -> &yrs::TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yffi/src/lib.rs:4083:12 [INFO] [stdout] | [INFO] [stdout] 4083 | fn txn(&self) -> &yrs::TransactionMut { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 4083 | fn txn(&self) -> &yrs::TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yffi/src/lib.rs:4114:12 [INFO] [stdout] | [INFO] [stdout] 4114 | fn txn(&self) -> &yrs::TransactionMut { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 4114 | fn txn(&self) -> &yrs::TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking ywasm v0.21.1 (/opt/rustwide/workdir/ywasm) [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> yrs/src/block.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut left = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_start` is assigned to, but never used [INFO] [stdout] --> yrs/src/id_set.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | let mut prev_start = r.start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_start` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_start` is never read [INFO] [stdout] --> yrs/src/id_set.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | prev_start = r.start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/collection.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn transact(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 130 | pub fn transact(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/collection.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn transact_mut(&self) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn transact_mut(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_implicit(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_implicit(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_implicit_mut(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_implicit_mut(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn try_ref_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | ^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn try_ref_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_mut_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | ^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_mut_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/collection.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn transact(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 130 | pub fn transact(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/collection.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn transact_mut(&self) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn transact_mut(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_implicit(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_implicit(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_implicit_mut(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_implicit_mut(txn: &ImplicitTransaction) -> crate::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn try_ref_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | ^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn try_ref_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ywasm/src/transaction.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_mut_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | ^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_mut_from_js_value(value: &JsValue) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clock_end` is never used [INFO] [stdout] --> yrs/src/block.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl BlockCell { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clock_end(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity` and `get_block_mut` are never used [INFO] [stdout] --> yrs/src/block_store.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ClientBlockList { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_capacity(capacity: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `get_block_mut`, and `get_client_blocks_with_capacity_mut` are never used [INFO] [stdout] --> yrs/src/block_store.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl BlockStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub(crate) fn get_client_blocks_with_capacity_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> yrs/src/block_store.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/block_store.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 402 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 403 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `link` is never used [INFO] [stdout] --> yrs/src/transaction.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 388 | impl<'doc> TransactionMut<'doc> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1005 | fn link(&mut self, mut source: ItemPtr, link: BranchPtr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> yrs/src/types/mod.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 591 | / impl<'a, T: ReadTxn> Entries<'a, T, T> [INFO] [stdout] 592 | | where [INFO] [stdout] 593 | | T: Borrow + ReadTxn, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 594 | { [INFO] [stdout] 595 | pub fn from(source: &'a HashMap, ItemPtr>, txn: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> yrs/src/types/mod.rs:625:19 [INFO] [stdout] | [INFO] [stdout] 625 | pub(crate) struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/types/mod.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 630 | impl<'a, T: ReadTxn> Iter<'a, T> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 631 | fn new(ptr: Option<&'a ItemPtr>, txn: &'a T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> yrs/src/update.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 97 | impl Update { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_block` is never used [INFO] [stdout] --> yrs/src/update.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 847 | impl BlockCarrier { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 923 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `forward`, `backward`, and `values` are never used [INFO] [stdout] --> yrs/src/block_iter.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BlockIter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn forward(&mut self, txn: &T, len: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn backward(&mut self, txn: &mut T, mut len: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn values<'a, 'txn, T: ReadTxn>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> yrs/src/block_iter.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | pub struct Values<'a, 'txn> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/block_iter.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 529 | impl<'a, 'txn> Values<'a, 'txn> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 530 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_at` is never used [INFO] [stdout] --> yrs/src/branch.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 245 | impl Branch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yrs/src/encoding/serde/de.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 217 | impl<'a> AnyDeserializer<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 218 | pub(crate) fn new(value: &'a Any) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_trim`, `contains_id`, `right`, and `left` are never used [INFO] [stdout] --> yrs/src/slice.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl ItemSlice { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn try_trim(&mut self, from: &ID, to: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn contains_id(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn right(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn left(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/event.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/event.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/event.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/id_set.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 590 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 340 | pub fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 346 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:441:28 [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:446:33 [INFO] [stdout] | [INFO] [stdout] 446 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 446 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | pub(crate) fn read_async(&self) -> Read { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 455 | pub(crate) fn read_async(&self) -> Read<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:459:29 [INFO] [stdout] | [INFO] [stdout] 459 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 459 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:464:34 [INFO] [stdout] | [INFO] [stdout] 464 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 464 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/store.rs:473:31 [INFO] [stdout] | [INFO] [stdout] 473 | pub(crate) fn write_async(&self) -> Write { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 473 | pub(crate) fn write_async(&self) -> Write<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transaction.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | fn root_refs(&self) -> RootRefs { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 108 | fn root_refs(&self) -> RootRefs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transaction.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transaction.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/types/mod.rs:1041:17 [INFO] [stdout] | [INFO] [stdout] 1041 | pub fn iter(&self) -> EventsIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1041 | pub fn iter(&self) -> EventsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> yrs/src/block_iter.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | if len < 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> yrs/src/encoding/mod.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, proptest_derive::Arbitrary)] [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_EncodingTypes` [INFO] [stdout] 45 | enum EncodingTypes { [INFO] [stdout] | ------------- `EncodingTypes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> yrs/src/observer.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | pub type Subscription = Arc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dyn_drop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/state_vector.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/sync/awareness.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/test_utils.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn peers(&self) -> Peers { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 432 | pub fn peers(&self) -> Peers<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/test_utils.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | fn state(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 487 | fn state(&self) -> MutexGuard<'_, TestPeerState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result; [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | fn transact(&self) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | fn transact(&self) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | fn transact_mut(&self) -> TransactionMut { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 84 | fn transact_mut(&self) -> TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | fn try_transact(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 90 | fn try_transact(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn try_transact_mut(&self) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | fn try_transact_mut(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 104 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | fn transact(&self) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | fn transact(&self) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> yrs/src/transact.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | fn transact_mut(&self) -> TransactionMut { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 131 | fn transact_mut(&self) -> TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.89s [INFO] running `Command { std: "docker" "inspect" "380829d78cab87920e9f58128ccb3d1c18b41645bde67841f1d94368d3d78bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380829d78cab87920e9f58128ccb3d1c18b41645bde67841f1d94368d3d78bb7", kill_on_drop: false }` [INFO] [stdout] 380829d78cab87920e9f58128ccb3d1c18b41645bde67841f1d94368d3d78bb7