[INFO] fetching crate beelay-core 0.1.0-alpha.1... [INFO] checking beelay-core-0.1.0-alpha.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate beelay-core 0.1.0-alpha.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate beelay-core 0.1.0-alpha.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate beelay-core 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate beelay-core 0.1.0-alpha.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate beelay-core 0.1.0-alpha.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 116 packages to latest compatible versions [INFO] [stderr] Adding bolero v0.11.1 (available: v0.13.4) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.11) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_arbitrary v1.4.2 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded bolero-kani v0.11.2 [INFO] [stderr] Downloaded pretty-hex v0.4.1 [INFO] [stderr] Downloaded bolero-generator-derive v0.11.0 [INFO] [stderr] Downloaded bolero-engine v0.11.2 [INFO] [stderr] Downloaded bolero v0.11.1 [INFO] [stderr] Downloaded bolero-generator v0.11.1 [INFO] [stderr] Downloaded bolero-libfuzzer v0.11.0 [INFO] [stderr] Downloaded bolero-afl v0.11.0 [INFO] [stderr] Downloaded bolero-honggfuzz v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5277ce4f6167b6e2ae4740e818c439c2b23b3f7cfff1fd99ff9edce0d1031b19 [INFO] running `Command { std: "docker" "start" "-a" "5277ce4f6167b6e2ae4740e818c439c2b23b3f7cfff1fd99ff9edce0d1031b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5277ce4f6167b6e2ae4740e818c439c2b23b3f7cfff1fd99ff9edce0d1031b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5277ce4f6167b6e2ae4740e818c439c2b23b3f7cfff1fd99ff9edce0d1031b19", kill_on_drop: false }` [INFO] [stdout] 5277ce4f6167b6e2ae4740e818c439c2b23b3f7cfff1fd99ff9edce0d1031b19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7811b389881f7f6372a225b1d4edda999f77f797b648b6587dbd0bc7b914d569 [INFO] running `Command { std: "docker" "start" "-a" "7811b389881f7f6372a225b1d4edda999f77f797b648b6587dbd0bc7b914d569", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking pretty-hex v0.4.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling bolero-generator-derive v0.11.0 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking bolero-generator v0.11.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bolero-engine v0.11.2 [INFO] [stderr] Checking bolero v0.11.1 [INFO] [stderr] Checking beelay-core v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BlobRef`, `Notification`, `TreePart`, and `UploadItem` [INFO] [stdout] --> src/lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use messages::{BlobRef, Message, Notification, Request, Response, TreePart, UploadItem}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlobRef`, `Notification`, `TreePart`, and `UploadItem` [INFO] [stdout] --> src/lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use messages::{BlobRef, Message, Notification, Request, Response, TreePart, UploadItem}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `collections::HashSet` [INFO] [stdout] --> src/sedimentree.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 592 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sedimentree/commit_dag.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some((block, mut commits)) = block.take() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arbitrary::Arbitrary` [INFO] [stdout] --> src/sedimentree.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | use arbitrary::Arbitrary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CommitOrStratum` is more private than the item `Sedimentree::into_items` [INFO] [stdout] --> src/sedimentree.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | pub(crate) fn into_items(self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Sedimentree::into_items` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CommitOrStratum` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sedimentree.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | enum CommitOrStratum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, and `encode` are never used [INFO] [stdout] --> src/lib.rs:686:19 [INFO] [stdout] | [INFO] [stdout] 685 | impl DocumentHeads { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 686 | pub(crate) fn new(heads: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 699 | pub(crate) fn encode(&self, buf: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InvalidBlobMeta` is never used [INFO] [stdout] --> src/blob.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | pub enum InvalidBlobMeta { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log` is never used [INFO] [stdout] --> src/effects.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl State { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn log(&mut self) -> &mut subscriptions::Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_commit` is never used [INFO] [stdout] --> src/messages/decode.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_commit(input: parse::Input) -> Result<(parse::Input<'_>, Commit), parse::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sedimentree.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 249 | impl StratumMeta { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 250 | pub(crate) fn new(start: Option, end: CommitHash, blob: BlobMeta) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `encode` are never used [INFO] [stdout] --> src/sedimentree.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 565 | impl MinimalTreeHash { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 566 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | pub(crate) fn encode(&self, buf: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, and `commit_hashes` are never used [INFO] [stdout] --> src/sedimentree/commit_dag.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommitDag { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn add_node(&mut self, hash: CommitHash) -> NodeIdx { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub(crate) fn commit_hashes(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/sedimentree/commit_dag.rs:461:14 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscriptionId` is never constructed [INFO] [stdout] --> src/subscriptions.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SubscriptionId([u8; 16]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random`, `parse`, and `as_bytes` are never used [INFO] [stdout] --> src/subscriptions.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl SubscriptionId { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 15 | pub(crate) fn random(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn as_bytes(&self) -> &[u8; 16] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidSize` and `DecodeFailed` are never constructed [INFO] [stdout] --> src/riblt.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | InvalidDegree = 1, [INFO] [stdout] 18 | InvalidSize = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | DecodeFailed = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/riblt.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 110 | impl Encoder { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/riblt.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 224 | impl Decoder { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub(crate) fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/messages/decode.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_commit(input: parse::Input) -> Result<(parse::Input<'_>, Commit), parse::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_commit(input: parse::Input<'_>) -> Result<(parse::Input<'_>, Commit), parse::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sedimentree.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn into_remote_diff(&self) -> RemoteDiff { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn into_remote_diff(&self) -> RemoteDiff<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sedimentree.rs:488:35 [INFO] [stdout] | [INFO] [stdout] 488 | pub(crate) fn into_local_diff(&self) -> RemoteDiff { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | pub(crate) fn into_local_diff(&self) -> RemoteDiff<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sync_with_2` [INFO] [stdout] --> tests/smoke.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let sync_with_2 = network.beelay(&peer3).sync_doc(doc1_id, peer2.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sync_with_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decimal_of_hash` is never used [INFO] [stdout] --> tests/smoke.rs:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | fn decimal_of_hash(hash: &CommitHash) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/smoke.rs:577:15 [INFO] [stdout] | [INFO] [stdout] 577 | fn beelay(&mut self, peer: &PeerId) -> BeelayHandle { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 577 | fn beelay(&mut self, peer: &PeerId) -> BeelayHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sedimentree/commit_dag.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some((block, mut commits)) = block.take() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CommitOrStratum` is more private than the item `Sedimentree::into_items` [INFO] [stdout] --> src/sedimentree.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | pub(crate) fn into_items(self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Sedimentree::into_items` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CommitOrStratum` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sedimentree.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | enum CommitOrStratum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, and `encode` are never used [INFO] [stdout] --> src/lib.rs:686:19 [INFO] [stdout] | [INFO] [stdout] 685 | impl DocumentHeads { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 686 | pub(crate) fn new(heads: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 699 | pub(crate) fn encode(&self, buf: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InvalidBlobMeta` is never used [INFO] [stdout] --> src/blob.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | pub enum InvalidBlobMeta { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log` is never used [INFO] [stdout] --> src/effects.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl State { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn log(&mut self) -> &mut subscriptions::Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_commit` is never used [INFO] [stdout] --> src/messages/decode.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_commit(input: parse::Input) -> Result<(parse::Input<'_>, Commit), parse::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `encode` are never used [INFO] [stdout] --> src/sedimentree.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 565 | impl MinimalTreeHash { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 566 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | pub(crate) fn encode(&self, buf: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_node` are never used [INFO] [stdout] --> src/sedimentree/commit_dag.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommitDag { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn add_node(&mut self, hash: CommitHash) -> NodeIdx { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/sedimentree/commit_dag.rs:461:14 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commit` is never used [INFO] [stdout] --> src/sedimentree/commit_dag.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 532 | impl TestGraph { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 582 | fn commit(&self, node: &str) -> LooseCommit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscriptionId` is never constructed [INFO] [stdout] --> src/subscriptions.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SubscriptionId([u8; 16]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random`, `parse`, and `as_bytes` are never used [INFO] [stdout] --> src/subscriptions.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl SubscriptionId { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 15 | pub(crate) fn random(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn as_bytes(&self) -> &[u8; 16] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidSize` and `DecodeFailed` are never constructed [INFO] [stdout] --> src/riblt.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | InvalidDegree = 1, [INFO] [stdout] 18 | InvalidSize = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | DecodeFailed = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/riblt.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 110 | impl Encoder { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/riblt.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 224 | impl Decoder { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub(crate) fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/messages/decode.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_commit(input: parse::Input) -> Result<(parse::Input<'_>, Commit), parse::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_commit(input: parse::Input<'_>) -> Result<(parse::Input<'_>, Commit), parse::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sedimentree.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn into_remote_diff(&self) -> RemoteDiff { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn into_remote_diff(&self) -> RemoteDiff<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sedimentree.rs:488:35 [INFO] [stdout] | [INFO] [stdout] 488 | pub(crate) fn into_local_diff(&self) -> RemoteDiff { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | pub(crate) fn into_local_diff(&self) -> RemoteDiff<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "7811b389881f7f6372a225b1d4edda999f77f797b648b6587dbd0bc7b914d569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7811b389881f7f6372a225b1d4edda999f77f797b648b6587dbd0bc7b914d569", kill_on_drop: false }` [INFO] [stdout] 7811b389881f7f6372a225b1d4edda999f77f797b648b6587dbd0bc7b914d569