[INFO] cloning repository https://github.com/Bhup-GitHUB/p2p-sharing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bhup-GitHUB/p2p-sharing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhup-GitHUB%2Fp2p-sharing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhup-GitHUB%2Fp2p-sharing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9cf14a46741742837ce629d9523f5d7d35733d2
[INFO] checking Bhup-GitHUB/p2p-sharing against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhup-GitHUB%2Fp2p-sharing" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bhup-GitHUB/p2p-sharing
[INFO] finished tweaking git repo https://github.com/Bhup-GitHUB/p2p-sharing
[INFO] tweaked toml for git repo https://github.com/Bhup-GitHUB/p2p-sharing written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bhup-GitHUB/p2p-sharing on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bhup-GitHUB/p2p-sharing already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hostname v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7968f9944ce2c92ab430c21cd5cb135ec8a1ace71a21ee49d6c7c41b159077d4
[INFO] running `Command { std: "docker" "start" "-a" "7968f9944ce2c92ab430c21cd5cb135ec8a1ace71a21ee49d6c7c41b159077d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7968f9944ce2c92ab430c21cd5cb135ec8a1ace71a21ee49d6c7c41b159077d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7968f9944ce2c92ab430c21cd5cb135ec8a1ace71a21ee49d6c7c41b159077d4", kill_on_drop: false }`
[INFO] [stdout] 7968f9944ce2c92ab430c21cd5cb135ec8a1ace71a21ee49d6c7c41b159077d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86f9f56eaa8b4ce65309bb87a448b611d70bb11e03edde30e82bb20dbe9e6606
[INFO] running `Command { std: "docker" "start" "-a" "86f9f56eaa8b4ce65309bb87a448b611d70bb11e03edde30e82bb20dbe9e6606", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking hostname v0.4.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling syn v2.0.109
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking p2p-sharing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/peer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::RwLock`
[INFO] [stdout]  --> src/peer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/peer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::RwLock`
[INFO] [stdout]  --> src/peer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_clone` found for struct `tokio::net::UdpSocket` in the current scope
[INFO] [stdout]     --> src/discovery.rs:46:43
[INFO] [stdout]      |
[INFO] [stdout]   46 |         let socket = Arc::new(self.socket.try_clone()?);
[INFO] [stdout]      |                                           ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: there is a method `try_io` with a similar name, but with different arguments
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/net/udp.rs:1467:5
[INFO] [stdout]      |
[INFO] [stdout] 1467 | /     pub fn try_io<R>(
[INFO] [stdout] 1468 | |         &self,
[INFO] [stdout] 1469 | |         interest: Interest,
[INFO] [stdout] 1470 | |         f: impl FnOnce() -> io::Result<R>,
[INFO] [stdout] 1471 | |     ) -> io::Result<R> {
[INFO] [stdout]      | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_clone` found for struct `tokio::net::UdpSocket` in the current scope
[INFO] [stdout]     --> src/discovery.rs:46:43
[INFO] [stdout]      |
[INFO] [stdout]   46 |         let socket = Arc::new(self.socket.try_clone()?);
[INFO] [stdout]      |                                           ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: there is a method `try_io` with a similar name, but with different arguments
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/net/udp.rs:1467:5
[INFO] [stdout]      |
[INFO] [stdout] 1467 | /     pub fn try_io<R>(
[INFO] [stdout] 1468 | |         &self,
[INFO] [stdout] 1469 | |         interest: Interest,
[INFO] [stdout] 1470 | |         f: impl FnOnce() -> io::Result<R>,
[INFO] [stdout] 1471 | |     ) -> io::Result<R> {
[INFO] [stdout]      | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `stream` as mutable more than once at a time
[INFO] [stdout]    --> src/transfer.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut reader = BufReader::new(&mut stream);
[INFO] [stdout]     |                                         ----------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 128 |                 Self::write_message(&mut stream, &accept_msg).await?;
[INFO] [stdout]     |                                     ^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 138 |                         Self::read_message(&mut reader)
[INFO] [stdout]     |                                            ----------- first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of partially moved value: `expected_checksum`
[INFO] [stdout]    --> src/transfer.rs:204:25
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 let verified = if let Some(expected) = expected_checksum {
[INFO] [stdout]     |                                            -------- value partially moved here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                         expected_checksum,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ value borrowed here after partial move
[INFO] [stdout]     |
[INFO] [stdout]     = note: partial move occurs because value has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout]     = note: this error originates in the macro `$crate::__macro_support::format_args` which comes from the expansion of the macro `tracing::warn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 let verified = if let Some(ref expected) = expected_checksum {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `stream` as mutable more than once at a time
[INFO] [stdout]    --> src/transfer.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut reader = BufReader::new(&mut stream);
[INFO] [stdout]     |                                         ----------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 128 |                 Self::write_message(&mut stream, &accept_msg).await?;
[INFO] [stdout]     |                                     ^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 138 |                         Self::read_message(&mut reader)
[INFO] [stdout]     |                                            ----------- first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of partially moved value: `expected_checksum`
[INFO] [stdout]    --> src/transfer.rs:204:25
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 let verified = if let Some(expected) = expected_checksum {
[INFO] [stdout]     |                                            -------- value partially moved here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                         expected_checksum,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ value borrowed here after partial move
[INFO] [stdout]     |
[INFO] [stdout]     = note: partial move occurs because value has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout]     = note: this error originates in the macro `$crate::__macro_support::format_args` which comes from the expansion of the macro `tracing::warn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 let verified = if let Some(ref expected) = expected_checksum {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0027]: pattern does not mention field `transfer_id`
[INFO] [stdout]    --> src/transfer.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason } => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `transfer_id`
[INFO] [stdout]     |
[INFO] [stdout] help: include the missing field in the pattern
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason, transfer_id } => {
[INFO] [stdout]     |                                             +++++++++++++
[INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason, transfer_id: _ } => {
[INFO] [stdout]     |                                             ++++++++++++++++
[INFO] [stdout] help: or always ignore missing fields here
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason, .. } => {
[INFO] [stdout]     |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0027]: pattern does not mention field `transfer_id`
[INFO] [stdout]    --> src/transfer.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason } => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `transfer_id`
[INFO] [stdout]     |
[INFO] [stdout] help: include the missing field in the pattern
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason, transfer_id } => {
[INFO] [stdout]     |                                             +++++++++++++
[INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason, transfer_id: _ } => {
[INFO] [stdout]     |                                             ++++++++++++++++
[INFO] [stdout] help: or always ignore missing fields here
[INFO] [stdout]     |
[INFO] [stdout] 273 |             TransferMessage::Reject { reason, .. } => {
[INFO] [stdout]     |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `self` does not live long enough
[INFO] [stdout]    --> src/websocket.rs:122:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |           self: Arc<Self>,
[INFO] [stdout]     |           ---- binding `self` declared here
[INFO] [stdout] ...
[INFO] [stdout] 122 |                   let peers = self.peers.read().await;
[INFO] [stdout]     |                               ^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 151 | /                         tokio::spawn(async move {
[INFO] [stdout] 152 | |                             match transfer_service.send_file(peer.address, file_path).await {
[INFO] [stdout] 153 | |                                 Ok(_) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |                         });
[INFO] [stdout]     | |__________________________- argument requires that `self` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 387 |       }
[INFO] [stdout]     |       - `self` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/spawn.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `peers` does not live long enough
[INFO] [stdout]    --> src/websocket.rs:123:37
[INFO] [stdout]     |
[INFO] [stdout] 122 |                   let peers = self.peers.read().await;
[INFO] [stdout]     |                       ----- binding `peers` declared here
[INFO] [stdout] 123 |                   if let Some(peer) = peers.get_peer(&peer_id) {
[INFO] [stdout]     |                                       ^^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 151 | /                         tokio::spawn(async move {
[INFO] [stdout] 152 | |                             match transfer_service.send_file(peer.address, file_path).await {
[INFO] [stdout] 153 | |                                 Ok(_) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |                         });
[INFO] [stdout]     | |__________________________- argument requires that `peers` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 192 |               }
[INFO] [stdout]     |               - `peers` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/spawn.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `file_path`
[INFO] [stdout]    --> src/websocket.rs:177:40
[INFO] [stdout]     |
[INFO] [stdout] 124 |                     let file_path = PathBuf::from(&file_path);
[INFO] [stdout]     |                         --------- move occurs because `file_path` has type `PathBuf`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 151 |                         tokio::spawn(async move {
[INFO] [stdout]     |                                      ---------- value moved here
[INFO] [stdout] 152 |                             match transfer_service.send_file(peer.address, file_path).await {
[INFO] [stdout]     |                                                                            --------- variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 177 |                             file_path: file_path.to_string_lossy().to_string(),
[INFO] [stdout]     |                                        ^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `send_file` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/transfer.rs:225:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub async fn send_file(
[INFO] [stdout]     |                  --------- in this method
[INFO] [stdout] ...
[INFO] [stdout] 225 |         file_path: PathBuf,
[INFO] [stdout]     |                    ^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     = note: borrow occurs due to deref coercion to `std::path::Path`
[INFO] [stdout] help: consider cloning the value before moving it into the closure
[INFO] [stdout]     |
[INFO] [stdout] 151 ~                         let value = file_path.clone();
[INFO] [stdout] 152 ~                         tokio::spawn(async move {
[INFO] [stdout] 153 ~                             match transfer_service.send_file(peer.address, value).await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `self` does not live long enough
[INFO] [stdout]    --> src/websocket.rs:122:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |           self: Arc<Self>,
[INFO] [stdout]     |           ---- binding `self` declared here
[INFO] [stdout] ...
[INFO] [stdout] 122 |                   let peers = self.peers.read().await;
[INFO] [stdout]     |                               ^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 151 | /                         tokio::spawn(async move {
[INFO] [stdout] 152 | |                             match transfer_service.send_file(peer.address, file_path).await {
[INFO] [stdout] 153 | |                                 Ok(_) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |                         });
[INFO] [stdout]     | |__________________________- argument requires that `self` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 387 |       }
[INFO] [stdout]     |       - `self` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/spawn.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `peers` does not live long enough
[INFO] [stdout]    --> src/websocket.rs:123:37
[INFO] [stdout]     |
[INFO] [stdout] 122 |                   let peers = self.peers.read().await;
[INFO] [stdout]     |                       ----- binding `peers` declared here
[INFO] [stdout] 123 |                   if let Some(peer) = peers.get_peer(&peer_id) {
[INFO] [stdout]     |                                       ^^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 151 | /                         tokio::spawn(async move {
[INFO] [stdout] 152 | |                             match transfer_service.send_file(peer.address, file_path).await {
[INFO] [stdout] 153 | |                                 Ok(_) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |                         });
[INFO] [stdout]     | |__________________________- argument requires that `peers` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 192 |               }
[INFO] [stdout]     |               - `peers` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/spawn.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `file_path`
[INFO] [stdout]    --> src/websocket.rs:177:40
[INFO] [stdout]     |
[INFO] [stdout] 124 |                     let file_path = PathBuf::from(&file_path);
[INFO] [stdout]     |                         --------- move occurs because `file_path` has type `PathBuf`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 151 |                         tokio::spawn(async move {
[INFO] [stdout]     |                                      ---------- value moved here
[INFO] [stdout] 152 |                             match transfer_service.send_file(peer.address, file_path).await {
[INFO] [stdout]     |                                                                            --------- variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 177 |                             file_path: file_path.to_string_lossy().to_string(),
[INFO] [stdout]     |                                        ^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `send_file` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/transfer.rs:225:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub async fn send_file(
[INFO] [stdout]     |                  --------- in this method
[INFO] [stdout] ...
[INFO] [stdout] 225 |         file_path: PathBuf,
[INFO] [stdout]     |                    ^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     = note: borrow occurs due to deref coercion to `std::path::Path`
[INFO] [stdout] help: consider cloning the value before moving it into the closure
[INFO] [stdout]     |
[INFO] [stdout] 151 ~                         let value = file_path.clone();
[INFO] [stdout] 152 ~                         tokio::spawn(async move {
[INFO] [stdout] 153 ~                             match transfer_service.send_file(peer.address, value).await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `recv_task`
[INFO] [stdout]    --> src/websocket.rs:485:13
[INFO] [stdout]     |
[INFO] [stdout] 438 |     let recv_task = tokio::spawn(async move {
[INFO] [stdout]     |         --------- move occurs because `recv_task` has type `tokio::task::JoinHandle<()>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 485 |             recv_task.abort();
[INFO] [stdout]     |             ^^^^^^^^^ value borrowed here after move
[INFO] [stdout] 486 |         }
[INFO] [stdout] 487 |         _ = recv_task => {
[INFO] [stdout]     |             --------- value moved here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `recv_task`
[INFO] [stdout]    --> src/websocket.rs:485:13
[INFO] [stdout]     |
[INFO] [stdout] 438 |     let recv_task = tokio::spawn(async move {
[INFO] [stdout]     |         --------- move occurs because `recv_task` has type `tokio::task::JoinHandle<()>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 485 |             recv_task.abort();
[INFO] [stdout]     |             ^^^^^^^^^ value borrowed here after move
[INFO] [stdout] 486 |         }
[INFO] [stdout] 487 |         _ = recv_task => {
[INFO] [stdout]     |             --------- value moved here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/transfer.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         config: Arc<AppConfig>,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `received_checksum`
[INFO] [stdout]    --> src/transfer.rs:174:44
[INFO] [stdout]     |
[INFO] [stdout] 174 | ...                   file_checksum: received_checksum,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_received_checksum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/transfer.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         config: Arc<AppConfig>,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `received_checksum`
[INFO] [stdout]    --> src/transfer.rs:174:44
[INFO] [stdout]     |
[INFO] [stdout] 174 | ...                   file_checksum: received_checksum,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_received_checksum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_id`
[INFO] [stdout]    --> src/websocket.rs:374:44
[INFO] [stdout]     |
[INFO] [stdout] 374 |             ClientMessage::SendDirectory { peer_id, dir_path } => {
[INFO] [stdout]     |                                            ^^^^^^^ help: try ignoring the field: `peer_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir_path`
[INFO] [stdout]    --> src/websocket.rs:374:53
[INFO] [stdout]     |
[INFO] [stdout] 374 |             ClientMessage::SendDirectory { peer_id, dir_path } => {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: try ignoring the field: `dir_path: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_id`
[INFO] [stdout]    --> src/websocket.rs:374:44
[INFO] [stdout]     |
[INFO] [stdout] 374 |             ClientMessage::SendDirectory { peer_id, dir_path } => {
[INFO] [stdout]     |                                            ^^^^^^^ help: try ignoring the field: `peer_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir_path`
[INFO] [stdout]    --> src/websocket.rs:374:53
[INFO] [stdout]     |
[INFO] [stdout] 374 |             ClientMessage::SendDirectory { peer_id, dir_path } => {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: try ignoring the field: `dir_path: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0027, E0382, E0499, E0597, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0027`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0027, E0382, E0499, E0597, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0027`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `p2p-sharing` (bin "p2p-sharing") due to 8 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `p2p-sharing` (bin "p2p-sharing" test) due to 8 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "86f9f56eaa8b4ce65309bb87a448b611d70bb11e03edde30e82bb20dbe9e6606", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86f9f56eaa8b4ce65309bb87a448b611d70bb11e03edde30e82bb20dbe9e6606", kill_on_drop: false }`
[INFO] [stdout] 86f9f56eaa8b4ce65309bb87a448b611d70bb11e03edde30e82bb20dbe9e6606
