[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] a7117f65232bd36cd4a685febe7a95e7c110c3b1 [INFO] testing scaleway/netbox2netshot against 1.64.0 for beta-1.65-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscaleway%2Fnetbox2netshot" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scaleway/netbox2netshot on toolchain 1.64.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.64.0" "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-2/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" "+1.64.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockito v0.30.0 [INFO] [stderr] Downloaded assert-json-diff v2.0.1 [INFO] [stderr] Downloaded flexi_logger v0.19.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d3a11b4612ecff6123fd460283a6ae66a7603a815c2f93d6b4989e7a5d83b14 [INFO] running `Command { std: "docker" "start" "-a" "0d3a11b4612ecff6123fd460283a6ae66a7603a815c2f93d6b4989e7a5d83b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d3a11b4612ecff6123fd460283a6ae66a7603a815c2f93d6b4989e7a5d83b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d3a11b4612ecff6123fd460283a6ae66a7603a815c2f93d6b4989e7a5d83b14", kill_on_drop: false }` [INFO] [stdout] 0d3a11b4612ecff6123fd460283a6ae66a7603a815c2f93d6b4989e7a5d83b14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c865c8e0e2078daa976f13f6e7eb7b065371a5bfb6f5f0ba2eb785925d176f2 [INFO] running `Command { std: "docker" "start" "-a" "2c865c8e0e2078daa976f13f6e7eb7b065371a5bfb6f5f0ba2eb785925d176f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling flexi_logger v0.19.6 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling netbox2netshot v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `is_valid` is never used [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 `new_anonymous` is never used [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "2c865c8e0e2078daa976f13f6e7eb7b065371a5bfb6f5f0ba2eb785925d176f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c865c8e0e2078daa976f13f6e7eb7b065371a5bfb6f5f0ba2eb785925d176f2", kill_on_drop: false }` [INFO] [stdout] 2c865c8e0e2078daa976f13f6e7eb7b065371a5bfb6f5f0ba2eb785925d176f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c3b04546ee87addb0854ce82afdc499bae0b158a74844e5db1ad92935da612e [INFO] running `Command { std: "docker" "start" "-a" "6c3b04546ee87addb0854ce82afdc499bae0b158a74844e5db1ad92935da612e", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.4 [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.5 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling netbox2netshot v0.1.10 (/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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.92s [INFO] running `Command { std: "docker" "inspect" "6c3b04546ee87addb0854ce82afdc499bae0b158a74844e5db1ad92935da612e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3b04546ee87addb0854ce82afdc499bae0b158a74844e5db1ad92935da612e", kill_on_drop: false }` [INFO] [stdout] 6c3b04546ee87addb0854ce82afdc499bae0b158a74844e5db1ad92935da612e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5b86257be4f33da1cbce559e260d0675e8a506bae99c62673e77eeaa86b6082 [INFO] running `Command { std: "docker" "start" "-a" "e5b86257be4f33da1cbce559e260d0675e8a506bae99c62673e77eeaa86b6082", 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] [INFO] [stderr] warning: `netbox2netshot` (bin "netbox2netshot" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/netbox2netshot-48ce0c0ee7949874) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test rest::netshot::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netbox::tests::authenticated_initialization ... ok [INFO] [stdout] test rest::netbox::tests::anonymous_initialization ... ok [INFO] [stdout] test rest::netshot::tests::single_good_device ... ok [INFO] [stdout] test rest::netbox::tests::single_device_without_name ... ok [INFO] [stdout] test rest::netbox::tests::single_good_device ... ok [INFO] [stdout] test rest::netbox::tests::successful_ping ... ok [INFO] [stdout] test rest::netbox::tests::failed_ping ... ok [INFO] [stdout] test rest::netbox::tests::single_device_without_primary_ip ... ok [INFO] [stdout] test rest::netshot::tests::search_devices ... ok [INFO] [stdout] test rest::netshot::tests::disable_device ... ok [INFO] [stdout] test rest::netshot::tests::good_device_registration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e5b86257be4f33da1cbce559e260d0675e8a506bae99c62673e77eeaa86b6082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b86257be4f33da1cbce559e260d0675e8a506bae99c62673e77eeaa86b6082", kill_on_drop: false }` [INFO] [stdout] e5b86257be4f33da1cbce559e260d0675e8a506bae99c62673e77eeaa86b6082