[INFO] fetching crate melcloud-api 0.1.0...
[INFO] testing melcloud-api-0.1.0 against 1.49.0 for beta-1.50-1
[INFO] extracting crate melcloud-api 0.1.0 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate melcloud-api 0.1.0 on toolchain 1.49.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate melcloud-api 0.1.0
[INFO] finished tweaking crates.io crate melcloud-api 0.1.0
[INFO] tweaked toml for crates.io crate melcloud-api 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", 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] 9a52fedc03335e1f6c3d432b3cd263d8e61b485666fb0d6242e8ae0737080540
[INFO] running `Command { std: "docker" "start" "-a" "9a52fedc03335e1f6c3d432b3cd263d8e61b485666fb0d6242e8ae0737080540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a52fedc03335e1f6c3d432b3cd263d8e61b485666fb0d6242e8ae0737080540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a52fedc03335e1f6c3d432b3cd263d8e61b485666fb0d6242e8ae0737080540", kill_on_drop: false }`
[INFO] [stdout] 9a52fedc03335e1f6c3d432b3cd263d8e61b485666fb0d6242e8ae0737080540
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7446b98e555f50aa7d1f1ffe48484b76e1838714f98df34cb108525fd29aa70b
[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" "7446b98e555f50aa7d1f1ffe48484b76e1838714f98df34cb108525fd29aa70b", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling futures v0.1.30
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling syn v1.0.57
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.32
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling object v0.22.0
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.26
[INFO] [stderr]    Compiling dtoa v0.4.7
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling try_from v0.3.2
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling form_urlencoded v1.0.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.1.0
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling colored v1.9.3
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.16
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling flate2 v1.0.19
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling openssl-sys v0.9.60
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling backtrace v0.3.55
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling publicsuffix v1.5.4
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling mockito v0.17.1
[INFO] [stderr]    Compiling reqwest v0.9.24
[INFO] [stderr]    Compiling melcloud-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/api/types/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/api/types/devices.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::api::json::{Building, Device, DeviceLessDetail};
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/api/json/mod.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::serde::{Deserialize, Deserializer};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde::de::Visitor`
[INFO] [stdout]  --> src/api/json/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::serde::de::Visitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde::private::ser::Error`
[INFO] [stdout]  --> src/api/json/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde::private::ser::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/api/json/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/session.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_id`
[INFO] [stdout]   --> src/api/types/session.rs:53:50
[INFO] [stdout]    |
[INFO] [stdout] 53 |             MelcloudLoginResponse::AccessDenied {error_id} => {
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try ignoring the field: `error_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/devices.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/devices.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/api/types/devices.rs:67:36
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn parse_list_devices_response(config: &Config, message: Vec<Building>) -> Result<Vec<Building>, errors::ApiError> {
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/api/types/devices.rs:70:35
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn parse_show_device_response(config: &Config, message: DeviceLessDetail) -> Result<DeviceLessDetail, errors::ApiError> {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 30s
[INFO] running `Command { std: "docker" "inspect" "7446b98e555f50aa7d1f1ffe48484b76e1838714f98df34cb108525fd29aa70b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7446b98e555f50aa7d1f1ffe48484b76e1838714f98df34cb108525fd29aa70b", kill_on_drop: false }`
[INFO] [stdout] 7446b98e555f50aa7d1f1ffe48484b76e1838714f98df34cb108525fd29aa70b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5cec4962ebd6a8e897e4569b0631398900b55046fecc2228501983f2a0c2511a
[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" "5cec4962ebd6a8e897e4569b0631398900b55046fecc2228501983f2a0c2511a", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/api/types/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/api/types/devices.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::api::json::{Building, Device, DeviceLessDetail};
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/api/json/mod.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::serde::{Deserialize, Deserializer};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde::de::Visitor`
[INFO] [stdout]  --> src/api/json/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::serde::de::Visitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde::private::ser::Error`
[INFO] [stdout]  --> src/api/json/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde::private::ser::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/api/json/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/session.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_id`
[INFO] [stdout]   --> src/api/types/session.rs:53:50
[INFO] [stdout]    |
[INFO] [stdout] 53 |             MelcloudLoginResponse::AccessDenied {error_id} => {
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try ignoring the field: `error_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/devices.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/devices.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/api/types/devices.rs:67:36
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn parse_list_devices_response(config: &Config, message: Vec<Building>) -> Result<Vec<Building>, errors::ApiError> {
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/api/types/devices.rs:70:35
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn parse_show_device_response(config: &Config, message: DeviceLessDetail) -> Result<DeviceLessDetail, errors::ApiError> {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling melcloud-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Matcher`
[INFO] [stdout]   --> src/api/types/session.rs:63:25
[INFO] [stdout]    |
[INFO] [stdout] 63 |     use mockito::{mock, Matcher};
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/api/types/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/api/types/devices.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::api::json::{Building, Device, DeviceLessDetail};
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/api/json/mod.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::serde::{Deserialize, Deserializer};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde::de::Visitor`
[INFO] [stdout]  --> src/api/json/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::serde::de::Visitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde::private::ser::Error`
[INFO] [stdout]  --> src/api/json/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde::private::ser::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/api/json/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/session.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_id`
[INFO] [stdout]   --> src/api/types/session.rs:53:50
[INFO] [stdout]    |
[INFO] [stdout] 53 |             MelcloudLoginResponse::AccessDenied {error_id} => {
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try ignoring the field: `error_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/session.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |             Err(err) => assert!(false, "Something went wrong"),
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]    --> src/api/types/session.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Ok(session) => assert!(false, "Must return an error"),
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/devices.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/types/devices.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/api/types/devices.rs:67:36
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn parse_list_devices_response(config: &Config, message: Vec<Building>) -> Result<Vec<Building>, errors::ApiError> {
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/api/types/devices.rs:70:35
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn parse_show_device_response(config: &Config, message: DeviceLessDetail) -> Result<DeviceLessDetail, errors::ApiError> {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 10.63s
[INFO] running `Command { std: "docker" "inspect" "5cec4962ebd6a8e897e4569b0631398900b55046fecc2228501983f2a0c2511a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cec4962ebd6a8e897e4569b0631398900b55046fecc2228501983f2a0c2511a", kill_on_drop: false }`
[INFO] [stdout] 5cec4962ebd6a8e897e4569b0631398900b55046fecc2228501983f2a0c2511a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", 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] e5fbcfacfb4c11e17a94ae55e9c75a94e0cbc66bde49921c6da5dd79ab77a9eb
[INFO] running `Command { std: "docker" "start" "-a" "e5fbcfacfb4c11e17a94ae55e9c75a94e0cbc66bde49921c6da5dd79ab77a9eb", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]  --> src/api/types/config.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::env;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Device`
[INFO] [stderr]  --> src/api/types/devices.rs:5:34
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::api::json::{Building, Device, DeviceLessDetail};
[INFO] [stderr]   |                                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Deserializer`
[INFO] [stderr]  --> src/api/json/mod.rs:3:33
[INFO] [stderr]   |
[INFO] [stderr] 3 | use super::serde::{Deserialize, Deserializer};
[INFO] [stderr]   |                                 ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::serde::de::Visitor`
[INFO] [stderr]  --> src/api/json/mod.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use super::serde::de::Visitor;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::serde::private::ser::Error`
[INFO] [stderr]  --> src/api/json/mod.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use super::serde::private::ser::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt`
[INFO] [stderr]  --> src/api/json/mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::fmt;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/types/session.rs:37:17
[INFO] [stderr]    |
[INFO] [stderr] 37 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `error_id`
[INFO] [stderr]   --> src/api/types/session.rs:53:50
[INFO] [stderr]    |
[INFO] [stderr] 53 |             MelcloudLoginResponse::AccessDenied {error_id} => {
[INFO] [stderr]    |                                                  ^^^^^^^^ help: try ignoring the field: `error_id: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/types/devices.rs:38:17
[INFO] [stderr]    |
[INFO] [stderr] 38 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/types/devices.rs:62:17
[INFO] [stderr]    |
[INFO] [stderr] 62 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/api/types/devices.rs:67:36
[INFO] [stderr]    |
[INFO] [stderr] 67 |     fn parse_list_devices_response(config: &Config, message: Vec<Building>) -> Result<Vec<Building>, errors::ApiError> {
[INFO] [stderr]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/api/types/devices.rs:70:35
[INFO] [stderr]    |
[INFO] [stderr] 70 |     fn parse_show_device_response(config: &Config, message: DeviceLessDetail) -> Result<DeviceLessDetail, errors::ApiError> {
[INFO] [stderr]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: 12 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Matcher`
[INFO] [stderr]   --> src/api/types/session.rs:63:25
[INFO] [stderr]    |
[INFO] [stderr] 63 |     use mockito::{mock, Matcher};
[INFO] [stderr]    |                         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]  --> src/api/types/config.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::env;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Device`
[INFO] [stderr]  --> src/api/types/devices.rs:5:34
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::api::json::{Building, Device, DeviceLessDetail};
[INFO] [stderr]   |                                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Deserializer`
[INFO] [stderr]  --> src/api/json/mod.rs:3:33
[INFO] [stderr]   |
[INFO] [stderr] 3 | use super::serde::{Deserialize, Deserializer};
[INFO] [stderr]   |                                 ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::serde::de::Visitor`
[INFO] [stderr]  --> src/api/json/mod.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use super::serde::de::Visitor;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::serde::private::ser::Error`
[INFO] [stderr]  --> src/api/json/mod.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use super::serde::private::ser::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt`
[INFO] [stderr]  --> src/api/json/mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::fmt;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/types/session.rs:37:17
[INFO] [stderr]    |
[INFO] [stderr] 37 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `error_id`
[INFO] [stderr]   --> src/api/types/session.rs:53:50
[INFO] [stderr]    |
[INFO] [stderr] 53 |             MelcloudLoginResponse::AccessDenied {error_id} => {
[INFO] [stderr]    |                                                  ^^^^^^^^ help: try ignoring the field: `error_id: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/types/session.rs:84:17
[INFO] [stderr]    |
[INFO] [stderr] 84 |             Err(err) => assert!(false, "Something went wrong"),
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `session`
[INFO] [stderr]    --> src/api/types/session.rs:103:16
[INFO] [stderr]     |
[INFO] [stderr] 103 |             Ok(session) => assert!(false, "Must return an error"),
[INFO] [stderr]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/types/devices.rs:38:17
[INFO] [stderr]    |
[INFO] [stderr] 38 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/types/devices.rs:62:17
[INFO] [stderr]    |
[INFO] [stderr] 62 |             Err(err) => Err(errors::ApiError::LoginFailure)
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/api/types/devices.rs:67:36
[INFO] [stderr]    |
[INFO] [stderr] 67 |     fn parse_list_devices_response(config: &Config, message: Vec<Building>) -> Result<Vec<Building>, errors::ApiError> {
[INFO] [stderr]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/api/types/devices.rs:70:35
[INFO] [stderr]    |
[INFO] [stderr] 70 |     fn parse_show_device_response(config: &Config, message: DeviceLessDetail) -> Result<DeviceLessDetail, errors::ApiError> {
[INFO] [stderr]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: 15 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/melcloud_api-122ad1f37d9a202d
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] test api::types::session::tests::test_start_session ... ok
[INFO] [stdout] test api::types::session::tests::test_start_session_wrong_credentials ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests melcloud-api
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e5fbcfacfb4c11e17a94ae55e9c75a94e0cbc66bde49921c6da5dd79ab77a9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5fbcfacfb4c11e17a94ae55e9c75a94e0cbc66bde49921c6da5dd79ab77a9eb", kill_on_drop: false }`
[INFO] [stdout] e5fbcfacfb4c11e17a94ae55e9c75a94e0cbc66bde49921c6da5dd79ab77a9eb
