[INFO] fetching crate rsnmp 0.1.0... [INFO] testing rsnmp-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rsnmp 0.1.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsnmp 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rasn-smi v0.16.5 [INFO] [stderr] Downloaded rasn-snmp v0.16.5 [INFO] [stderr] Downloaded const_panic v0.2.9 [INFO] [stderr] Downloaded bitvec-nom2 v0.2.0 [INFO] [stderr] Downloaded konst_kernel v0.3.9 [INFO] [stderr] Downloaded typewit_proc_macros v1.8.1 [INFO] [stderr] Downloaded typewit v1.9.0 [INFO] [stderr] Downloaded konst v0.3.9 [INFO] [stderr] Downloaded rasn-derive v0.16.5 [INFO] [stderr] Downloaded rasn v0.16.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c65e2fa4afc29eca54986ec28d4859ae5a0c26fab8db684b424e979065f45c7e [INFO] running `Command { std: "docker" "start" "-a" "c65e2fa4afc29eca54986ec28d4859ae5a0c26fab8db684b424e979065f45c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65e2fa4afc29eca54986ec28d4859ae5a0c26fab8db684b424e979065f45c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65e2fa4afc29eca54986ec28d4859ae5a0c26fab8db684b424e979065f45c7e", kill_on_drop: false }` [INFO] [stdout] c65e2fa4afc29eca54986ec28d4859ae5a0c26fab8db684b424e979065f45c7e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a65e176a3e3074b5917ecc0672de0f7334ece9d223aa04e104d56e5f5fe2de0a [INFO] running `Command { std: "docker" "start" "-a" "a65e176a3e3074b5917ecc0672de0f7334ece9d223aa04e104d56e5f5fe2de0a", 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 radium v0.7.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling typewit v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling uuid v1.10.0 [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 konst_kernel v0.3.9 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling const_panic v0.2.9 [INFO] [stderr] Compiling konst v0.3.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling bitvec-nom2 v0.2.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling object-pool v0.6.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling rasn-derive v0.16.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [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)]` 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: variant `Custom` is never constructed [INFO] [stdout] --> src/dispatcher.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum PacketSizeLimit { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 83 | Max, [INFO] [stdout] 84 | Custom(u16), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.52s [INFO] running `Command { std: "docker" "inspect" "a65e176a3e3074b5917ecc0672de0f7334ece9d223aa04e104d56e5f5fe2de0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a65e176a3e3074b5917ecc0672de0f7334ece9d223aa04e104d56e5f5fe2de0a", kill_on_drop: false }` [INFO] [stdout] a65e176a3e3074b5917ecc0672de0f7334ece9d223aa04e104d56e5f5fe2de0a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b33f5d96978a24969c7f2edb5f45bcaab46fa5b7700e00698fdbaee819b8e183 [INFO] running `Command { std: "docker" "start" "-a" "b33f5d96978a24969c7f2edb5f45bcaab46fa5b7700e00698fdbaee819b8e183", 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)]` 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: variant `Custom` is never constructed [INFO] [stdout] --> src/dispatcher.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum PacketSizeLimit { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 83 | Max, [INFO] [stdout] 84 | Custom(u16), [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] [stderr] Compiling rsnmp v0.1.0 (/opt/rustwide/workdir) [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] 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] 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] 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] 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: variant `Custom` is never constructed [INFO] [stdout] --> src/dispatcher.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum PacketSizeLimit { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 83 | Max, [INFO] [stdout] 84 | Custom(u16), [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] running `Command { std: "docker" "inspect" "b33f5d96978a24969c7f2edb5f45bcaab46fa5b7700e00698fdbaee819b8e183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33f5d96978a24969c7f2edb5f45bcaab46fa5b7700e00698fdbaee819b8e183", kill_on_drop: false }` [INFO] [stdout] b33f5d96978a24969c7f2edb5f45bcaab46fa5b7700e00698fdbaee819b8e183