[INFO] fetching crate netbox2netshot 0.1.3... [INFO] testing netbox2netshot-0.1.3 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate netbox2netshot 0.1.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate netbox2netshot 0.1.3 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-11/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert-json-diff v2.0.1 [INFO] [stderr] Downloaded mockito v0.30.0 [INFO] [stderr] Downloaded flexi_logger v0.17.1 [INFO] [stderr] Downloaded openssl-sys v0.9.62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc371ca8ec7586ccdeb3a7bf511210b864f5f98e91c791e981f672846abafc39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc371ca8ec7586ccdeb3a7bf511210b864f5f98e91c791e981f672846abafc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc371ca8ec7586ccdeb3a7bf511210b864f5f98e91c791e981f672846abafc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc371ca8ec7586ccdeb3a7bf511210b864f5f98e91c791e981f672846abafc39", kill_on_drop: false }` [INFO] [stdout] dc371ca8ec7586ccdeb3a7bf511210b864f5f98e91c791e981f672846abafc39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1b05cba89314c7ff92bde01d7a5e44ed306835ce62cd6c2f9990330113f5ffcf [INFO] running `Command { std: "docker" "start" "-a" "1b05cba89314c7ff92bde01d7a5e44ed306835ce62cd6c2f9990330113f5ffcf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.62 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 pin-project v1.0.7 [INFO] [stderr] Compiling structopt v0.3.21 [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 serde_json v1.0.64 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.7 [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 51.45s [INFO] running `Command { std: "docker" "inspect" "1b05cba89314c7ff92bde01d7a5e44ed306835ce62cd6c2f9990330113f5ffcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b05cba89314c7ff92bde01d7a5e44ed306835ce62cd6c2f9990330113f5ffcf", kill_on_drop: false }` [INFO] [stdout] 1b05cba89314c7ff92bde01d7a5e44ed306835ce62cd6c2f9990330113f5ffcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 464de9850f86f9d8a3e0c3220a54931ffd89c721f6c3bff82b6084625f271254 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "464de9850f86f9d8a3e0c3220a54931ffd89c721f6c3bff82b6084625f271254", kill_on_drop: false }` [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 12.56s [INFO] running `Command { std: "docker" "inspect" "464de9850f86f9d8a3e0c3220a54931ffd89c721f6c3bff82b6084625f271254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464de9850f86f9d8a3e0c3220a54931ffd89c721f6c3bff82b6084625f271254", kill_on_drop: false }` [INFO] [stdout] 464de9850f86f9d8a3e0c3220a54931ffd89c721f6c3bff82b6084625f271254 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e01482425669305a7870a9278a7aa77e9d186daa63d52fa593fb02b97eb5537 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6e01482425669305a7870a9278a7aa77e9d186daa63d52fa593fb02b97eb5537", 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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/netbox2netshot-e1689ef35c6fdd27) [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::netbox] Creating new Netbox 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] test rest::netshot::tests::authenticated_initialization ... ok [INFO] [stdout] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] test rest::netbox::tests::authenticated_initialization ... ok [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] test rest::netbox::tests::anonymous_initialization ... ok [INFO] [stdout] DEBUG [mockito] Mock::drop() called for [INFO] [stdout] GET /api/dcim/devices/?(any) [INFO] [stdout] [INFO] [stdout] test rest::netbox::tests::single_device_without_name ... 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] DEBUG [reqwest::connect] starting new connection: http://127.0.0.1:1234/ [INFO] [stdout] test rest::netbox::tests::single_good_device ... ok [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_device_without_primary_ip ... 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] 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] test rest::netshot::tests::good_device_registration ... ok [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] 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] 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] 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] test rest::netbox::tests::failed_ping ... ok [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] 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 '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] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e01482425669305a7870a9278a7aa77e9d186daa63d52fa593fb02b97eb5537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e01482425669305a7870a9278a7aa77e9d186daa63d52fa593fb02b97eb5537", kill_on_drop: false }` [INFO] [stdout] 6e01482425669305a7870a9278a7aa77e9d186daa63d52fa593fb02b97eb5537