[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 try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoghyermalkar123%2Fyrs-reverse-engineer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amoghyermalkar123/yrs-reverse-engineer on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-3-tc2/source/ywasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d353dfe47c06acce143d37ffb3c0a3e29e0bf8502f0a8a8ac47ed26b6a74a936 [INFO] running `Command { std: "docker" "start" "-a" "d353dfe47c06acce143d37ffb3c0a3e29e0bf8502f0a8a8ac47ed26b6a74a936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d353dfe47c06acce143d37ffb3c0a3e29e0bf8502f0a8a8ac47ed26b6a74a936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d353dfe47c06acce143d37ffb3c0a3e29e0bf8502f0a8a8ac47ed26b6a74a936", kill_on_drop: false }` [INFO] [stdout] d353dfe47c06acce143d37ffb3c0a3e29e0bf8502f0a8a8ac47ed26b6a74a936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd6a1e4488d8f46c6355f0dffd1c14973bf4efb9e95e5594ea3d57001b70e06b [INFO] running `Command { std: "docker" "start" "-a" "dd6a1e4488d8f46c6355f0dffd1c14973bf4efb9e95e5594ea3d57001b70e06b", 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 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] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling thiserror v1.0.59 [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] Compiling cc v1.0.96 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking assert_matches2 v0.1.2 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking base64_light v0.1.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [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 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] Compiling proptest-derive v0.4.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking yrs v0.21.1 (/opt/rustwide/workdir/yrs) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [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: 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: 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] error: this conversion is useless `any::Any` to `any::Any` [INFO] [stdout] --> yrs/src/block.rs:1829:66 [INFO] [stdout] | [INFO] [stdout] 1829 | BLOCK_ITEM_EMBED_REF_NUMBER => Ok(ItemContent::Embed(decoder.read_json()?.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `BranchPtr` to `BranchPtr` [INFO] [stdout] --> yrs/src/transaction.rs:756:39 [INFO] [stdout] | [INFO] [stdout] 756 | remainder.integrate(self, inner_ref.unwrap().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `BranchPtr` to `BranchPtr` [INFO] [stdout] --> yrs/src/block_iter.rs:499:38 [INFO] [stdout] | [INFO] [stdout] 499 | remainder.integrate(txn, inner_ref.unwrap().into()) [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] [stderr] error: could not compile `yrs` (lib) due to 3 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: 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] error: this conversion is useless `any::Any` to `any::Any` [INFO] [stdout] --> yrs/src/block.rs:1829:66 [INFO] [stdout] | [INFO] [stdout] 1829 | BLOCK_ITEM_EMBED_REF_NUMBER => Ok(ItemContent::Embed(decoder.read_json()?.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `doc::Options` to `doc::Options` [INFO] [stdout] --> yrs/src/doc.rs:1534:37 [INFO] [stdout] | [INFO] [stdout] 1534 | let doc = Doc::with_options(options.clone().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `BranchPtr` to `BranchPtr` [INFO] [stdout] --> yrs/src/transaction.rs:756:39 [INFO] [stdout] | [INFO] [stdout] 756 | remainder.integrate(self, inner_ref.unwrap().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `BranchPtr` to `BranchPtr` [INFO] [stdout] --> yrs/src/block_iter.rs:499:38 [INFO] [stdout] | [INFO] [stdout] 499 | remainder.integrate(txn, inner_ref.unwrap().into()) [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] [stderr] error: could not compile `yrs` (lib test) due to 4 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dd6a1e4488d8f46c6355f0dffd1c14973bf4efb9e95e5594ea3d57001b70e06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6a1e4488d8f46c6355f0dffd1c14973bf4efb9e95e5594ea3d57001b70e06b", kill_on_drop: false }` [INFO] [stdout] dd6a1e4488d8f46c6355f0dffd1c14973bf4efb9e95e5594ea3d57001b70e06b