[INFO] cloning repository https://github.com/scaleway/netbox2netshot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scaleway/netbox2netshot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscaleway%2Fnetbox2netshot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscaleway%2Fnetbox2netshot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 912204e5b42d9bfc8534843e66226b1aac14a558 [INFO] testing scaleway/netbox2netshot against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscaleway%2Fnetbox2netshot" "/workspace/builds/worker-100/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-100/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scaleway/netbox2netshot on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scaleway/netbox2netshot [INFO] finished tweaking git repo https://github.com/scaleway/netbox2netshot [INFO] tweaked toml for git repo https://github.com/scaleway/netbox2netshot written to /workspace/builds/worker-100/source/Cargo.toml [INFO] crate git repo https://github.com/scaleway/netbox2netshot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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 time v0.3.4 [INFO] [stderr] Downloaded flexi_logger v0.19.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c84533fd8a7bd16f06192e46e5f872cd67aaa43fe6263903cabd56316d42bf70 [INFO] running `Command { std: "docker" "start" "-a" "c84533fd8a7bd16f06192e46e5f872cd67aaa43fe6263903cabd56316d42bf70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c84533fd8a7bd16f06192e46e5f872cd67aaa43fe6263903cabd56316d42bf70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84533fd8a7bd16f06192e46e5f872cd67aaa43fe6263903cabd56316d42bf70", kill_on_drop: false }` [INFO] [stdout] c84533fd8a7bd16f06192e46e5f872cd67aaa43fe6263903cabd56316d42bf70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbc3b19c87cdb3e52315040228043508dd991feecff951e15449360cc1c2764b [INFO] running `Command { std: "docker" "start" "-a" "bbc3b19c87cdb3e52315040228043508dd991feecff951e15449360cc1c2764b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling time v0.3.4 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling flexi_logger v0.19.6 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling netbox2netshot v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/rest/netbox.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | 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:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new_anonymous(url: String, proxy: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable_device` [INFO] [stdout] --> src/rest/netshot.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn enable_device(&self, ip_address: String) -> Result, Error> { [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 1m 26s [INFO] running `Command { std: "docker" "inspect" "bbc3b19c87cdb3e52315040228043508dd991feecff951e15449360cc1c2764b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc3b19c87cdb3e52315040228043508dd991feecff951e15449360cc1c2764b", kill_on_drop: false }` [INFO] [stdout] bbc3b19c87cdb3e52315040228043508dd991feecff951e15449360cc1c2764b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a64c8e07d1119346e253f41b4ffeeaf9f8526cc715230e93540b9be1fe8297a0 [INFO] running `Command { std: "docker" "start" "-a" "a64c8e07d1119346e253f41b4ffeeaf9f8526cc715230e93540b9be1fe8297a0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling netbox2netshot v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `enable_device` [INFO] [stdout] --> src/rest/netshot.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn enable_device(&self, ip_address: String) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Logger::adaptive_format_for_stderr` that must be used [INFO] [stdout] --> src/main.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / Logger::try_with_str("debug") [INFO] [stdout] 222 | | .unwrap() [INFO] [stdout] 223 | | .adaptive_format_for_stderr(AdaptiveFormat::Detailed); [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` 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 1m 01s [INFO] running `Command { std: "docker" "inspect" "a64c8e07d1119346e253f41b4ffeeaf9f8526cc715230e93540b9be1fe8297a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64c8e07d1119346e253f41b4ffeeaf9f8526cc715230e93540b9be1fe8297a0", kill_on_drop: false }` [INFO] [stdout] a64c8e07d1119346e253f41b4ffeeaf9f8526cc715230e93540b9be1fe8297a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f7ff04dc841a22959280d6188f05a98a4974ab3b33284c2f569b81f4a326bed [INFO] running `Command { std: "docker" "start" "-a" "8f7ff04dc841a22959280d6188f05a98a4974ab3b33284c2f569b81f4a326bed", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `enable_device` [INFO] [stderr] --> src/rest/netshot.rs:265:12 [INFO] [stderr] | [INFO] [stderr] 265 | pub fn enable_device(&self, ip_address: String) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Logger::adaptive_format_for_stderr` that must be used [INFO] [stderr] --> src/main.rs:221:9 [INFO] [stderr] | [INFO] [stderr] 221 | / Logger::try_with_str("debug") [INFO] [stderr] 222 | | .unwrap() [INFO] [stderr] 223 | | .adaptive_format_for_stderr(AdaptiveFormat::Detailed); [INFO] [stderr] | |__________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `netbox2netshot` (bin "netbox2netshot" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/netbox2netshot-e7c33416af93a5b6) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test rest::netbox::tests::anonymous_initialization ... ok [INFO] [stdout] test rest::netshot::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netbox::tests::single_device_without_primary_ip ... ok [INFO] [stdout] test rest::netbox::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netshot::tests::good_device_registration ... ok [INFO] [stdout] test rest::netshot::tests::search_devices ... ok [INFO] [stdout] test rest::netbox::tests::single_device_without_name ... 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::successful_ping ... ok [INFO] [stdout] test rest::netshot::tests::disable_device ... ok [INFO] [stdout] test rest::netshot::tests::single_good_device ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f7ff04dc841a22959280d6188f05a98a4974ab3b33284c2f569b81f4a326bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7ff04dc841a22959280d6188f05a98a4974ab3b33284c2f569b81f4a326bed", kill_on_drop: false }` [INFO] [stdout] 8f7ff04dc841a22959280d6188f05a98a4974ab3b33284c2f569b81f4a326bed