[INFO] cloning repository https://github.com/thomas-yasuoka/bin_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomas-yasuoka/bin_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-yasuoka%2Fbin_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-yasuoka%2Fbin_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fed2ac9b43ba88e372991126106b3c04f3b43e5e [INFO] testing thomas-yasuoka/bin_bot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-yasuoka%2Fbin_bot" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomas-yasuoka/bin_bot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomas-yasuoka/bin_bot [INFO] finished tweaking git repo https://github.com/thomas-yasuoka/bin_bot [INFO] tweaked toml for git repo https://github.com/thomas-yasuoka/bin_bot written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/thomas-yasuoka/bin_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dd4c60fdaeca7b179698ddcf110860801faa2e4c798e8bc40fa9799984d65b8 [INFO] running `Command { std: "docker" "start" "-a" "0dd4c60fdaeca7b179698ddcf110860801faa2e4c798e8bc40fa9799984d65b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dd4c60fdaeca7b179698ddcf110860801faa2e4c798e8bc40fa9799984d65b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd4c60fdaeca7b179698ddcf110860801faa2e4c798e8bc40fa9799984d65b8", kill_on_drop: false }` [INFO] [stdout] 0dd4c60fdaeca7b179698ddcf110860801faa2e4c798e8bc40fa9799984d65b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b77526880829ea538c8a2bad563bbdd9dff0c6cf34f8f984663c3c3a533587d2 [INFO] running `Command { std: "docker" "start" "-a" "b77526880829ea538c8a2bad563bbdd9dff0c6cf34f8f984663c3c3a533587d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling bin_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_tungstenite` [INFO] [stdout] --> src/websockets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_tungstenite::{connect_async, tungstenite::protocol::Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tokio_tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_tungstenite` [INFO] [stdout] --> src/websockets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_tungstenite::{connect_async, tungstenite::protocol::Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tokio_tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `native_tls` [INFO] [stdout] --> src/websockets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use native_tls::TlsConnector; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `native_tls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> src/websockets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::{future, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/websockets.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Message::Text(msg) => {println!("{}", msg)} [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/websockets.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | Message::Ping(_) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/websockets.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Message::Pong(_) => {println!("Pong")} [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/websockets.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Message::Binary(_) => {println!("Binary")} [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/websockets.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Message::Frame(_) => {println!("Frame")} [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/websockets.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Message::Close(e) => {println!("{:?}", e)} [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `APIResponse` is private [INFO] [stdout] --> src/endpoints.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn exc_info() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `APIResponse` is defined here [INFO] [stdout] --> src/json_formats.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | struct APIResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `APIResponse` is private [INFO] [stdout] --> src/endpoints.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | .json::() [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `APIResponse` is defined here [INFO] [stdout] --> src/json_formats.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | struct APIResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> src/websockets.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt` [INFO] [stdout] --> src/websockets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/websockets.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 11 | / loop { [INFO] [stdout] 12 | | let message = read.next().await.unwrap()?; [INFO] [stdout] 13 | | match message { [INFO] [stdout] 14 | | Message::Text(msg) => {println!("{}", msg)} [INFO] [stdout] ... | [INFO] [stdout] 25 | | tokio::time::sleep(core::time::Duration::from_secs(5)); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 27 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bin_bot` due to 13 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b77526880829ea538c8a2bad563bbdd9dff0c6cf34f8f984663c3c3a533587d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b77526880829ea538c8a2bad563bbdd9dff0c6cf34f8f984663c3c3a533587d2", kill_on_drop: false }` [INFO] [stdout] b77526880829ea538c8a2bad563bbdd9dff0c6cf34f8f984663c3c3a533587d2