[INFO] fetching crate netbox2netshot 0.1.13... [INFO] testing netbox2netshot-0.1.13 against nightly-2025-01-18 for randomize-layout-3 [INFO] extracting crate netbox2netshot 0.1.13 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate netbox2netshot 0.1.13 on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate netbox2netshot 0.1.13 [INFO] finished tweaking crates.io crate netbox2netshot 0.1.13 [INFO] tweaked toml for crates.io crate netbox2netshot 0.1.13 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate netbox2netshot 0.1.13 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.214 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.45 [INFO] [stderr] Downloaded thiserror-impl v1.0.67 [INFO] [stderr] Downloaded thiserror v1.0.67 [INFO] [stderr] Downloaded schannel v0.1.26 [INFO] [stderr] Downloaded rustversion v1.0.18 [INFO] [stderr] Downloaded anyhow v1.0.92 [INFO] [stderr] Downloaded url v2.5.3 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded tokio-util v0.7.12 [INFO] [stderr] Downloaded cc v1.1.34 [INFO] [stderr] Downloaded mockito v0.30.0 [INFO] [stderr] Downloaded difference v2.0.0 [INFO] [stderr] Downloaded flexi_logger v0.19.6 [INFO] [stderr] Downloaded hyper v0.14.31 [INFO] [stderr] Downloaded security-framework-sys v2.12.0 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded serde_derive v1.0.214 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded heck v0.3.3 [INFO] [stderr] Downloaded rustix v0.38.38 [INFO] [stderr] Downloaded web-sys v0.3.72 [INFO] [stderr] Downloaded regex-automata v0.4.8 [INFO] [stderr] Downloaded libc v0.2.161 [INFO] [stderr] Downloaded tokio v1.41.0 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b84bed95285c6a0b80439f24ada6f1e7e68a0c24498f0d57a278e469a26055 [INFO] running `Command { std: "docker" "start" "-a" "d2b84bed95285c6a0b80439f24ada6f1e7e68a0c24498f0d57a278e469a26055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b84bed95285c6a0b80439f24ada6f1e7e68a0c24498f0d57a278e469a26055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b84bed95285c6a0b80439f24ada6f1e7e68a0c24498f0d57a278e469a26055", kill_on_drop: false }` [INFO] [stdout] d2b84bed95285c6a0b80439f24ada6f1e7e68a0c24498f0d57a278e469a26055 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddfcd866bc1c6903d517172eb075d26250d8dcde081818f41602d0cfecf9b26c [INFO] running `Command { std: "docker" "start" "-a" "ddfcd866bc1c6903d517172eb075d26250d8dcde081818f41602d0cfecf9b26c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling thiserror v1.0.67 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling structopt v0.3.26 [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 zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling flexi_logger v0.19.6 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling hyper v0.14.31 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [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 reqwest v0.11.27 [INFO] [stderr] Compiling netbox2netshot v0.1.13 (/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)]` 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 50.22s [INFO] running `Command { std: "docker" "inspect" "ddfcd866bc1c6903d517172eb075d26250d8dcde081818f41602d0cfecf9b26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddfcd866bc1c6903d517172eb075d26250d8dcde081818f41602d0cfecf9b26c", kill_on_drop: false }` [INFO] [stdout] ddfcd866bc1c6903d517172eb075d26250d8dcde081818f41602d0cfecf9b26c [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61d314489453c04a67d5256d4c0de75dc52c4fc183b55f16a4ab063a9bc2a8ee [INFO] running `Command { std: "docker" "start" "-a" "61d314489453c04a67d5256d4c0de75dc52c4fc183b55f16a4ab063a9bc2a8ee", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ctor v0.1.26 [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 netbox2netshot v0.1.13 (/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)]` 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 6.80s [INFO] running `Command { std: "docker" "inspect" "61d314489453c04a67d5256d4c0de75dc52c4fc183b55f16a4ab063a9bc2a8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61d314489453c04a67d5256d4c0de75dc52c4fc183b55f16a4ab063a9bc2a8ee", kill_on_drop: false }` [INFO] [stdout] 61d314489453c04a67d5256d4c0de75dc52c4fc183b55f16a4ab063a9bc2a8ee [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 157a18ede226f484b180d6371615401315b72c5039837587a1c9455fbdc20a32 [INFO] running `Command { std: "docker" "start" "-a" "157a18ede226f484b180d6371615401315b72c5039837587a1c9455fbdc20a32", 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)]` 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.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/netbox2netshot-77dc847d78ba4eb5) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test rest::netbox::tests::anonymous_initialization ... ok [INFO] [stdout] test rest::netshot::tests::disable_device ... ok [INFO] [stdout] test rest::netshot::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netbox::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netbox::tests::failed_ping ... ok [INFO] [stdout] test rest::netbox::tests::single_good_device ... 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::netbox::tests::successful_ping ... ok [INFO] [stdout] test rest::netshot::tests::single_good_device ... 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.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "157a18ede226f484b180d6371615401315b72c5039837587a1c9455fbdc20a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157a18ede226f484b180d6371615401315b72c5039837587a1c9455fbdc20a32", kill_on_drop: false }` [INFO] [stdout] 157a18ede226f484b180d6371615401315b72c5039837587a1c9455fbdc20a32