[INFO] cloning repository https://github.com/playit-cloud/playit-agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/playit-cloud/playit-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayit-cloud%2Fplayit-agent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayit-cloud%2Fplayit-agent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16dfce7a389a2c5f4d12ebd2bed3b32a99ad6d1d [INFO] testing playit-cloud/playit-agent 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%2Fplayit-cloud%2Fplayit-agent" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/playit-cloud/playit-agent 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/playit-cloud/playit-agent [INFO] finished tweaking git repo https://github.com/playit-cloud/playit-agent [INFO] tweaked toml for git repo https://github.com/playit-cloud/playit-agent written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/playit-cloud/playit-agent 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 9727ee4d258dedef079d75b35f8d29c2d8314ff92486b443d7d1313bfb0dd04d [INFO] running `Command { std: "docker" "start" "-a" "9727ee4d258dedef079d75b35f8d29c2d8314ff92486b443d7d1313bfb0dd04d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9727ee4d258dedef079d75b35f8d29c2d8314ff92486b443d7d1313bfb0dd04d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9727ee4d258dedef079d75b35f8d29c2d8314ff92486b443d7d1313bfb0dd04d", kill_on_drop: false }` [INFO] [stdout] 9727ee4d258dedef079d75b35f8d29c2d8314ff92486b443d7d1313bfb0dd04d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 5f258ca2cd82e336bf639a3b254ad827d1a0d9460c4a951b37b4227da1a45241 [INFO] running `Command { std: "docker" "start" "-a" "5f258ca2cd82e336bf639a3b254ad827d1a0d9460c4a951b37b4227da1a45241", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling webbrowser v0.5.5 (https://github.com/playit-cloud/webbrowser-rs?rev=820f661c2d0afe87ca838546beef4ff9b8b1a10b#820f661c) [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossterm v0.22.1 [INFO] [stderr] Compiling crossterm v0.23.0 [INFO] [stderr] Compiling tracing-appender v0.2.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tui v0.17.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling clap v3.1.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling embed-resource v1.7.1 [INFO] [stderr] Compiling agent v0.7.3-beta (/opt/rustwide/workdir/packages/agent) [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling agent-common v0.1.1 (/opt/rustwide/workdir/packages/agent_common) [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> packages/agent_common/src/lib.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr, SocketAddrV4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> packages/agent_common/src/agent_config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/agent_common/src/auth.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut key = HmacSha256::create(shared_secret.as_ref()); [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] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> packages/agent/src/api_client.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::{Body, header, Method, Request}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::instrument::WithSubscriber` [INFO] [stdout] --> packages/agent/src/api_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::instrument::WithSubscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> packages/agent/src/events.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicUsize` [INFO] [stdout] --> packages/agent/src/events.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::AtomicUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockMappedWriteGuard` [INFO] [stdout] --> packages/agent/src/events.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::{RwLock, RwLockMappedWriteGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> packages/agent/src/application.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClaimProto` [INFO] [stdout] --> packages/agent/src/application.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use agent_common::{ClaimLease, ClaimProto, NewClient, Proto}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `agent_common::agent_config::AgentConfig` [INFO] [stdout] --> packages/agent/src/application.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use agent_common::agent_config::AgentConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stats` [INFO] [stdout] --> packages/agent/src/application.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::tcp_client::{Stats, TcpConnection}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/agent/src/application.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut last_udp_keep_alive_response = Arc::new(AtomicU64::new(now_milli())); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> packages/agent/src/agent_config.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::replace(&mut *self.config.write().await, api_config.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/tcp_client.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | self.host_to_tunnel.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/tcp_client.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | self.tunnel_to_host.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/tracked_task.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | self.task.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/application.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | config_update_task.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/application.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | keep_alive_task.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/application.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | handle_tcp_clients.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/application.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | keep_udp_alive.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/agent/src/application.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | handle_udp_packets.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `)`, `,`, `::`, or `=`, found `-` [INFO] [stdout] --> packages/agent/bin/agent.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(not(target-family = "unix"))] [INFO] [stdout] | ^ expected one of `(`, `)`, `,`, `::`, or `=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `agent` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5f258ca2cd82e336bf639a3b254ad827d1a0d9460c4a951b37b4227da1a45241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f258ca2cd82e336bf639a3b254ad827d1a0d9460c4a951b37b4227da1a45241", kill_on_drop: false }` [INFO] [stdout] 5f258ca2cd82e336bf639a3b254ad827d1a0d9460c4a951b37b4227da1a45241