[INFO] fetching crate dogehouse-rs 0.1.23... [INFO] testing dogehouse-rs-0.1.23 against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] extracting crate dogehouse-rs 0.1.23 into /workspace/builds/worker-112/source [INFO] validating manifest of crates.io crate dogehouse-rs 0.1.23 on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dogehouse-rs 0.1.23 [INFO] finished tweaking crates.io crate dogehouse-rs 0.1.23 [INFO] tweaked toml for crates.io crate dogehouse-rs 0.1.23 written to /workspace/builds/worker-112/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79b9901414b74ea81604e638ac2d80d9cb2abbb1710676c10bbf48a3f1f7f574 [INFO] running `Command { std: "docker" "start" "-a" "79b9901414b74ea81604e638ac2d80d9cb2abbb1710676c10bbf48a3f1f7f574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79b9901414b74ea81604e638ac2d80d9cb2abbb1710676c10bbf48a3f1f7f574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b9901414b74ea81604e638ac2d80d9cb2abbb1710676c10bbf48a3f1f7f574", kill_on_drop: false }` [INFO] [stdout] 79b9901414b74ea81604e638ac2d80d9cb2abbb1710676c10bbf48a3f1f7f574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f36ee99bad7ff5fc9a51c45431ecb9086a0c7ca9c87c4676afba1bfdb53b9f13 [INFO] running `Command { std: "docker" "start" "-a" "f36ee99bad7ff5fc9a51c45431ecb9086a0c7ca9c87c4676afba1bfdb53b9f13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket-base v0.26.2 [INFO] [stderr] Compiling websocket v0.26.2 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling dogehouse-rs v0.1.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | op: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | error: serde_json::Value, [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 34.49s [INFO] running `Command { std: "docker" "inspect" "f36ee99bad7ff5fc9a51c45431ecb9086a0c7ca9c87c4676afba1bfdb53b9f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36ee99bad7ff5fc9a51c45431ecb9086a0c7ca9c87c4676afba1bfdb53b9f13", kill_on_drop: false }` [INFO] [stdout] f36ee99bad7ff5fc9a51c45431ecb9086a0c7ca9c87c4676afba1bfdb53b9f13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b18da22927a1caf270a264a97b349f8a4f5d23bb5088e6fd889d6d4280d0c8f [INFO] running `Command { std: "docker" "start" "-a" "0b18da22927a1caf270a264a97b349f8a4f5d23bb5088e6fd889d6d4280d0c8f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling dogehouse-rs v0.1.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | op: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | error: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | op: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | error: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "0b18da22927a1caf270a264a97b349f8a4f5d23bb5088e6fd889d6d4280d0c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b18da22927a1caf270a264a97b349f8a4f5d23bb5088e6fd889d6d4280d0c8f", kill_on_drop: false }` [INFO] [stdout] 0b18da22927a1caf270a264a97b349f8a4f5d23bb5088e6fd889d6d4280d0c8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e55dd6e9397eeac39013df7fd64998391b3ecaa788f083b01a5b6fca842d3a8 [INFO] running `Command { std: "docker" "start" "-a" "5e55dd6e9397eeac39013df7fd64998391b3ecaa788f083b01a5b6fca842d3a8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `op` [INFO] [stderr] --> src/lib.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | op: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `error` [INFO] [stderr] --> src/lib.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | error: serde_json::Value, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dogehouse-rs` (lib) generated 2 warnings [INFO] [stderr] warning: `dogehouse-rs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dogehouse_rs-c984f4db78cd69b3) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests dogehouse-rs [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - Client::use_create_bot (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - EventHandler (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - Client::use_create_bot (line 79) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Client::use_create_bot (line 88) stdout ---- [INFO] [stdout] error[E0765]: unterminated double quote string [INFO] [stdout] --> src/lib.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 1 | client.use_create_bot("bot_name", true").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0765`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - EventHandler (line 21) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 5 | async fn on_message(&self, msg: String) { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | ___`async` because of this [INFO] [stdout] | | [INFO] [stdout] 6 | | println!("{}", msg); [INFO] [stdout] 7 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 9 | async fn on_pong(&self) { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | ___`async` because of this [INFO] [stdout] | | [INFO] [stdout] 10 | | println!("Received ping") [INFO] [stdout] 11 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 13 | async fn connection_closed(&self) { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | ___`async` because of this [INFO] [stdout] | | [INFO] [stdout] 14 | | println!("Connection has closed"); [INFO] [stdout] 15 | | std::process::exit(1); [INFO] [stdout] 16 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 18 | async fn on_ready(&self, user: &User) { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | ___`async` because of this [INFO] [stdout] | | [INFO] [stdout] 19 | | println!("{} is ready", user.display_name); [INFO] [stdout] 20 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] async_trait::async_trait [INFO] [stdout] dogehouse_rs::prelude::async_trait [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EventHandler` in this scope [INFO] [stdout] --> src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 4 | impl EventHandler for Handler { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use dogehouse_rs::EventHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handler` in this scope [INFO] [stdout] --> src/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 4 | impl EventHandler for Handler { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 18 | async fn on_ready(&self, user: &User) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dogehouse_rs::prelude::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Client::use_create_bot (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/lib.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut client = Client::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use dogehouse_rs::Client; [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] 2 | use websocket::r#async::Client; [INFO] [stdout] | [INFO] [stdout] 2 | use websocket::sync::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/lib.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 4 | token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `refresh_token` in this scope [INFO] [stdout] --> src/lib.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 5 | refresh_token [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Handler` in this scope [INFO] [stdout] --> src/lib.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 6 | ).add_event_handler(Handler); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Client::use_create_bot (line 79) [INFO] [stdout] src/lib.rs - Client::use_create_bot (line 88) [INFO] [stdout] src/lib.rs - EventHandler (line 21) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5e55dd6e9397eeac39013df7fd64998391b3ecaa788f083b01a5b6fca842d3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e55dd6e9397eeac39013df7fd64998391b3ecaa788f083b01a5b6fca842d3a8", kill_on_drop: false }` [INFO] [stdout] 5e55dd6e9397eeac39013df7fd64998391b3ecaa788f083b01a5b6fca842d3a8