[INFO] fetching crate rsnmp 0.1.0... [INFO] testing rsnmp-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rsnmp 0.1.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsnmp 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitvec-nom2 v0.2.0 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded typewit_proc_macros v1.8.1 [INFO] [stderr] Downloaded miniz_oxide v0.7.4 [INFO] [stderr] Downloaded konst_kernel v0.3.9 [INFO] [stderr] Downloaded const_panic v0.2.9 [INFO] [stderr] Downloaded uuid v1.10.0 [INFO] [stderr] Downloaded typewit v1.9.0 [INFO] [stderr] Downloaded rasn-derive v0.16.5 [INFO] [stderr] Downloaded rasn v0.16.5 [INFO] [stderr] Downloaded syn v2.0.76 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded konst v0.3.9 [INFO] [stderr] Downloaded rasn-smi v0.16.5 [INFO] [stderr] Downloaded tokio-macros v2.4.0 [INFO] [stderr] Downloaded chrono v0.4.38 [INFO] [stderr] Downloaded tokio v1.39.3 [INFO] [stderr] Downloaded object-pool v0.6.0 [INFO] [stderr] Downloaded rasn-snmp v0.16.5 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a24c524302579c26da71ee5979eb3f7d4fbd25df4247c65dcc8a2100783ab9ba [INFO] running `Command { std: "docker" "start" "-a" "a24c524302579c26da71ee5979eb3f7d4fbd25df4247c65dcc8a2100783ab9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a24c524302579c26da71ee5979eb3f7d4fbd25df4247c65dcc8a2100783ab9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a24c524302579c26da71ee5979eb3f7d4fbd25df4247c65dcc8a2100783ab9ba", kill_on_drop: false }` [INFO] [stdout] a24c524302579c26da71ee5979eb3f7d4fbd25df4247c65dcc8a2100783ab9ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8ac4a8466729e3c28972f14c46f4c0a71482a9a3d2dc02634526fa47dfdab1b [INFO] running `Command { std: "docker" "start" "-a" "d8ac4a8466729e3c28972f14c46f4c0a71482a9a3d2dc02634526fa47dfdab1b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling 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 memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling typewit v1.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling const_panic v0.2.9 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling konst_kernel v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling konst v0.3.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling object-pool v0.6.0 [INFO] [stderr] Compiling bitvec-nom2 v0.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling rasn-derive v0.16.5 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling rasn v0.16.5 [INFO] [stderr] Compiling rasn-smi v0.16.5 [INFO] [stderr] Compiling rasn-snmp v0.16.5 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: konst v0.3.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d8ac4a8466729e3c28972f14c46f4c0a71482a9a3d2dc02634526fa47dfdab1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ac4a8466729e3c28972f14c46f4c0a71482a9a3d2dc02634526fa47dfdab1b", kill_on_drop: false }` [INFO] [stdout] d8ac4a8466729e3c28972f14c46f4c0a71482a9a3d2dc02634526fa47dfdab1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f2564e59e20199480df132854d4b63b3b5048ad10422e722b105ad6a2104dd6 [INFO] running `Command { std: "docker" "start" "-a" "0f2564e59e20199480df132854d4b63b3b5048ad10422e722b105ad6a2104dd6", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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] running `Command { std: "docker" "inspect" "0f2564e59e20199480df132854d4b63b3b5048ad10422e722b105ad6a2104dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f2564e59e20199480df132854d4b63b3b5048ad10422e722b105ad6a2104dd6", kill_on_drop: false }` [INFO] [stdout] 0f2564e59e20199480df132854d4b63b3b5048ad10422e722b105ad6a2104dd6