[INFO] fetching crate rsnmp 0.1.0... [INFO] checking rsnmp-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate rsnmp 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rsnmp 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rsnmp 0.1.0 [INFO] tweaked toml for crates.io crate rsnmp 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsnmp 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsnmp 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d61967a9b677c209a80d89f20f3b0737508d3df9715bc5826e7fd96dc096811d [INFO] running `Command { std: "docker" "start" "-a" "d61967a9b677c209a80d89f20f3b0737508d3df9715bc5826e7fd96dc096811d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d61967a9b677c209a80d89f20f3b0737508d3df9715bc5826e7fd96dc096811d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d61967a9b677c209a80d89f20f3b0737508d3df9715bc5826e7fd96dc096811d", kill_on_drop: false }` [INFO] [stdout] d61967a9b677c209a80d89f20f3b0737508d3df9715bc5826e7fd96dc096811d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84de236892767ee9766426afd95f3529b38ae754ac5055c84dc83fb9d78b06c2 [INFO] running `Command { std: "docker" "start" "-a" "84de236892767ee9766426afd95f3529b38ae754ac5055c84dc83fb9d78b06c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking typewit v1.9.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking const_panic v0.2.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking konst_kernel v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking konst v0.3.9 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking object-pool v0.6.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bitvec-nom2 v0.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling rasn-derive v0.16.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking rasn v0.16.5 [INFO] [stderr] Checking rasn-smi v0.16.5 [INFO] [stderr] Checking rasn-snmp v0.16.5 [INFO] [stderr] Checking rsnmp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ReusableOwned` and `Reusable` [INFO] [stdout] --> src/dispatcher.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use object_pool::{Reusable, ReusableOwned}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder` and `Encoder` [INFO] [stdout] --> src/dispatcher.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use rasn::{ber, Decode, Decoder, Encode, Encoder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rasn_snmp::v1::Pdus` [INFO] [stdout] --> src/dispatcher.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rasn_snmp::v1::Pdus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `v1`, `v2c`, and `v3` [INFO] [stdout] --> src/dispatcher.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use rasn_snmp::{v1, v2c, v3}; [INFO] [stdout] | ^^ ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/dispatcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/dispatcher.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/dispatcher.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rasn_snmp::v1` [INFO] [stdout] --> src/session.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rasn_snmp::v1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReusableOwned` and `Reusable` [INFO] [stdout] --> src/dispatcher.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use object_pool::{Reusable, ReusableOwned}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder` and `Encoder` [INFO] [stdout] --> src/dispatcher.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use rasn::{ber, Decode, Decoder, Encode, Encoder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rasn_snmp::v1::Pdus` [INFO] [stdout] --> src/dispatcher.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rasn_snmp::v1::Pdus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `v1`, `v2c`, and `v3` [INFO] [stdout] --> src/dispatcher.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use rasn_snmp::{v1, v2c, v3}; [INFO] [stdout] | ^^ ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/dispatcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/dispatcher.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/dispatcher.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rasn_snmp::v1` [INFO] [stdout] --> src/session.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rasn_snmp::v1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VersionedSession` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `VersionedSession` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) trait VersionedSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VersionedSession` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | impl Session { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `VersionedSession` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) trait VersionedSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VersionedSession` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl Session [INFO] [stdout] 108 | | where [INFO] [stdout] 109 | | V::Message: Encode + Decode + Respondable + Send + Clone + 'static, [INFO] [stdout] | |_______________________________________________________________________^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `VersionedSession` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) trait VersionedSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `VersionedSession::Message` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl Session [INFO] [stdout] 108 | | where [INFO] [stdout] 109 | | V::Message: Encode + Decode + Respondable + Send + Clone + 'static, [INFO] [stdout] | |_______________________________________________________________________^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but associated type `VersionedSession::Message` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | type Message; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Respondable` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl Session [INFO] [stdout] 108 | | where [INFO] [stdout] 109 | | V::Message: Encode + Decode + Respondable + Send + Clone + 'static, [INFO] [stdout] | |_______________________________________________________________________^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Respondable` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/message.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) trait Respondable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketSizeLimit` is never used [INFO] [stdout] --> src/dispatcher.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum PacketSizeLimit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit` is never used [INFO] [stdout] --> src/dispatcher.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl PacketSizeLimit { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 94 | pub fn limit(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/dispatcher.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub(super) struct SessionDispatcher { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 107 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VersionedSession` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `VersionedSession` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) trait VersionedSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VersionedSession` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | impl Session { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `VersionedSession` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) trait VersionedSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VersionedSession` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl Session [INFO] [stdout] 108 | | where [INFO] [stdout] 109 | | V::Message: Encode + Decode + Respondable + Send + Clone + 'static, [INFO] [stdout] | |_______________________________________________________________________^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `VersionedSession` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) trait VersionedSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `VersionedSession::Message` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl Session [INFO] [stdout] 108 | | where [INFO] [stdout] 109 | | V::Message: Encode + Decode + Respondable + Send + Clone + 'static, [INFO] [stdout] | |_______________________________________________________________________^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but associated type `VersionedSession::Message` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/session.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | type Message; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Respondable` is more private than the item `Session` [INFO] [stdout] --> src/session.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl Session [INFO] [stdout] 108 | | where [INFO] [stdout] 109 | | V::Message: Encode + Decode + Respondable + Send + Clone + 'static, [INFO] [stdout] | |_______________________________________________________________________^ implementation `Session` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Respondable` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/message.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) trait Respondable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketSizeLimit` is never used [INFO] [stdout] --> src/dispatcher.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum PacketSizeLimit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit` is never used [INFO] [stdout] --> src/dispatcher.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl PacketSizeLimit { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 94 | pub fn limit(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/dispatcher.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub(super) struct SessionDispatcher { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 107 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snmp_rust` [INFO] [stdout] --> examples/v1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use snmp_rust::v1::V1Options; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `snmp_rust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snmp_rust`, use `cargo add snmp_rust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snmp_rust` [INFO] [stdout] --> examples/v1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use snmp_rust::{Session, SessionOptions}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `snmp_rust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snmp_rust`, use `cargo add snmp_rust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsnmp` (example "v1") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "84de236892767ee9766426afd95f3529b38ae754ac5055c84dc83fb9d78b06c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84de236892767ee9766426afd95f3529b38ae754ac5055c84dc83fb9d78b06c2", kill_on_drop: false }` [INFO] [stdout] 84de236892767ee9766426afd95f3529b38ae754ac5055c84dc83fb9d78b06c2