[INFO] fetching crate csnmpv1 0.6.0... [INFO] testing csnmpv1-0.6.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate csnmpv1 0.6.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate csnmpv1 0.6.0 [INFO] finished tweaking crates.io crate csnmpv1 0.6.0 [INFO] tweaked toml for crates.io crate csnmpv1 0.6.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate csnmpv1 0.6.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate csnmpv1 0.6.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_asn1 v0.6.2 [INFO] [stderr] Downloaded mintex v0.1.3 [INFO] [stderr] Downloaded from-to-repr v0.2.2 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded dhat v0.3.3 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded serde v1.0.208 [INFO] [stderr] Downloaded serde_derive v1.0.208 [INFO] [stderr] Downloaded syn v2.0.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f67da72555730d0c3e79f68be193c3cbff1bde76c121e0d0227ae13152c98fe [INFO] running `Command { std: "docker" "start" "-a" "0f67da72555730d0c3e79f68be193c3cbff1bde76c121e0d0227ae13152c98fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f67da72555730d0c3e79f68be193c3cbff1bde76c121e0d0227ae13152c98fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f67da72555730d0c3e79f68be193c3cbff1bde76c121e0d0227ae13152c98fe", kill_on_drop: false }` [INFO] [stdout] 0f67da72555730d0c3e79f68be193c3cbff1bde76c121e0d0227ae13152c98fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc6c9021a3d9ac9044b5ddf97a2e1983b52ab004d8ac7527ced43bc09004705f [INFO] running `Command { std: "docker" "start" "-a" "fc6c9021a3d9ac9044b5ddf97a2e1983b52ab004d8ac7527ced43bc09004705f", 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 thiserror v1.0.63 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling from-to-repr v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling csnmpv1 v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `as_u64`, `as_big_int`, `as_big_uint`, `is_null`, `from_u64`, and `with_tag` are never used [INFO] [stdout] --> src/message.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 197 | trait Asn1BlockExtensions: Sized { [INFO] [stdout] | ------------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 211 | fn as_u64(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn as_big_int(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn as_big_uint(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn is_null(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn from_u64(i: u64) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn with_tag(self, of_class: ASN1Class, tag: BigUint) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.11s [INFO] running `Command { std: "docker" "inspect" "fc6c9021a3d9ac9044b5ddf97a2e1983b52ab004d8ac7527ced43bc09004705f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc6c9021a3d9ac9044b5ddf97a2e1983b52ab004d8ac7527ced43bc09004705f", kill_on_drop: false }` [INFO] [stdout] fc6c9021a3d9ac9044b5ddf97a2e1983b52ab004d8ac7527ced43bc09004705f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6f19a7cd106772b99a9ebffe40ff38bdff0a5318e2805934e9ac499c5fd24bc [INFO] running `Command { std: "docker" "start" "-a" "d6f19a7cd106772b99a9ebffe40ff38bdff0a5318e2805934e9ac499c5fd24bc", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling object v0.36.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling mintex v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling from-to-repr v0.2.2 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling csnmpv1 v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `as_u64`, `as_big_int`, `as_big_uint`, `is_null`, `from_u64`, and `with_tag` are never used [INFO] [stdout] --> src/message.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 197 | trait Asn1BlockExtensions: Sized { [INFO] [stdout] | ------------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 211 | fn as_u64(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn as_big_int(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn as_big_uint(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn is_null(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn from_u64(i: u64) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn with_tag(self, of_class: ASN1Class, tag: BigUint) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dhat v0.3.3 [INFO] [stdout] error[E0432]: unresolved import `csnmp` [INFO] [stdout] --> examples/bulkwalk.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use csnmp::{ObjectIdentifier, Snmp2cClient}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `csnmp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `csnmp`, use `cargo add csnmp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Snmp1Client` [INFO] [stdout] --> examples/bulkwalk.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let client_res = Snmp1Client::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Snmp1Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use csnmpv1::Snmp1Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bulkwalk.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let client_res = Snmp1Client::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | let client = client_res.expect("failed to create SNMP client"); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client_res` an explicit type [INFO] [stdout] | [INFO] [stdout] 29 | let client_res: /* Type */ = Snmp1Client::new( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bulkwalk.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let results_res = client.walk_bulk( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | let results = results_res.expect("failed to bulk-walk"); [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results_res` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let results_res: /* Type */ = client.walk_bulk( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csnmpv1` (example "bulkwalk") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `make_oid` [INFO] [stdout] --> src/macros.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::{ObjectIdentifier, make_oid}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Snmp2cPdu` [INFO] [stdout] --> src/message.rs:1192:18 [INFO] [stdout] | [INFO] [stdout] 1192 | pdu: Snmp2cPdu::Response(InnerPdu { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Snmp2cPdu` [INFO] [stdout] | help: an enum with a similar name exists: `Snmp1Pdu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Snmp2cPdu` [INFO] [stdout] --> src/message.rs:1335:18 [INFO] [stdout] | [INFO] [stdout] 1335 | pdu: Snmp2cPdu::Response(InnerPdu { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Snmp2cPdu` [INFO] [stdout] | help: an enum with a similar name exists: `Snmp1Pdu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csnmpv1` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d6f19a7cd106772b99a9ebffe40ff38bdff0a5318e2805934e9ac499c5fd24bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f19a7cd106772b99a9ebffe40ff38bdff0a5318e2805934e9ac499c5fd24bc", kill_on_drop: false }` [INFO] [stdout] d6f19a7cd106772b99a9ebffe40ff38bdff0a5318e2805934e9ac499c5fd24bc