[INFO] fetching crate hass-rs 0.2.0... [INFO] testing hass-rs-0.2.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate hass-rs 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate hass-rs 0.2.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hass-rs 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hass-rs 0.2.0 [INFO] tweaked toml for crates.io crate hass-rs 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate hass-rs 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.5.16 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded smol v0.1.18 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] [stderr] Downloaded rustls v0.17.0 [INFO] [stderr] Downloaded fastrand v1.3.3 [INFO] [stderr] Downloaded parking v1.0.5 [INFO] [stderr] Downloaded async-std v1.6.2 [INFO] [stderr] Downloaded concurrent-queue v1.1.1 [INFO] [stderr] Downloaded blocking v0.4.6 [INFO] [stderr] Downloaded webpki-roots v0.19.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.15 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded syn v1.0.34 [INFO] [stderr] Downloaded tungstenite v0.11.0 [INFO] [stderr] Downloaded async-tls v0.7.0 [INFO] [stderr] Downloaded async-tungstenite v0.7.1 [INFO] [stderr] Downloaded tokio-native-tls v0.1.0 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93f247cbe004d582b95a259a01d060294a7f89ae5f4cb799d0b209ec9d586bbd [INFO] running `Command { std: "docker" "start" "-a" "93f247cbe004d582b95a259a01d060294a7f89ae5f4cb799d0b209ec9d586bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93f247cbe004d582b95a259a01d060294a7f89ae5f4cb799d0b209ec9d586bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f247cbe004d582b95a259a01d060294a7f89ae5f4cb799d0b209ec9d586bbd", kill_on_drop: false }` [INFO] [stdout] 93f247cbe004d582b95a259a01d060294a7f89ae5f4cb799d0b209ec9d586bbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 556aca8b2139e0a3615b23739e29fdbce1294221010e8627f7f237d5f6d5b7d7 [INFO] running `Command { std: "docker" "start" "-a" "556aca8b2139e0a3615b23739e29fdbce1294221010e8627f7f237d5f6d5b7d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling parking v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tungstenite v0.11.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling async-tls v0.7.0 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling async-tungstenite v0.7.1 [INFO] [stderr] Compiling hass-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Close` [INFO] [stdout] --> src/types/command.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/command.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.52s [INFO] running `Command { std: "docker" "inspect" "556aca8b2139e0a3615b23739e29fdbce1294221010e8627f7f237d5f6d5b7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556aca8b2139e0a3615b23739e29fdbce1294221010e8627f7f237d5f6d5b7d7", kill_on_drop: false }` [INFO] [stdout] 556aca8b2139e0a3615b23739e29fdbce1294221010e8627f7f237d5f6d5b7d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0d6984e8870949f43aeac3b69dfb67af07fa3ced3c5925fd37a42dbb5d259e5 [INFO] running `Command { std: "docker" "start" "-a" "a0d6984e8870949f43aeac3b69dfb67af07fa3ced3c5925fd37a42dbb5d259e5", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stdout] warning: variant is never constructed: `Close` [INFO] [stdout] --> src/types/command.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/command.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling hass-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Close` [INFO] [stdout] --> src/types/command.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/command.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.63s [INFO] running `Command { std: "docker" "inspect" "a0d6984e8870949f43aeac3b69dfb67af07fa3ced3c5925fd37a42dbb5d259e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d6984e8870949f43aeac3b69dfb67af07fa3ced3c5925fd37a42dbb5d259e5", kill_on_drop: false }` [INFO] [stdout] a0d6984e8870949f43aeac3b69dfb67af07fa3ced3c5925fd37a42dbb5d259e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e3fcfa329329e553d45065cd7687749a07a856aaaadfbf3da7a26c23c6c678c [INFO] running `Command { std: "docker" "start" "-a" "8e3fcfa329329e553d45065cd7687749a07a856aaaadfbf3da7a26c23c6c678c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variant is never constructed: `Close` [INFO] [stderr] --> src/types/command.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Close, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/command.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hass-rs` (lib) generated 1 warning [INFO] [stderr] warning: `hass-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hass_rs-a0a53244a4b01d69) [INFO] [stdout] [INFO] [stderr] Doc-tests hass-rs [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/types/events.rs - types::events::HassEvent (line 4) ... FAILED [INFO] [stdout] test src/client.rs - client::HassClient::get_config (line 201) - compile ... ok [INFO] [stdout] test src/client.rs - client::HassClient::auth_with_longlivedtoken (line 44) - compile ... ok [INFO] [stdout] test src/client.rs - client::HassClient::get_states (line 247) - compile ... ok [INFO] [stdout] test src/client.rs - client::HassClient::unsubscribe_event (line 173) - compile ... ok [INFO] [stdout] test src/client.rs - client::HassClient::get_services (line 292) - compile ... ok [INFO] [stdout] test src/client.rs - client::HassClient::call_service (line 340) - compile ... ok [INFO] [stdout] test src/client.rs - client::HassClient::subscribe_event (line 136) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 22) - compile ... ok [INFO] [stdout] test src/client.rs - client::HassClient::ping (line 91) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/types/events.rs - types::events::HassEvent (line 4) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `object` [INFO] [stdout] --> src/types/events.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 3 | This object represents the Home Assistant Event [INFO] [stdout] | ^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/types/events.rs - types::events::HassEvent (line 4) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "8e3fcfa329329e553d45065cd7687749a07a856aaaadfbf3da7a26c23c6c678c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3fcfa329329e553d45065cd7687749a07a856aaaadfbf3da7a26c23c6c678c", kill_on_drop: false }` [INFO] [stdout] 8e3fcfa329329e553d45065cd7687749a07a856aaaadfbf3da7a26c23c6c678c