[INFO] cloning repository https://github.com/Logsig/kusa-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Logsig/kusa-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogsig%2Fkusa-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogsig%2Fkusa-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23862feb0d54f7d1a7f6a446e4762f3a827e41e1 [INFO] testing Logsig/kusa-rs against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogsig%2Fkusa-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logsig/kusa-rs on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Logsig/kusa-rs [INFO] removed path dependency rumq-core from git repo https://github.com/Logsig/kusa-rs [INFO] finished tweaking git repo https://github.com/Logsig/kusa-rs [INFO] tweaked toml for git repo https://github.com/Logsig/kusa-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Logsig/kusa-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rumq-core) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rumq-core) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9c674310ccc2bd296ff6570c82288c2943ad898c82ab61e14a92485a7b5f323 [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" "b9c674310ccc2bd296ff6570c82288c2943ad898c82ab61e14a92485a7b5f323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9c674310ccc2bd296ff6570c82288c2943ad898c82ab61e14a92485a7b5f323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c674310ccc2bd296ff6570c82288c2943ad898c82ab61e14a92485a7b5f323", kill_on_drop: false }` [INFO] [stdout] b9c674310ccc2bd296ff6570c82288c2943ad898c82ab61e14a92485a7b5f323 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6788e79812a5a4a597618dc2e7649cfb1e085df90d084113cfe40dba9e7b9e64 [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" "6788e79812a5a4a597618dc2e7649cfb1e085df90d084113cfe40dba9e7b9e64", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rumq-core) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tokio-tungstenite v0.12.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling rumq-core v0.1.0-alpha.10 [INFO] [stderr] Compiling kusa-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Packet` [INFO] [stdout] --> src/server.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | use rumq_core::mqtt4::{codec as mqtt_codec, Packet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut framed = Framed::new(stream, mqtt_codec::MqttCodec::new(2048)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_read::AsyncRead` is not satisfied [INFO] [stdout] --> src/server.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | let mut ws_stream = accept_async(stream).await.expect("Failed to accept"); [INFO] [stdout] | ^^^^^^ the trait `tokio::io::async_read::AsyncRead` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-tungstenite-0.12.0/src/lib.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | --------- required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> src/server.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | let mut ws_stream = accept_async(stream).await.expect("Failed to accept"); [INFO] [stdout] | ^^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-tungstenite-0.12.0/src/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | ---------- required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `WebSocketStream` in the current scope [INFO] [stdout] --> src/server.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | while let Some(msg) = ws_stream.next().await { [INFO] [stdout] | ^^^^ method not found in `WebSocketStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-tungstenite-0.12.0/src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct WebSocketStream { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: futures_util::StreamExt` [INFO] [stdout] | doesn't satisfy `_: tokio::stream::Stream` [INFO] [stdout] | [INFO] [stdout] = note: the method `next` exists but the following trait bounds were not satisfied: [INFO] [stdout] `WebSocketStream: tokio::stream::Stream` [INFO] [stdout] which is required by `WebSocketStream: futures_util::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `WebSocketStream` in the current scope [INFO] [stdout] --> src/server.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | ws_stream.send(msg).await?; [INFO] [stdout] | ^^^^ method not found in `WebSocketStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-tungstenite-0.12.0/src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct WebSocketStream { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `WebSocketStream: SinkExt<_>` [INFO] [stdout] | doesn't satisfy `_: futures_util::sink::Sink<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method `send` exists but the following trait bounds were not satisfied: [INFO] [stdout] `WebSocketStream: futures_util::sink::Sink<_>` [INFO] [stdout] which is required by `WebSocketStream: SinkExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/server.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::{SinkExt,StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kusa-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6788e79812a5a4a597618dc2e7649cfb1e085df90d084113cfe40dba9e7b9e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6788e79812a5a4a597618dc2e7649cfb1e085df90d084113cfe40dba9e7b9e64", kill_on_drop: false }` [INFO] [stdout] 6788e79812a5a4a597618dc2e7649cfb1e085df90d084113cfe40dba9e7b9e64