[INFO] fetching crate netbox2netshot 0.2.0... [INFO] testing netbox2netshot-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate netbox2netshot 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate netbox2netshot 0.2.0 [INFO] finished tweaking crates.io crate netbox2netshot 0.2.0 [INFO] tweaked toml for crates.io crate netbox2netshot 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate netbox2netshot 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate netbox2netshot 0.2.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d488b4f50d2c884fe57e04679f4f45f30f7b2f1dd8f1969bd6d0c744f9c69f [INFO] running `Command { std: "docker" "start" "-a" "29d488b4f50d2c884fe57e04679f4f45f30f7b2f1dd8f1969bd6d0c744f9c69f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d488b4f50d2c884fe57e04679f4f45f30f7b2f1dd8f1969bd6d0c744f9c69f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d488b4f50d2c884fe57e04679f4f45f30f7b2f1dd8f1969bd6d0c744f9c69f", kill_on_drop: false }` [INFO] [stdout] 29d488b4f50d2c884fe57e04679f4f45f30f7b2f1dd8f1969bd6d0c744f9c69f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b377381b5135c5a07fdc34ddb35fd355900e5672cd0434977180834b3f3b9e0 [INFO] running `Command { std: "docker" "start" "-a" "4b377381b5135c5a07fdc34ddb35fd355900e5672cd0434977180834b3f3b9e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.67 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.67 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling flexi_logger v0.19.6 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling netbox2netshot v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/rest/netbox.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NetboxClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 17 | pub url: String, [INFO] [stdout] 18 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetboxClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/rest/netbox.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Device { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 58 | /// Is this a valid device for import [INFO] [stdout] 59 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_anonymous` is never used [INFO] [stdout] --> src/rest/netbox.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl NetboxClient { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 65 | /// Create a client without authentication [INFO] [stdout] 66 | pub fn new_anonymous(url: String, proxy: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/rest/netshot.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct NetshotClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 15 | pub url: String, [INFO] [stdout] 16 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetshotClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "4b377381b5135c5a07fdc34ddb35fd355900e5672cd0434977180834b3f3b9e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b377381b5135c5a07fdc34ddb35fd355900e5672cd0434977180834b3f3b9e0", kill_on_drop: false }` [INFO] [stdout] 4b377381b5135c5a07fdc34ddb35fd355900e5672cd0434977180834b3f3b9e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa05455ad0c1c4adb826ebb2a23e3de46dc1808aa7e8c9ebbb8ce72361985c2 [INFO] running `Command { std: "docker" "start" "-a" "caa05455ad0c1c4adb826ebb2a23e3de46dc1808aa7e8c9ebbb8ce72361985c2", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [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 mockito v0.30.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling netbox2netshot v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Logger::adaptive_format_for_stderr` that must be used [INFO] [stdout] --> src/main.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | / Logger::try_with_str("debug") [INFO] [stdout] 252 | | .unwrap() [INFO] [stdout] 253 | | .adaptive_format_for_stderr(AdaptiveFormat::Detailed); [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = Logger::try_with_str("debug") [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.30s [INFO] running `Command { std: "docker" "inspect" "caa05455ad0c1c4adb826ebb2a23e3de46dc1808aa7e8c9ebbb8ce72361985c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa05455ad0c1c4adb826ebb2a23e3de46dc1808aa7e8c9ebbb8ce72361985c2", kill_on_drop: false }` [INFO] [stdout] caa05455ad0c1c4adb826ebb2a23e3de46dc1808aa7e8c9ebbb8ce72361985c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 380c63f0ca2ea5c9a62f506005feeeb0421ce998a751cf52756edafc299cfef1 [INFO] running `Command { std: "docker" "start" "-a" "380c63f0ca2ea5c9a62f506005feeeb0421ce998a751cf52756edafc299cfef1", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `Logger::adaptive_format_for_stderr` that must be used [INFO] [stderr] --> src/main.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | / Logger::try_with_str("debug") [INFO] [stderr] 252 | | .unwrap() [INFO] [stderr] 253 | | .adaptive_format_for_stderr(AdaptiveFormat::Detailed); [INFO] [stderr] | |_________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 251 | let _ = Logger::try_with_str("debug") [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `netbox2netshot` (bin "netbox2netshot" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/netbox2netshot-43d5be2aae9271fc) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test rest::netshot::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netshot::tests::single_good_device ... ok [INFO] [stdout] test rest::netbox::tests::anonymous_initialization ... ok [INFO] [stdout] test rest::netbox::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netbox::tests::single_good_device ... ok [INFO] [stdout] test rest::netbox::tests::failed_ping ... ok [INFO] [stdout] test rest::netbox::tests::single_device_without_name ... ok [INFO] [stdout] test rest::netshot::tests::search_devices ... ok [INFO] [stdout] test rest::netshot::tests::disable_device ... ok [INFO] [stdout] test rest::netbox::tests::successful_ping ... ok [INFO] [stdout] test rest::netshot::tests::good_device_registration ... ok [INFO] [stdout] test rest::netbox::tests::single_device_without_primary_ip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "380c63f0ca2ea5c9a62f506005feeeb0421ce998a751cf52756edafc299cfef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380c63f0ca2ea5c9a62f506005feeeb0421ce998a751cf52756edafc299cfef1", kill_on_drop: false }` [INFO] [stdout] 380c63f0ca2ea5c9a62f506005feeeb0421ce998a751cf52756edafc299cfef1