[INFO] fetching crate csnmpv1 0.6.0... [INFO] testing csnmpv1-0.6.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate csnmpv1 0.6.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate csnmpv1 0.6.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad09e53ff5677a935b372f4069a80dcc41b55d9793188654379e6f96a99ee9d3 [INFO] running `Command { std: "docker" "start" "-a" "ad09e53ff5677a935b372f4069a80dcc41b55d9793188654379e6f96a99ee9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad09e53ff5677a935b372f4069a80dcc41b55d9793188654379e6f96a99ee9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad09e53ff5677a935b372f4069a80dcc41b55d9793188654379e6f96a99ee9d3", kill_on_drop: false }` [INFO] [stdout] ad09e53ff5677a935b372f4069a80dcc41b55d9793188654379e6f96a99ee9d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0581312c34220cb6ea8bd0a6c5262ea0dca2bb3a274f37175932558d786e9533 [INFO] running `Command { std: "docker" "start" "-a" "0581312c34220cb6ea8bd0a6c5262ea0dca2bb3a274f37175932558d786e9533", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tokio v1.39.3 [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 22.13s [INFO] running `Command { std: "docker" "inspect" "0581312c34220cb6ea8bd0a6c5262ea0dca2bb3a274f37175932558d786e9533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0581312c34220cb6ea8bd0a6c5262ea0dca2bb3a274f37175932558d786e9533", kill_on_drop: false }` [INFO] [stdout] 0581312c34220cb6ea8bd0a6c5262ea0dca2bb3a274f37175932558d786e9533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 107725d90a6c3774e4442422e92a7311e6ea97da976550161f3dc26ab404d90f [INFO] running `Command { std: "docker" "start" "-a" "107725d90a6c3774e4442422e92a7311e6ea97da976550161f3dc26ab404d90f", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling object v0.36.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling mintex v0.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [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] 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 `csnmpv1` (example "bulkwalk") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 [INFO] running `Command { std: "docker" "inspect" "107725d90a6c3774e4442422e92a7311e6ea97da976550161f3dc26ab404d90f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107725d90a6c3774e4442422e92a7311e6ea97da976550161f3dc26ab404d90f", kill_on_drop: false }` [INFO] [stdout] 107725d90a6c3774e4442422e92a7311e6ea97da976550161f3dc26ab404d90f