[INFO] fetching crate yrs 0.17.1... [INFO] checking yrs-0.17.1 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate yrs 0.17.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate yrs 0.17.1 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yrs 0.17.1 [INFO] finished tweaking crates.io crate yrs 0.17.1 [INFO] tweaked toml for crates.io crate yrs 0.17.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.79) [INFO] [stderr] Adding proptest-derive v0.3.0 (latest: v0.4.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.35) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.58) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallstr v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e1641d0a51f22e9991a18fa1e84e07fc00f66a9ead8c8f1b31beb4f7458ee70 [INFO] running `Command { std: "docker" "start" "-a" "4e1641d0a51f22e9991a18fa1e84e07fc00f66a9ead8c8f1b31beb4f7458ee70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e1641d0a51f22e9991a18fa1e84e07fc00f66a9ead8c8f1b31beb4f7458ee70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e1641d0a51f22e9991a18fa1e84e07fc00f66a9ead8c8f1b31beb4f7458ee70", kill_on_drop: false }` [INFO] [stdout] 4e1641d0a51f22e9991a18fa1e84e07fc00f66a9ead8c8f1b31beb4f7458ee70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34990c07d134b9a21b4c0ee5c8b123a9cf500349c22fc987937c72b4dffa36f4 [INFO] running `Command { std: "docker" "start" "-a" "34990c07d134b9a21b4c0ee5c8b123a9cf500349c22fc987937c72b4dffa36f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking smallstr v0.3.0 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking yrs v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: the item `OffsetKind` is imported redundantly [INFO] [stdout] --> src/block.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::doc::{DocAddr, OffsetKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `OffsetKind` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Store` is imported redundantly [INFO] [stdout] --> src/block.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::store::{Store, WeakStoreRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `Store` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/block.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::transaction::TransactionMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/block.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::{Attrs, Branch, BranchPtr, TypePtr, TypeRef, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ID` is imported redundantly [INFO] [stdout] --> src/block_store.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::block::{Block, BlockPtr, BlockSlice, ClientID, ID}; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `ID` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/block_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ID` is imported redundantly [INFO] [stdout] --> src/transaction.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::block::{Block, BlockPtr, Item, ItemContent, Prelim, ID}; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `ID` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Snapshot` is imported redundantly [INFO] [stdout] --> src/transaction.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block_store::{Snapshot, StateVector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Snapshot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StateVector` is imported redundantly [INFO] [stdout] --> src/transaction.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block_store::{Snapshot, StateVector}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `StateVector` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubdocsEvent` is imported redundantly [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::event::SubdocsEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `SubdocsEvent` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DeleteSet` is imported redundantly [INFO] [stdout] --> src/transaction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::id_set::DeleteSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `DeleteSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Store` is imported redundantly [INFO] [stdout] --> src/transaction.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::store::{Store, SubdocGuids, SubdocsIter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Store` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeRef` [INFO] [stdout] --> src/transaction.rs:8:74 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{Branch, BranchPtr, Event, Events, SharedRef, TypePtr, TypeRef, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/transaction.rs:8:83 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{Branch, BranchPtr, Event, Events, SharedRef, TypePtr, TypeRef, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Update` is imported redundantly [INFO] [stdout] --> src/transaction.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::update::Update; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::utils::OptionExt; [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Update` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/types/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::transaction::TransactionMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/types/map.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | ToJson, TypeRef, Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Snapshot` is imported redundantly [INFO] [stdout] --> src/types/text.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block_store::Snapshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `Snapshot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/types/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::TransactionMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/types/text.rs:5:89 [INFO] [stdout] | [INFO] [stdout] 5 | Attrs, Branch, BranchPtr, Delta, EventHandler, Observers, Path, SharedRef, TypeRef, Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Origin` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `Origin` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::transaction::{Origin, TransactionMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::transaction::{Origin, TransactionMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArrayRef` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `ArrayRef` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::types::array::{ArrayEvent, ArrayRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `XmlElementRef` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `XmlElementRef` is already imported here [INFO] [stdout] ... [INFO] [stdout] 24 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `XmlTextRef` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `XmlTextRef` is already imported here [INFO] [stdout] ... [INFO] [stdout] 24 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeRef` [INFO] [stdout] --> src/update.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{TypePtr, TypeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> src/block.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | 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: unused variable: `ptr` [INFO] [stdout] --> src/block.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | ... let ptr = if this.info.is_deleted() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_start` is assigned to, but never used [INFO] [stdout] --> src/id_set.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let mut prev_start = r.start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_start` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_start` is never read [INFO] [stdout] --> src/id_set.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | 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 variable: `txn` [INFO] [stdout] --> src/types/array.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/map.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/map.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | fn contains_key(&self, txn: &T, key: &str) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/text.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_string(&self, txn: &T) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/text.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/text.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | fn diff(&self, txn: &T, compute_ychange: F) -> Vec> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/xml.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | fn get_string(&self, txn: &T) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/xml.rs:817:31 [INFO] [stdout] | [INFO] [stdout] 817 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/xml.rs:875:31 [INFO] [stdout] | [INFO] [stdout] 875 | fn get(&self, txn: &T, index: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_ref` [INFO] [stdout] --> src/types/mod.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let type_ref = self.type_ref(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branch` [INFO] [stdout] --> src/update.rs:351:39 [INFO] [stdout] | [INFO] [stdout] 351 | ItemContent::Type(branch) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/iter.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | let read = item.content.read(slice.start as usize, b.as_mut_slice()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_trim`, `is_deleted`, `is_countable`, `contains_id`, `right`, and `left` are never used [INFO] [stdout] --> src/block.rs:833:12 [INFO] [stdout] | [INFO] [stdout] 811 | impl BlockSlice { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 833 | pub fn try_trim(&mut self, from: &ID, to: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn is_deleted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 879 | pub fn is_countable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 884 | pub fn contains_id(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 960 | pub fn right(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 983 | pub fn left(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> src/block_store.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl ClientBlockList { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn with_capacity(capacity: usize) -> ClientBlockList { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `get_client_blocks_with_capacity_mut` are never used [INFO] [stdout] --> src/block_store.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 370 | impl BlockStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | 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] --> src/block_store.rs:537:19 [INFO] [stdout] | [INFO] [stdout] 537 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_store.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 542 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 543 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `link` and `unlink` are never used [INFO] [stdout] --> src/transaction.rs:969:8 [INFO] [stdout] | [INFO] [stdout] 292 | impl<'doc> TransactionMut<'doc> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 969 | fn link(&mut self, mut source: BlockPtr, link: BranchPtr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 977 | pub(crate) fn unlink(&mut self, mut source: BlockPtr, link: BranchPtr) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_at` is never used [INFO] [stdout] --> src/types/mod.rs:615:19 [INFO] [stdout] | [INFO] [stdout] 458 | impl Branch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 615 | 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 `from` is never used [INFO] [stdout] --> src/types/mod.rs:1064:12 [INFO] [stdout] | [INFO] [stdout] 1060 | / impl<'a, T: ReadTxn> Entries<'a, T, T> [INFO] [stdout] 1061 | | where [INFO] [stdout] 1062 | | T: Borrow + ReadTxn, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 1063 | { [INFO] [stdout] 1064 | pub fn from(source: &'a HashMap, BlockPtr>, txn: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blocks` is never used [INFO] [stdout] --> src/update.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl UpdateBlocks { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/update.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 93 | impl Update { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_block` is never used [INFO] [stdout] --> src/update.rs:842:12 [INFO] [stdout] | [INFO] [stdout] 777 | impl BlockCarrier { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 842 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/update.rs:948:19 [INFO] [stdout] | [INFO] [stdout] 948 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/update.rs:954:8 [INFO] [stdout] | [INFO] [stdout] 953 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 954 | 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] --> 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] 521 | pub fn values<'a, 'txn, T: ReadTxn>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_iter.rs:535:8 [INFO] [stdout] | [INFO] [stdout] 534 | impl<'a, 'txn> Values<'a, 'txn> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 535 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockIterator` is never used [INFO] [stdout] --> src/iter.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait BlockIterator: TxnIterator + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockSliceIterator` is never used [INFO] [stdout] --> src/iter.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) trait BlockSliceIterator: TxnIterator + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/iter.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 308 | / impl RangeIter [INFO] [stdout] 309 | | where [INFO] [stdout] 310 | | I: TxnIterator, [INFO] [stdout] | |____________________________________- associated function in this implementation [INFO] [stdout] 311 | { [INFO] [stdout] 312 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Opened` is never constructed [INFO] [stdout] --> src/iter.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | enum RangeIterState { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 430 | /// Ranged iterator position hasn't reach chosen ID range yet. [INFO] [stdout] 431 | Opened, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeIterState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/iter.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 445 | impl Values { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 446 | fn new(iter: I) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/block_iter.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | if len < 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> 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] --> 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] --> 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] --> benches/benches.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn b1_6(rng: &mut R, size: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OffsetKind` is imported redundantly [INFO] [stdout] --> src/block.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::doc::{DocAddr, OffsetKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `OffsetKind` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Store` is imported redundantly [INFO] [stdout] --> src/block.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::store::{Store, WeakStoreRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `Store` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/block.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::transaction::TransactionMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/block.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::{Attrs, Branch, BranchPtr, TypePtr, TypeRef, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ID` is imported redundantly [INFO] [stdout] --> src/block_store.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::block::{Block, BlockPtr, BlockSlice, ClientID, ID}; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `ID` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/block_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ID` is imported redundantly [INFO] [stdout] --> src/transaction.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::block::{Block, BlockPtr, Item, ItemContent, Prelim, ID}; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `ID` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Snapshot` is imported redundantly [INFO] [stdout] --> src/transaction.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block_store::{Snapshot, StateVector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Snapshot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StateVector` is imported redundantly [INFO] [stdout] --> src/transaction.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block_store::{Snapshot, StateVector}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `StateVector` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubdocsEvent` is imported redundantly [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::event::SubdocsEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `SubdocsEvent` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DeleteSet` is imported redundantly [INFO] [stdout] --> src/transaction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::id_set::DeleteSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `DeleteSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Store` is imported redundantly [INFO] [stdout] --> src/transaction.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::store::{Store, SubdocGuids, SubdocsIter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Store` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeRef` [INFO] [stdout] --> src/transaction.rs:8:74 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{Branch, BranchPtr, Event, Events, SharedRef, TypePtr, TypeRef, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/transaction.rs:8:83 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{Branch, BranchPtr, Event, Events, SharedRef, TypePtr, TypeRef, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Update` is imported redundantly [INFO] [stdout] --> src/transaction.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::update::Update; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::utils::OptionExt; [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Update` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/types/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::transaction::TransactionMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/types/map.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | ToJson, TypeRef, Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Snapshot` is imported redundantly [INFO] [stdout] --> src/types/text.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::block_store::Snapshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `Snapshot` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/types/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::transaction::TransactionMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/types/text.rs:5:89 [INFO] [stdout] | [INFO] [stdout] 5 | Attrs, Branch, BranchPtr, Delta, EventHandler, Observers, Path, SharedRef, TypeRef, Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Origin` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `Origin` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::transaction::{Origin, TransactionMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TransactionMut` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `TransactionMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::transaction::{Origin, TransactionMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArrayRef` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `ArrayRef` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::types::array::{ArrayEvent, ArrayRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `XmlElementRef` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `XmlElementRef` is already imported here [INFO] [stdout] ... [INFO] [stdout] 24 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `XmlTextRef` is imported redundantly [INFO] [stdout] --> src/types/mod.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `XmlTextRef` is already imported here [INFO] [stdout] ... [INFO] [stdout] 24 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeRef` [INFO] [stdout] --> src/update.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{TypePtr, TypeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Any` is imported redundantly [INFO] [stdout] --> src/encoding/serde/de.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 647 | use super::*; [INFO] [stdout] | -------- the item `Any` is already imported here [INFO] [stdout] 648 | use crate::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/encoding/serde/de.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 647 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 650 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Any` is imported redundantly [INFO] [stdout] --> src/encoding/serde/ser.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 457 | use super::*; [INFO] [stdout] | -------- the item `Any` is already imported here [INFO] [stdout] 458 | use crate::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/encoding/serde/ser.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 457 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 461 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> src/block.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | 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: unused variable: `ptr` [INFO] [stdout] --> src/block.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | ... let ptr = if this.info.is_deleted() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_start` is assigned to, but never used [INFO] [stdout] --> src/id_set.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let mut prev_start = r.start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_start` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_start` is never read [INFO] [stdout] --> src/id_set.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | 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 variable: `txn` [INFO] [stdout] --> src/types/array.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/map.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/map.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | fn contains_key(&self, txn: &T, key: &str) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/text.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_string(&self, txn: &T) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/text.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/text.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | fn diff(&self, txn: &T, compute_ychange: F) -> Vec> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/xml.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | fn get_string(&self, txn: &T) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/xml.rs:817:31 [INFO] [stdout] | [INFO] [stdout] 817 | fn len(&self, txn: &T) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/types/xml.rs:875:31 [INFO] [stdout] | [INFO] [stdout] 875 | fn get(&self, txn: &T, index: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_ref` [INFO] [stdout] --> src/types/mod.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let type_ref = self.type_ref(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branch` [INFO] [stdout] --> src/update.rs:351:39 [INFO] [stdout] | [INFO] [stdout] 351 | ItemContent::Type(branch) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_v2` [INFO] [stdout] --> src/update.rs:1233:13 [INFO] [stdout] | [INFO] [stdout] 1233 | let bytes_v2 = update_v1.encode_v2(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/iter.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | let read = item.content.read(slice.start as usize, b.as_mut_slice()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_trim`, `is_deleted`, `is_countable`, `contains_id`, `right`, and `left` are never used [INFO] [stdout] --> src/block.rs:833:12 [INFO] [stdout] | [INFO] [stdout] 811 | impl BlockSlice { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 833 | pub fn try_trim(&mut self, from: &ID, to: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn is_deleted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 879 | pub fn is_countable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 884 | pub fn contains_id(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 960 | pub fn right(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 983 | pub fn left(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/block_store.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 370 | impl BlockStore { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/block_store.rs:537:19 [INFO] [stdout] | [INFO] [stdout] 537 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_store.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 542 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 543 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `link` and `unlink` are never used [INFO] [stdout] --> src/transaction.rs:969:8 [INFO] [stdout] | [INFO] [stdout] 292 | impl<'doc> TransactionMut<'doc> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 969 | fn link(&mut self, mut source: BlockPtr, link: BranchPtr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 977 | pub(crate) fn unlink(&mut self, mut source: BlockPtr, link: BranchPtr) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_at` is never used [INFO] [stdout] --> src/types/mod.rs:615:19 [INFO] [stdout] | [INFO] [stdout] 458 | impl Branch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 615 | 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 `from` is never used [INFO] [stdout] --> src/types/mod.rs:1064:12 [INFO] [stdout] | [INFO] [stdout] 1060 | / impl<'a, T: ReadTxn> Entries<'a, T, T> [INFO] [stdout] 1061 | | where [INFO] [stdout] 1062 | | T: Borrow + ReadTxn, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 1063 | { [INFO] [stdout] 1064 | pub fn from(source: &'a HashMap, BlockPtr>, txn: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/update.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 93 | impl Update { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_block` is never used [INFO] [stdout] --> src/update.rs:842:12 [INFO] [stdout] | [INFO] [stdout] 777 | impl BlockCarrier { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 842 | 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] --> 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] 521 | pub fn values<'a, 'txn, T: ReadTxn>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_iter.rs:535:8 [INFO] [stdout] | [INFO] [stdout] 534 | impl<'a, 'txn> Values<'a, 'txn> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 535 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rng`, `get`, `connect`, `disconnect_all`, and `peers` are never used [INFO] [stdout] --> src/test_utils.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl TestConnector { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn rng(&self) -> RefMut { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get(&self, client_id: &ClientID) -> Option<&TestPeer> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn connect(&self, client_id: ClientID) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn disconnect_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn peers(&self) -> Peers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `doc_mut` is never used [INFO] [stdout] --> src/test_utils.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl TestPeer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn doc_mut(&mut self) -> &mut Doc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `is_empty`, `chars_to_bytes`, and `patches` are never used [INFO] [stdout] --> src/tests/edit_traces.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl TestData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn chars_to_bytes(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn patches(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/block_iter.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | if len < 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.14s [INFO] running `Command { std: "docker" "inspect" "34990c07d134b9a21b4c0ee5c8b123a9cf500349c22fc987937c72b4dffa36f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34990c07d134b9a21b4c0ee5c8b123a9cf500349c22fc987937c72b4dffa36f4", kill_on_drop: false }` [INFO] [stdout] 34990c07d134b9a21b4c0ee5c8b123a9cf500349c22fc987937c72b4dffa36f4 [INFO] checking yrs-0.17.1 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate yrs 0.17.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate yrs 0.17.1 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yrs 0.17.1 [INFO] finished tweaking crates.io crate yrs 0.17.1 [INFO] tweaked toml for crates.io crate yrs 0.17.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c7771cfef22012a9523aa3d6e3dd0e1ed81808cc52b115972f43579c0283489 [INFO] running `Command { std: "docker" "start" "-a" "1c7771cfef22012a9523aa3d6e3dd0e1ed81808cc52b115972f43579c0283489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c7771cfef22012a9523aa3d6e3dd0e1ed81808cc52b115972f43579c0283489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c7771cfef22012a9523aa3d6e3dd0e1ed81808cc52b115972f43579c0283489", kill_on_drop: false }` [INFO] [stdout] 1c7771cfef22012a9523aa3d6e3dd0e1ed81808cc52b115972f43579c0283489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c9647df322c9d1f267680ca5ebd22fa493b5ff597d31faee497cc053e17c417 [INFO] running `Command { std: "docker" "start" "-a" "1c9647df322c9d1f267680ca5ebd22fa493b5ff597d31faee497cc053e17c417", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crossbeam-utils-0.8.19/src/sync/parker.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | / match self.state.swap(EMPTY, SeqCst) { [INFO] [stdout] 371 | | NOTIFIED | PARKED => return, [INFO] [stdout] 372 | | n => panic!("inconsistent park_timeout state: {}", n), [INFO] [stdout] 373 | | }; [INFO] [stdout] | |_________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] error: could not compile `crossbeam-utils` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1c9647df322c9d1f267680ca5ebd22fa493b5ff597d31faee497cc053e17c417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9647df322c9d1f267680ca5ebd22fa493b5ff597d31faee497cc053e17c417", kill_on_drop: false }` [INFO] [stdout] 1c9647df322c9d1f267680ca5ebd22fa493b5ff597d31faee497cc053e17c417