[INFO] fetching crate netbox2netshot 0.1.3... [INFO] testing netbox2netshot-0.1.3 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate netbox2netshot 0.1.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate netbox2netshot 0.1.3 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate netbox2netshot 0.1.3 [INFO] finished tweaking crates.io crate netbox2netshot 0.1.3 [INFO] tweaked toml for crates.io crate netbox2netshot 0.1.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate netbox2netshot 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 862f27e2126a526466f691713cd2aa1e4a1c73934b316b0034cf015be5f2c9eb [INFO] running `Command { std: "docker" "start" "-a" "862f27e2126a526466f691713cd2aa1e4a1c73934b316b0034cf015be5f2c9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "862f27e2126a526466f691713cd2aa1e4a1c73934b316b0034cf015be5f2c9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862f27e2126a526466f691713cd2aa1e4a1c73934b316b0034cf015be5f2c9eb", kill_on_drop: false }` [INFO] [stdout] 862f27e2126a526466f691713cd2aa1e4a1c73934b316b0034cf015be5f2c9eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 616fa19dbb96d3048121a182c471d462fe9a6ea35d62deaf71a54c0d37ce48a5 [INFO] running `Command { std: "docker" "start" "-a" "616fa19dbb96d3048121a182c471d462fe9a6ea35d62deaf71a54c0d37ce48a5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.62 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling flexi_logger v0.17.1 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling netbox2netshot v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut netbox_hashmap: HashMap<_, _> = netbox_devices [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/rest/netbox.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_anonymous` [INFO] [stdout] --> src/rest/netbox.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new_anonymous(url: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.06s [INFO] running `Command { std: "docker" "inspect" "616fa19dbb96d3048121a182c471d462fe9a6ea35d62deaf71a54c0d37ce48a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616fa19dbb96d3048121a182c471d462fe9a6ea35d62deaf71a54c0d37ce48a5", kill_on_drop: false }` [INFO] [stdout] 616fa19dbb96d3048121a182c471d462fe9a6ea35d62deaf71a54c0d37ce48a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b64891491c936885355d5fda0977a5b491697a5cfb2658d3ed03b89423493e0e [INFO] running `Command { std: "docker" "start" "-a" "b64891491c936885355d5fda0977a5b491697a5cfb2658d3ed03b89423493e0e", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling netbox2netshot v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duplicate` [INFO] [stdout] --> src/main.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | use flexi_logger::{Duplicate, LogTarget, Logger}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut netbox_hashmap: HashMap<_, _> = netbox_devices [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.65s [INFO] running `Command { std: "docker" "inspect" "b64891491c936885355d5fda0977a5b491697a5cfb2658d3ed03b89423493e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64891491c936885355d5fda0977a5b491697a5cfb2658d3ed03b89423493e0e", kill_on_drop: false }` [INFO] [stdout] b64891491c936885355d5fda0977a5b491697a5cfb2658d3ed03b89423493e0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bdbcf01277b64b15bd0e8da7dde4536119c48348208ab2404ec74cd64437a27a [INFO] running `Command { std: "docker" "start" "-a" "bdbcf01277b64b15bd0e8da7dde4536119c48348208ab2404ec74cd64437a27a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duplicate` [INFO] [stderr] --> src/main.rs:163:24 [INFO] [stderr] | [INFO] [stderr] 163 | use flexi_logger::{Duplicate, LogTarget, Logger}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let mut netbox_hashmap: HashMap<_, _> = netbox_devices [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `netbox2netshot` (bin "netbox2netshot" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/netbox2netshot-80dcf04eec4af2f7) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] DEBUG [mockito::server] Server is listening at 127.0.0.1:1234 [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Creating new Netbox client to http://127.0.0.1:1234 [INFO] [stdout] DEBUG [netbox2netshot::rest::netshot] Creating new Netshot client to http://127.0.0.1:1234 [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Creating new Netbox client to http://127.0.0.1:1234 [INFO] [stdout] DEBUG [netbox2netshot::rest::netshot] Creating new Netshot client to http://127.0.0.1:1234 [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] test rest::netbox::tests::anonymous_initialization ... ok [INFO] [stdout] DEBUG [mockito::server] Request received: [INFO] [stdout] GET /api/devices [INFO] [stdout] accept: application/json [INFO] [stdout] user-agent: netbox2netshot [INFO] [stdout] x-netshot-api-token: [INFO] [stdout] host: 127.0.0.1:1234 [INFO] [stdout] [INFO] [stdout] DEBUG [mockito::server] Mock found [INFO] [stdout] test rest::netbox::tests::authenticated_initialization ... ok [INFO] [stdout] DEBUG [reqwest::async_impl::client] response '200 OK' for http://127.0.0.1:1234/api/devices [INFO] [stdout] DEBUG [netbox2netshot::rest::netshot] Got 1 devices from Netshot [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] GET /api/devices?(any) [INFO] [stdout] [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Creating new Netbox client to http://127.0.0.1:1234 [INFO] [stdout] test rest::netshot::tests::single_good_device ... ok [INFO] [stdout] test rest::netshot::tests::authenticated_initialization ... ok [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] DEBUG [mockito::server] Request received: [INFO] [stdout] GET /api/dcim/devices/?limit=100&offset=0& [INFO] [stdout] accept: */* [INFO] [stdout] user-agent: netbox2netshot [INFO] [stdout] host: 127.0.0.1:1234 [INFO] [stdout] [INFO] [stdout] DEBUG [mockito::server] Mock found [INFO] [stdout] DEBUG [reqwest::async_impl::client] response '200 OK' for http://127.0.0.1:1234/api/dcim/devices/?limit=100&offset=0& [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Got 1 devices on the 1 matches (page 0/0) [INFO] [stdout] INFO [netbox2netshot::rest::netbox] Fetched 1 devices from Netbox [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] GET /api/dcim/devices/?(any) [INFO] [stdout] [INFO] [stdout] DEBUG [netbox2netshot::rest::netshot] Creating new Netshot client to http://127.0.0.1:1234 [INFO] [stdout] test rest::netbox::tests::single_good_device ... ok [INFO] [stdout] INFO [netbox2netshot::rest::netshot] Registering new device with IP 1.2.3.4 [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] DEBUG [mockito::server] Request received: [INFO] [stdout] POST /api/devices [INFO] [stdout] content-type: application/json [INFO] [stdout] accept: application/json [INFO] [stdout] user-agent: netbox2netshot [INFO] [stdout] x-netshot-api-token: [INFO] [stdout] host: 127.0.0.1:1234 [INFO] [stdout] content-length: 56 [INFO] [stdout] {"autoDiscover":true,"ipAddress":"1.2.3.4","domainId":2} [INFO] [stdout] [INFO] [stdout] DEBUG [mockito::server] Mock found [INFO] [stdout] DEBUG [reqwest::async_impl::client] response '200 OK' for http://127.0.0.1:1234/api/devices [INFO] [stdout] DEBUG [netbox2netshot::rest::netshot] Device registration for device 1.2.3.4 requested with task ID 504 [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] POST /api/devices?(any) [INFO] [stdout] {"autoDiscover":true,"ipAddress":"1.2.3.4","domainId":2} [INFO] [stdout] [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Creating new Netbox client to http://127.0.0.1:1234 [INFO] [stdout] test rest::netshot::tests::good_device_registration ... ok [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] DEBUG [mockito::server] Request received: [INFO] [stdout] GET /api/dcim/devices/?limit=100&offset=0& [INFO] [stdout] accept: */* [INFO] [stdout] user-agent: netbox2netshot [INFO] [stdout] host: 127.0.0.1:1234 [INFO] [stdout] [INFO] [stdout] DEBUG [mockito::server] Mock found [INFO] [stdout] DEBUG [reqwest::async_impl::client] response '200 OK' for http://127.0.0.1:1234/api/dcim/devices/?limit=100&offset=0& [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Got 1 devices on the 1 matches (page 0/0) [INFO] [stdout] INFO [netbox2netshot::rest::netbox] Fetched 1 devices from Netbox [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] GET /api/dcim/devices/?(any) [INFO] [stdout] [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Creating new Netbox client to http://127.0.0.1:1234 [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Pinging http://127.0.0.1:1234/api/dcim/devices/?name=netbox2netshot-ping [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] DEBUG [mockito::server] Request received: [INFO] [stdout] GET /api/dcim/devices/?name=netbox2netshot-ping [INFO] [stdout] accept: */* [INFO] [stdout] user-agent: netbox2netshot [INFO] [stdout] host: 127.0.0.1:1234 [INFO] [stdout] [INFO] [stdout] DEBUG [mockito::server] Mock found [INFO] [stdout] test rest::netbox::tests::single_device_without_name ... ok [INFO] [stdout] DEBUG [reqwest::async_impl::client] response '200 OK' for http://127.0.0.1:1234/api/dcim/devices/?name=netbox2netshot-ping [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Ping response: 200 OK [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] GET /api/dcim/devices/?name=netbox2netshot-ping [INFO] [stdout] [INFO] [stdout] test rest::netbox::tests::successful_ping ... ok [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Creating new Netbox client to http://127.0.0.1:1234 [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] DEBUG [mockito::server] Request received: [INFO] [stdout] GET /api/dcim/devices/?limit=100&offset=0& [INFO] [stdout] accept: */* [INFO] [stdout] user-agent: netbox2netshot [INFO] [stdout] host: 127.0.0.1:1234 [INFO] [stdout] [INFO] [stdout] DEBUG [mockito::server] Mock found [INFO] [stdout] DEBUG [reqwest::async_impl::client] response '200 OK' for http://127.0.0.1:1234/api/dcim/devices/?limit=100&offset=0& [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Got 1 devices on the 1 matches (page 0/0) [INFO] [stdout] INFO [netbox2netshot::rest::netbox] Fetched 1 devices from Netbox [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] GET /api/dcim/devices/?(any) [INFO] [stdout] [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Creating new Netbox client to http://127.0.0.1:1234 [INFO] [stdout] test rest::netbox::tests::single_device_without_primary_ip ... ok [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Pinging http://127.0.0.1:1234/api/dcim/devices/?name=netbox2netshot-ping [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] DEBUG [mockito::server] Request received: [INFO] [stdout] GET /api/dcim/devices/?name=netbox2netshot-ping [INFO] [stdout] accept: */* [INFO] [stdout] user-agent: netbox2netshot [INFO] [stdout] host: 127.0.0.1:1234 [INFO] [stdout] [INFO] [stdout] DEBUG [mockito::server] Mock found [INFO] [stdout] DEBUG [reqwest::async_impl::client] response '403 Forbidden' for http://127.0.0.1:1234/api/dcim/devices/?name=netbox2netshot-ping [INFO] [stdout] DEBUG [netbox2netshot::rest::netbox] Ping response: 403 Forbidden [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] GET (any) [INFO] [stdout] [INFO] [stdout] test rest::netbox::tests::failed_ping ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bdbcf01277b64b15bd0e8da7dde4536119c48348208ab2404ec74cd64437a27a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbcf01277b64b15bd0e8da7dde4536119c48348208ab2404ec74cd64437a27a", kill_on_drop: false }` [INFO] [stdout] bdbcf01277b64b15bd0e8da7dde4536119c48348208ab2404ec74cd64437a27a