[INFO] fetching crate yrs 0.6.0... [INFO] testing yrs-0.6.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate yrs 0.6.0 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate yrs 0.6.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yrs 0.6.0 [INFO] finished tweaking crates.io crate yrs 0.6.0 [INFO] tweaked toml for crates.io crate yrs 0.6.0 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da189da3d9b7104c76c35039038a95b217d7d587f2b2f77afe64b88287778507 [INFO] running `Command { std: "docker" "start" "-a" "da189da3d9b7104c76c35039038a95b217d7d587f2b2f77afe64b88287778507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da189da3d9b7104c76c35039038a95b217d7d587f2b2f77afe64b88287778507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da189da3d9b7104c76c35039038a95b217d7d587f2b2f77afe64b88287778507", kill_on_drop: false }` [INFO] [stdout] da189da3d9b7104c76c35039038a95b217d7d587f2b2f77afe64b88287778507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31e1213d01c4880d14f5536c07b17724c92f6d03d1789c2cc98c6289d1dea26c [INFO] running `Command { std: "docker" "start" "-a" "31e1213d01c4880d14f5536c07b17724c92f6d03d1789c2cc98c6289d1dea26c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lib0 v0.6.0 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling yrs v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `first_client` is never read [INFO] [stdout] --> src/update.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | let mut first_client = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_write_block` is never read [INFO] [stdout] --> src/update.rs:583:37 [INFO] [stdout] | [INFO] [stdout] 583 | ... curr_write_block = BlockCarrier::Skip(skip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `right_ptr` is never read [INFO] [stdout] --> src/types/text.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | ... right_ptr = store.blocks.split_block(right_ptr, offset).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `block` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/block_store.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 488 | let block_id = block.id(); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 489 | if id.clock != block_id.clock + block.len() - 1 { [INFO] [stdout] 490 | let new = block.splice(1 + id.clock - block_id.clock).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock_end` [INFO] [stdout] --> src/block.rs:618:12 [INFO] [stdout] | [INFO] [stdout] 618 | 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 function is never used: `is_gc` [INFO] [stdout] --> src/block.rs:633:12 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn is_gc(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block.rs:649:12 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITEM_FLAG_MARKED` [INFO] [stdout] --> src/block.rs:711:1 [INFO] [stdout] | [INFO] [stdout] 711 | const ITEM_FLAG_MARKED: u8 = 0b1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITEM_FLAG_KEEP` [INFO] [stdout] --> src/block.rs:720:1 [INFO] [stdout] | [INFO] [stdout] 720 | const ITEM_FLAG_KEEP: u8 = 0b0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block.rs:841:12 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `marked` [INFO] [stdout] --> src/block.rs:848:12 [INFO] [stdout] | [INFO] [stdout] 848 | pub fn marked(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep` [INFO] [stdout] --> src/block.rs:853:12 [INFO] [stdout] | [INFO] [stdout] 853 | pub fn keep(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/block_store.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn with_capacity(capacity: usize) -> ClientBlockList { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/block_store.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | pub(crate) fn last(&self) -> BlockPtr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/block_store.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 409 | pub(crate) fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block_store.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blocks` [INFO] [stdout] --> src/block_store.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_client_blocks_with_capacity_mut` [INFO] [stdout] --> src/block_store.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | pub(crate) fn get_client_blocks_with_capacity_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/block_store.rs:574:8 [INFO] [stdout] | [INFO] [stdout] 574 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscription_count` [INFO] [stdout] --> src/event.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn subscription_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type` [INFO] [stdout] --> src/store.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_type>>(&self, key: K) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type_from_path` [INFO] [stdout] --> src/store.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_type_from_path(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blocks` [INFO] [stdout] --> src/update.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_item` [INFO] [stdout] --> src/update.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn split_item(&mut self, block: &mut BlockCarrier, diff: u32, index: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_block` [INFO] [stdout] --> src/update.rs:800:12 [INFO] [stdout] | [INFO] [stdout] 800 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/update.rs:905:8 [INFO] [stdout] | [INFO] [stdout] 905 | fn new(update: &'a UpdateBlocks) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.96s [INFO] running `Command { std: "docker" "inspect" "31e1213d01c4880d14f5536c07b17724c92f6d03d1789c2cc98c6289d1dea26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31e1213d01c4880d14f5536c07b17724c92f6d03d1789c2cc98c6289d1dea26c", kill_on_drop: false }` [INFO] [stdout] 31e1213d01c4880d14f5536c07b17724c92f6d03d1789c2cc98c6289d1dea26c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88e5e6a32294ccdc61c9850270943a5215a82c04ca082f0f3c706dda5374197c [INFO] running `Command { std: "docker" "start" "-a" "88e5e6a32294ccdc61c9850270943a5215a82c04ca082f0f3c706dda5374197c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stdout] warning: value assigned to `first_client` is never read [INFO] [stdout] --> src/update.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | let mut first_client = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_write_block` is never read [INFO] [stdout] --> src/update.rs:583:37 [INFO] [stdout] | [INFO] [stdout] 583 | ... curr_write_block = BlockCarrier::Skip(skip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `right_ptr` is never read [INFO] [stdout] --> src/types/text.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | ... right_ptr = store.blocks.split_block(right_ptr, offset).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `block` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/block_store.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 488 | let block_id = block.id(); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 489 | if id.clock != block_id.clock + block.len() - 1 { [INFO] [stdout] 490 | let new = block.splice(1 + id.clock - block_id.clock).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock_end` [INFO] [stdout] --> src/block.rs:618:12 [INFO] [stdout] | [INFO] [stdout] 618 | 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 function is never used: `is_gc` [INFO] [stdout] --> src/block.rs:633:12 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn is_gc(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block.rs:649:12 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITEM_FLAG_MARKED` [INFO] [stdout] --> src/block.rs:711:1 [INFO] [stdout] | [INFO] [stdout] 711 | const ITEM_FLAG_MARKED: u8 = 0b1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITEM_FLAG_KEEP` [INFO] [stdout] --> src/block.rs:720:1 [INFO] [stdout] | [INFO] [stdout] 720 | const ITEM_FLAG_KEEP: u8 = 0b0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block.rs:841:12 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `marked` [INFO] [stdout] --> src/block.rs:848:12 [INFO] [stdout] | [INFO] [stdout] 848 | pub fn marked(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep` [INFO] [stdout] --> src/block.rs:853:12 [INFO] [stdout] | [INFO] [stdout] 853 | pub fn keep(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/block_store.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn with_capacity(capacity: usize) -> ClientBlockList { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/block_store.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | pub(crate) fn last(&self) -> BlockPtr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/block_store.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 409 | pub(crate) fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block_store.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blocks` [INFO] [stdout] --> src/block_store.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_client_blocks_with_capacity_mut` [INFO] [stdout] --> src/block_store.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | pub(crate) fn get_client_blocks_with_capacity_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/block_store.rs:574:8 [INFO] [stdout] | [INFO] [stdout] 574 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscription_count` [INFO] [stdout] --> src/event.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn subscription_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type` [INFO] [stdout] --> src/store.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_type>>(&self, key: K) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type_from_path` [INFO] [stdout] --> src/store.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_type_from_path(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blocks` [INFO] [stdout] --> src/update.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_item` [INFO] [stdout] --> src/update.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn split_item(&mut self, block: &mut BlockCarrier, diff: u32, index: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_block` [INFO] [stdout] --> src/update.rs:800:12 [INFO] [stdout] | [INFO] [stdout] 800 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/update.rs:905:8 [INFO] [stdout] | [INFO] [stdout] 905 | fn new(update: &'a UpdateBlocks) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling yrs v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `first_client` is never read [INFO] [stdout] --> src/update.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | let mut first_client = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_write_block` is never read [INFO] [stdout] --> src/update.rs:583:37 [INFO] [stdout] | [INFO] [stdout] 583 | ... curr_write_block = BlockCarrier::Skip(skip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `right_ptr` is never read [INFO] [stdout] --> src/types/text.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | ... right_ptr = store.blocks.split_block(right_ptr, offset).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `block` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/block_store.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 488 | let block_id = block.id(); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 489 | if id.clock != block_id.clock + block.len() - 1 { [INFO] [stdout] 490 | let new = block.splice(1 + id.clock - block_id.clock).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock_end` [INFO] [stdout] --> src/block.rs:618:12 [INFO] [stdout] | [INFO] [stdout] 618 | 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 function is never used: `is_gc` [INFO] [stdout] --> src/block.rs:633:12 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn is_gc(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block.rs:649:12 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITEM_FLAG_MARKED` [INFO] [stdout] --> src/block.rs:711:1 [INFO] [stdout] | [INFO] [stdout] 711 | const ITEM_FLAG_MARKED: u8 = 0b1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ITEM_FLAG_KEEP` [INFO] [stdout] --> src/block.rs:720:1 [INFO] [stdout] | [INFO] [stdout] 720 | const ITEM_FLAG_KEEP: u8 = 0b0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block.rs:841:12 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `marked` [INFO] [stdout] --> src/block.rs:848:12 [INFO] [stdout] | [INFO] [stdout] 848 | pub fn marked(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep` [INFO] [stdout] --> src/block.rs:853:12 [INFO] [stdout] | [INFO] [stdout] 853 | pub fn keep(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/block_store.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | pub(crate) fn last(&self) -> BlockPtr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/block_store.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 409 | pub(crate) fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/block_store.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blocks` [INFO] [stdout] --> src/block_store.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/block_store.rs:574:8 [INFO] [stdout] | [INFO] [stdout] 574 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type` [INFO] [stdout] --> src/store.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_type>>(&self, key: K) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type_from_path` [INFO] [stdout] --> src/store.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_type_from_path(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_item` [INFO] [stdout] --> src/update.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn split_item(&mut self, block: &mut BlockCarrier, diff: u32, index: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_block` [INFO] [stdout] --> src/update.rs:800:12 [INFO] [stdout] | [INFO] [stdout] 800 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/alloc.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/alloc.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocations` [INFO] [stdout] --> src/alloc.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn allocations(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mem_used` [INFO] [stdout] --> src/alloc.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn mem_used(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `GLOBAL` [INFO] [stdout] --> src/alloc.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | static GLOBAL: TracingAlloc = TracingAlloc::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rng` [INFO] [stdout] --> src/test_utils.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn rng(&self) -> RefMut { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/test_utils.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get(&self, client_id: &u64) -> Option<&TestPeer> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/test_utils.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn connect(&self, client_id: u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect_all` [INFO] [stdout] --> src/test_utils.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn disconnect_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peers` [INFO] [stdout] --> src/test_utils.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn peers(&self) -> Peers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doc_mut` [INFO] [stdout] --> src/test_utils.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn doc_mut(&mut self) -> &mut Doc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.33s [INFO] running `Command { std: "docker" "inspect" "88e5e6a32294ccdc61c9850270943a5215a82c04ca082f0f3c706dda5374197c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e5e6a32294ccdc61c9850270943a5215a82c04ca082f0f3c706dda5374197c", kill_on_drop: false }` [INFO] [stdout] 88e5e6a32294ccdc61c9850270943a5215a82c04ca082f0f3c706dda5374197c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e1dc840195e75f15167148a91a22eb2acc163e7e828ba685d4baa1fa91d35c15 [INFO] running `Command { std: "docker" "start" "-a" "e1dc840195e75f15167148a91a22eb2acc163e7e828ba685d4baa1fa91d35c15", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `first_client` is never read [INFO] [stderr] --> src/update.rs:528:25 [INFO] [stderr] | [INFO] [stderr] 528 | let mut first_client = 0; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `curr_write_block` is never read [INFO] [stderr] --> src/update.rs:583:37 [INFO] [stderr] | [INFO] [stderr] 583 | ... curr_write_block = BlockCarrier::Skip(skip); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `right_ptr` is never read [INFO] [stderr] --> src/types/text.rs:95:29 [INFO] [stderr] | [INFO] [stderr] 95 | ... right_ptr = store.blocks.split_block(right_ptr, offset).unwrap(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `block` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/block_store.rs:490:23 [INFO] [stderr] | [INFO] [stderr] 488 | let block_id = block.id(); [INFO] [stderr] | ---------- immutable borrow occurs here [INFO] [stderr] 489 | if id.clock != block_id.clock + block.len() - 1 { [INFO] [stderr] 490 | let new = block.splice(1 + id.clock - block_id.clock).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `clock_end` [INFO] [stderr] --> src/block.rs:618:12 [INFO] [stderr] | [INFO] [stderr] 618 | pub fn clock_end(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_gc` [INFO] [stderr] --> src/block.rs:633:12 [INFO] [stderr] | [INFO] [stderr] 633 | pub fn is_gc(&self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contains` [INFO] [stderr] --> src/block.rs:649:12 [INFO] [stderr] | [INFO] [stderr] 649 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ITEM_FLAG_MARKED` [INFO] [stderr] --> src/block.rs:711:1 [INFO] [stderr] | [INFO] [stderr] 711 | const ITEM_FLAG_MARKED: u8 = 0b1000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ITEM_FLAG_KEEP` [INFO] [stderr] --> src/block.rs:720:1 [INFO] [stderr] | [INFO] [stderr] 720 | const ITEM_FLAG_KEEP: u8 = 0b0001; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contains` [INFO] [stderr] --> src/block.rs:841:12 [INFO] [stderr] | [INFO] [stderr] 841 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `marked` [INFO] [stderr] --> src/block.rs:848:12 [INFO] [stderr] | [INFO] [stderr] 848 | pub fn marked(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `keep` [INFO] [stderr] --> src/block.rs:853:12 [INFO] [stderr] | [INFO] [stderr] 853 | pub fn keep(&self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_capacity` [INFO] [stderr] --> src/block_store.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn with_capacity(capacity: usize) -> ClientBlockList { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `last` [INFO] [stderr] --> src/block_store.rs:254:19 [INFO] [stderr] | [INFO] [stderr] 254 | pub(crate) fn last(&self) -> BlockPtr { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from` [INFO] [stderr] --> src/block_store.rs:409:19 [INFO] [stderr] | [INFO] [stderr] 409 | pub(crate) fn from( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contains` [INFO] [stderr] --> src/block_store.rs:428:12 [INFO] [stderr] | [INFO] [stderr] 428 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `blocks` [INFO] [stderr] --> src/block_store.rs:453:19 [INFO] [stderr] | [INFO] [stderr] 453 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_client_blocks_with_capacity_mut` [INFO] [stderr] --> src/block_store.rs:517:19 [INFO] [stderr] | [INFO] [stderr] 517 | pub(crate) fn get_client_blocks_with_capacity_mut( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/block_store.rs:574:8 [INFO] [stderr] | [INFO] [stderr] 574 | fn new(update: &'a BlockStore) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `subscription_count` [INFO] [stderr] --> src/event.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | fn subscription_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_type` [INFO] [stderr] --> src/store.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn get_type>>(&self, key: K) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_type_from_path` [INFO] [stderr] --> src/store.rs:188:12 [INFO] [stderr] | [INFO] [stderr] 188 | pub fn get_type_from_path(&self, path: &Path) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `blocks` [INFO] [stderr] --> src/update.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `split_item` [INFO] [stderr] --> src/update.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | fn split_item(&mut self, block: &mut BlockCarrier, diff: u32, index: usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `into_block` [INFO] [stderr] --> src/update.rs:800:12 [INFO] [stderr] | [INFO] [stderr] 800 | pub fn into_block(self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/update.rs:905:8 [INFO] [stderr] | [INFO] [stderr] 905 | fn new(update: &'a UpdateBlocks) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/alloc.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | pub const fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reset` [INFO] [stderr] --> src/alloc.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn reset(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `allocations` [INFO] [stderr] --> src/alloc.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn allocations(&mut self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mem_used` [INFO] [stderr] --> src/alloc.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn mem_used(&mut self) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `GLOBAL` [INFO] [stderr] --> src/alloc.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | static GLOBAL: TracingAlloc = TracingAlloc::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rng` [INFO] [stderr] --> src/test_utils.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn rng(&self) -> RefMut { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/test_utils.rs:154:12 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn get(&self, client_id: &u64) -> Option<&TestPeer> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `connect` [INFO] [stderr] --> src/test_utils.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn connect(&self, client_id: u64) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `disconnect_all` [INFO] [stderr] --> src/test_utils.rs:237:12 [INFO] [stderr] | [INFO] [stderr] 237 | pub fn disconnect_all(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peers` [INFO] [stderr] --> src/test_utils.rs:439:12 [INFO] [stderr] | [INFO] [stderr] 439 | pub fn peers(&self) -> Peers { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `doc_mut` [INFO] [stderr] --> src/test_utils.rs:479:12 [INFO] [stderr] | [INFO] [stderr] 479 | pub fn doc_mut(&mut self) -> &mut Doc { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yrs` (lib) generated 26 warnings [INFO] [stderr] warning: `yrs` (lib test) generated 32 warnings (21 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yrs-760ad7eb07e634fb) [INFO] [stdout] [INFO] [stdout] running 85 tests [INFO] [stdout] test alt::test::diff_updates_compatibility_v1 ... ok [INFO] [stdout] test block::test::splittable_string_len ... ok [INFO] [stdout] test alt::test::encode_state_vector_compatibility_v1 ... ok [INFO] [stdout] test alt::test::merge_updates_compatibility_v1_2 ... ok [INFO] [stdout] test alt::test::merge_updates_compatibility_v1 ... ok [INFO] [stdout] test block::test::splittable_string_push_str ... ok [INFO] [stdout] test block::test::splittable_string_split_str ... ok [INFO] [stdout] test compatibility_tests::state_vector ... ok [INFO] [stdout] test compatibility_tests::array_insert ... ok [INFO] [stdout] test compatibility_tests::map_set ... ok [INFO] [stdout] test compatibility_tests::xml_fragment_insert ... ok [INFO] [stdout] test doc::test::encode_basic ... ok [INFO] [stdout] test compatibility_tests::text_insert_delete ... ok [INFO] [stdout] test doc::test::apply_update_basic_v2 ... ok [INFO] [stdout] test id_set::test::id_range_compact ... ok [INFO] [stdout] test doc::test::integrate ... ok [INFO] [stdout] test id_set::test::id_range_contains ... ok [INFO] [stdout] test doc::test::on_update ... ok [INFO] [stdout] test doc::test::apply_update_basic_v1 ... ok [INFO] [stdout] test event::test::subscription ... ok [INFO] [stdout] test id_set::test::id_range_encode_decode ... ok [INFO] [stdout] test id_set::test::id_range_invert ... ok [INFO] [stdout] test id_set::test::id_range_push ... ok [INFO] [stdout] test id_set::test::id_set_encode_decode ... ok [INFO] [stdout] test types::array::test::basic ... ok [INFO] [stdout] test types::array::test::concurrent_insert_remove_with_3_conflicts ... ok [INFO] [stdout] test types::array::test::concurrent_insert_with_3_conflicts ... ok [INFO] [stdout] test types::array::test::insert ... ok [INFO] [stdout] test types::array::test::get_at_removed_index ... ok [INFO] [stdout] test types::array::test::insert_3_elements_try_re_get ... ok [INFO] [stdout] test types::array::test::insert_and_remove_event_changes ... ok [INFO] [stdout] test types::array::test::insert_and_remove_events ... ok [INFO] [stdout] test types::array::test::insert_then_merge_delete_on_sync ... ok [INFO] [stdout] test types::array::test::iter_array_containing_types ... ok [INFO] [stdout] test types::array::test::push_front ... ok [INFO] [stdout] test types::array::test::len ... ok [INFO] [stdout] test types::array::test::push_back ... ok [INFO] [stdout] test types::array::test::remove_insert ... ok [INFO] [stdout] test types::array::test::insertions_in_late_sync ... ok [INFO] [stdout] test types::array::test::observe_deep_event_order ... ok [INFO] [stdout] test types::array::test::removals_in_late_sync ... ok [INFO] [stdout] test types::array::test::target_on_local_and_remote ... ok [INFO] [stdout] test types::map::test::map_basic ... ok [INFO] [stdout] test types::map::test::map_clear ... ok [INFO] [stdout] test types::map::test::map_get_set ... ok [INFO] [stdout] test types::map::test::insert_and_remove_events ... ok [INFO] [stdout] test types::map::test::map_get_set_sync_with_conflicts ... ok [INFO] [stdout] test types::map::test::map_len_remove ... ok [INFO] [stdout] test types::map::test::observe_deep ... ok [INFO] [stdout] test types::text::test::append_mutli_character_blocks ... ok [INFO] [stdout] test types::text::test::append_concurrent ... ok [INFO] [stdout] test types::map::test::map_get_set_with_3_way_conflicts ... ok [INFO] [stdout] test types::text::test::delete_multiple_whole_blocks ... ok [INFO] [stdout] test types::text::test::append_single_character_blocks ... ok [INFO] [stdout] test types::map::test::map_clear_sync ... ok [INFO] [stdout] test types::text::test::delete_single_block_end ... ok [INFO] [stdout] test types::text::test::concurrent_insert_delete ... ok [INFO] [stdout] test types::xml::test::siblings ... ok [INFO] [stdout] test types::map::test::map_get_set_remove_with_3_way_conflicts ... ok [INFO] [stdout] test types::text::test::insert_concurrent_in_the_middle ... ok [INFO] [stdout] test types::text::test::insert_inside_of_block ... ok [INFO] [stdout] test types::xml::test::serialization_compatibility ... ok [INFO] [stdout] test types::xml::test::insert_attribute ... ok [INFO] [stdout] test update::test::update_decode ... ok [INFO] [stdout] test types::xml::test::serialization ... ok [INFO] [stdout] test update::test::update_merge ... ok [INFO] [stdout] test types::text::test::unicode_support ... ok [INFO] [stdout] test types::xml::test::tree_walker ... ok [INFO] [stdout] test types::text::test::insert_concurrent_root ... ok [INFO] [stdout] test types::text::test::delete_single_block_start ... ok [INFO] [stdout] test types::text::test::delete_slice_of_block ... ok [INFO] [stdout] test types::text::test::prepend_mutli_character_blocks ... ok [INFO] [stdout] test types::text::test::prepend_single_character_blocks ... ok [INFO] [stdout] test types::text::test::delete_multiple_blocks_with_slicing ... ok [INFO] [stdout] test types::xml::test::text_attributes ... ok [INFO] [stdout] test types::text::test::insert_and_remove_event_changes ... ok [INFO] [stdout] test types::text::test::insert_after_block ... ok [INFO] [stdout] test types::text::test::issue_101 ... ok [INFO] [stdout] test types::text::test::insert_after_delete ... ok [INFO] [stdout] test types::text::test::embed_with_attributes ... ok [INFO] [stdout] test types::xml::test::event_observers ... ok [INFO] [stdout] test types::text::test::basic_format ... ok [INFO] [stdout] test types::map::test::fuzzy_test_6 ... ok [INFO] [stdout] test types::array::test::fuzzy_test_6 ... ok [INFO] [stdout] test types::text::test::fuzzy_test_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 85 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests yrs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/doc.rs - doc::Doc (line 20) ... ok [INFO] [stdout] test src/types/xml.rs - types::xml::XmlElement::successors (line 165) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1dc840195e75f15167148a91a22eb2acc163e7e828ba685d4baa1fa91d35c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1dc840195e75f15167148a91a22eb2acc163e7e828ba685d4baa1fa91d35c15", kill_on_drop: false }` [INFO] [stdout] e1dc840195e75f15167148a91a22eb2acc163e7e828ba685d4baa1fa91d35c15