[INFO] fetching crate cratetorrent 0.1.0... [INFO] checking cratetorrent-0.1.0 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] extracting crate cratetorrent 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cratetorrent 0.1.0 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cratetorrent 0.1.0 [INFO] finished tweaking crates.io crate cratetorrent 0.1.0 [INFO] tweaked toml for crates.io crate cratetorrent 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faa84085237e624120a7bb30e16e766abc30051de5ffecb519ddfa4100e4721a [INFO] running `Command { std: "docker" "start" "-a" "faa84085237e624120a7bb30e16e766abc30051de5ffecb519ddfa4100e4721a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faa84085237e624120a7bb30e16e766abc30051de5ffecb519ddfa4100e4721a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa84085237e624120a7bb30e16e766abc30051de5ffecb519ddfa4100e4721a", kill_on_drop: false }` [INFO] [stdout] faa84085237e624120a7bb30e16e766abc30051de5ffecb519ddfa4100e4721a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d508b61d57ef1fa91b8ee30256e91b70c149938cc0e964005ab47f771e013c3 [INFO] running `Command { std: "docker" "start" "-a" "3d508b61d57ef1fa91b8ee30256e91b70c149938cc0e964005ab47f771e013c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking serde_bytes v0.11.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking serde_bencode v0.2.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking mockito v0.28.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking cratetorrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | log::info!(target: &self.ctx.log_target, "Starting outbound session"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | log::info!(target: &self.ctx.log_target, "Starting outbound session"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | log::info!(target: &self.ctx.log_target, "Connecting to peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | log::info!(target: &self.ctx.log_target, "Connecting to peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | log::info!(target: &self.ctx.log_target, "Connected to peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | log::info!(target: &self.ctx.log_target, "Starting inbound session"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | log::info!(target: &self.ctx.log_target, "Connected to peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | log::info!(target: &self.ctx.log_target, "Sending handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | log::info!(target: &self.ctx.log_target, "Waiting for peer handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | log::info!(target: &self.ctx.log_target, "Starting inbound session"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | log::info!(target: &self.ctx.log_target, "Peer sent handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | log::info!(target: &self.ctx.log_target, "Sending handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | log::trace!(target: &self.ctx.log_target, "Peer handshake: {:?}", peer_handshake); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | log::info!(target: &self.ctx.log_target, "Waiting for peer handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | log::info!(target: &self.ctx.log_target, "Peer handshake invalid info hash"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | log::info!(target: &self.ctx.log_target, "Peer sent handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | log::info!(target: &self.ctx.log_target, "Sending handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | log::trace!(target: &self.ctx.log_target, "Peer handshake: {:?}", peer_handshake); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | log::info!(target: &self.ctx.log_target, "Peer handshake invalid info hash"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | log::info!(target: &self.ctx.log_target, "Session state: {:?}", self.ctx.state.connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | log::info!(target: &self.ctx.log_target, "Sending handshake"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | / log::error!( [INFO] [stdout] 337 | | target: &self.ctx.log_target, [INFO] [stdout] 338 | | "Session stopped due to an error: {}", [INFO] [stdout] 339 | | e [INFO] [stdout] 340 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | log::error!(target: &self.ctx.log_target, "No handshake received"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | log::info!(target: &self.ctx.log_target, "Session state: {:?}", self.ctx.state.connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / log::info!( [INFO] [stdout] 368 | | target: &self.ctx.log_target, [INFO] [stdout] 369 | | "Cancelling remaining {} request(s)", [INFO] [stdout] 370 | | self.outgoing_requests.len() [INFO] [stdout] 371 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | / log::error!( [INFO] [stdout] 337 | | target: &self.ctx.log_target, [INFO] [stdout] 338 | | "Session stopped due to an error: {}", [INFO] [stdout] 339 | | e [INFO] [stdout] 340 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | log::info!(target: &self.ctx.log_target, "Sending piece availability"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | log::info!(target: &self.ctx.log_target, "Sent piece availability"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | log::error!(target: &self.ctx.log_target, "No handshake received"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:451:29 [INFO] [stdout] | [INFO] [stdout] 451 | / ... log::warn!( [INFO] [stdout] 452 | | ... target: &self.ctx.log_target, [INFO] [stdout] 453 | | ... "Neither side of connection has any pieces, disconnecting" [INFO] [stdout] 454 | | ... ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / log::info!( [INFO] [stdout] 368 | | target: &self.ctx.log_target, [INFO] [stdout] 369 | | "Cancelling remaining {} request(s)", [INFO] [stdout] 370 | | self.outgoing_requests.len() [INFO] [stdout] 371 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | / log::info!(target: &self.ctx.log_target, [INFO] [stdout] 461 | | "Session state: {:?}", [INFO] [stdout] 462 | | self.ctx.state.connection [INFO] [stdout] 463 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | / ... log::info!( [INFO] [stdout] 479 | | ... target: &self.ctx.log_target, [INFO] [stdout] 480 | | ... "Shutting down session" [INFO] [stdout] 481 | | ... ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | log::info!(target: &self.ctx.log_target, "Sending piece availability"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | log::warn!(target: &self.ctx.log_target, "Not interested in each other, disconnecting"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | log::info!(target: &self.ctx.log_target, "Sent piece availability"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | / log::debug!( [INFO] [stdout] 528 | | target: &self.ctx.log_target, [INFO] [stdout] 529 | | "State changed, updating torrent", [INFO] [stdout] 530 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | / log::info!( [INFO] [stdout] 545 | | target: &self.ctx.log_target, [INFO] [stdout] 546 | | "Request queue changed from {} to {}", [INFO] [stdout] 547 | | prev_queue_len, [INFO] [stdout] 548 | | curr_queue_len [INFO] [stdout] 549 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:451:29 [INFO] [stdout] | [INFO] [stdout] 451 | / ... log::warn!( [INFO] [stdout] 452 | | ... target: &self.ctx.log_target, [INFO] [stdout] 453 | | ... "Neither side of connection has any pieces, disconnecting" [INFO] [stdout] 454 | | ... ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | / log::debug!( [INFO] [stdout] 554 | | target: &self.ctx.log_target, [INFO] [stdout] 555 | | "Stats: \ [INFO] [stdout] 556 | | download: {dl_rate} b/s (peak: {dl_peak} b/s, total: {dl_total} b), \ [INFO] [stdout] ... | [INFO] [stdout] 572 | | in_req = self.incoming_requests.len(), [INFO] [stdout] 573 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | / log::info!(target: &self.ctx.log_target, [INFO] [stdout] 461 | | "Session state: {:?}", [INFO] [stdout] 462 | | self.ctx.state.connection [INFO] [stdout] 463 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | / log::debug!( [INFO] [stdout] 591 | | target: &self.ctx.log_target, [INFO] [stdout] 592 | | "Checking request timeout \ [INFO] [stdout] 593 | | (last {} ms ago, timeout: {} ms)", [INFO] [stdout] 594 | | elapsed_since_last_request.as_millis(), [INFO] [stdout] 595 | | request_timeout.as_millis() [INFO] [stdout] 596 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:599:17 [INFO] [stdout] | [INFO] [stdout] 599 | / log::warn!( [INFO] [stdout] 600 | | target: &self.ctx.log_target, [INFO] [stdout] 601 | | "Timeout after {} ms, cancelling {} request(s) (timeouts: {})", [INFO] [stdout] 602 | | elapsed_since_last_request.as_millis(), [INFO] [stdout] 603 | | self.outgoing_requests.len(), [INFO] [stdout] 604 | | self.ctx.timed_out_request_count + 1 [INFO] [stdout] 605 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | / ... log::info!( [INFO] [stdout] 479 | | ... target: &self.ctx.log_target, [INFO] [stdout] 480 | | ... "Shutting down session" [INFO] [stdout] 481 | | ... ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | / log::debug!( [INFO] [stdout] 633 | | target: &self.ctx.log_target, [INFO] [stdout] 634 | | "Freeing block {} for download", [INFO] [stdout] 635 | | block [INFO] [stdout] 636 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | log::warn!(target: &self.ctx.log_target, "Not interested in each other, disconnecting"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | log::info!(target: &self.ctx.log_target, "Handling peer Bitfield message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | log::trace!(target: &self.ctx.log_target, "Bitfield: {:?}", bitfield); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | / log::debug!( [INFO] [stdout] 528 | | target: &self.ctx.log_target, [INFO] [stdout] 529 | | "State changed, updating torrent", [INFO] [stdout] 530 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | log::info!(target: &self.ctx.log_target, "Peer is a seed, interested: {}", is_interested); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | / log::info!( [INFO] [stdout] 545 | | target: &self.ctx.log_target, [INFO] [stdout] 546 | | "Request queue changed from {} to {}", [INFO] [stdout] 547 | | prev_queue_len, [INFO] [stdout] 548 | | curr_queue_len [INFO] [stdout] 549 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / log::info!( [INFO] [stdout] 690 | | target: &self.ctx.log_target, [INFO] [stdout] 691 | | "Peer has {}/{} pieces, interested: {}", [INFO] [stdout] 692 | | self.peer.piece_count, [INFO] [stdout] 693 | | self.torrent.storage.piece_count, [INFO] [stdout] 694 | | is_interested [INFO] [stdout] 695 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | / log::debug!( [INFO] [stdout] 554 | | target: &self.ctx.log_target, [INFO] [stdout] 555 | | "Stats: \ [INFO] [stdout] 556 | | download: {dl_rate} b/s (peak: {dl_peak} b/s, total: {dl_total} b), \ [INFO] [stdout] ... | [INFO] [stdout] 572 | | in_req = self.incoming_requests.len(), [INFO] [stdout] 573 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | / log::info!( [INFO] [stdout] 713 | | target: &self.ctx.log_target, [INFO] [stdout] 714 | | "Peer sent bitfield message not after handshake" [INFO] [stdout] 715 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | / log::debug!( [INFO] [stdout] 591 | | target: &self.ctx.log_target, [INFO] [stdout] 592 | | "Checking request timeout \ [INFO] [stdout] 593 | | (last {} ms ago, timeout: {} ms)", [INFO] [stdout] 594 | | elapsed_since_last_request.as_millis(), [INFO] [stdout] 595 | | request_timeout.as_millis() [INFO] [stdout] 596 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:719:17 [INFO] [stdout] | [INFO] [stdout] 719 | log::info!(target: &self.ctx.log_target, "Peer sent keep alive"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | log::info!(target: &self.ctx.log_target, "Peer choked us"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:599:17 [INFO] [stdout] | [INFO] [stdout] 599 | / log::warn!( [INFO] [stdout] 600 | | target: &self.ctx.log_target, [INFO] [stdout] 601 | | "Timeout after {} ms, cancelling {} request(s) (timeouts: {})", [INFO] [stdout] 602 | | elapsed_since_last_request.as_millis(), [INFO] [stdout] 603 | | self.outgoing_requests.len(), [INFO] [stdout] 604 | | self.ctx.timed_out_request_count + 1 [INFO] [stdout] 605 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:733:21 [INFO] [stdout] | [INFO] [stdout] 733 | log::info!(target: &self.ctx.log_target, "Peer unchoked us"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | / log::debug!( [INFO] [stdout] 633 | | target: &self.ctx.log_target, [INFO] [stdout] 634 | | "Freeing block {} for download", [INFO] [stdout] 635 | | block [INFO] [stdout] 636 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:750:21 [INFO] [stdout] | [INFO] [stdout] 750 | log::info!(target: &self.ctx.log_target, "Peer became interested"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | log::info!(target: &self.ctx.log_target, "Handling peer Bitfield message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:751:21 [INFO] [stdout] | [INFO] [stdout] 751 | log::info!(target: &self.ctx.log_target, "Unchoking peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:761:21 [INFO] [stdout] | [INFO] [stdout] 761 | log::info!(target: &self.ctx.log_target, "Peer no longer interested"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | log::trace!(target: &self.ctx.log_target, "Bitfield: {:?}", bitfield); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:792:17 [INFO] [stdout] | [INFO] [stdout] 792 | log::info!(target: &self.ctx.log_target, "Peer cancelled block {}", block_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | log::trace!(target: &self.ctx.log_target, "Making requests"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | log::info!(target: &self.ctx.log_target, "Peer is a seed, interested: {}", is_interested); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | log::debug!(target: &self.ctx.log_target, "Cannot make requests while choked"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / log::info!( [INFO] [stdout] 690 | | target: &self.ctx.log_target, [INFO] [stdout] 691 | | "Peer has {}/{} pieces, interested: {}", [INFO] [stdout] 692 | | self.peer.piece_count, [INFO] [stdout] 693 | | self.torrent.storage.piece_count, [INFO] [stdout] 694 | | is_interested [INFO] [stdout] 695 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | log::debug!(target: &self.ctx.log_target, "Cannot make requests if not interested"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | / log::trace!( [INFO] [stdout] 842 | | target: &self.ctx.log_target, [INFO] [stdout] 843 | | "Trying to continue download {}", [INFO] [stdout] 844 | | download_write_guard.piece_index() [INFO] [stdout] 845 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | / log::info!( [INFO] [stdout] 713 | | target: &self.ctx.log_target, [INFO] [stdout] 714 | | "Peer sent bitfield message not after handshake" [INFO] [stdout] 715 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | log::debug!(target: &self.ctx.log_target, "Trying to pick new piece"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:719:17 [INFO] [stdout] | [INFO] [stdout] 719 | log::info!(target: &self.ctx.log_target, "Peer sent keep alive"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | log::info!(target: &self.ctx.log_target, "Picked piece {}", index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | log::info!(target: &self.ctx.log_target, "Peer choked us"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:891:17 [INFO] [stdout] | [INFO] [stdout] 891 | / log::debug!( [INFO] [stdout] 892 | | target: &self.ctx.log_target, [INFO] [stdout] 893 | | "Cannot pick more pieces (pending \ [INFO] [stdout] 894 | | pieces: {}, blocks: {})", [INFO] [stdout] 895 | | self.torrent.downloads.read().await.len(), [INFO] [stdout] 896 | | self.outgoing_requests.len(), [INFO] [stdout] 897 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | / log::info!( [INFO] [stdout] 905 | | target: &self.ctx.log_target, [INFO] [stdout] 906 | | "Requesting {} block(s) ({} pending)", [INFO] [stdout] 907 | | requests.len(), [INFO] [stdout] 908 | | self.outgoing_requests.len() [INFO] [stdout] 909 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:733:21 [INFO] [stdout] | [INFO] [stdout] 733 | log::info!(target: &self.ctx.log_target, "Peer unchoked us"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | log::debug!(target: &self.ctx.log_target, "Requesting block {}", req); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:750:21 [INFO] [stdout] | [INFO] [stdout] 750 | log::info!(target: &self.ctx.log_target, "Peer became interested"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:751:21 [INFO] [stdout] | [INFO] [stdout] 751 | log::info!(target: &self.ctx.log_target, "Unchoking peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:761:21 [INFO] [stdout] | [INFO] [stdout] 761 | log::info!(target: &self.ctx.log_target, "Peer no longer interested"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | / log::warn!( [INFO] [stdout] 958 | | target: &self.ctx.log_target, [INFO] [stdout] 959 | | "Discarding block {} with no piece download{}", [INFO] [stdout] 960 | | block_info, [INFO] [stdout] ... | [INFO] [stdout] 965 | | } [INFO] [stdout] 966 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:792:17 [INFO] [stdout] | [INFO] [stdout] 792 | log::info!(target: &self.ctx.log_target, "Peer cancelled block {}", block_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | / log::info!( [INFO] [stdout] 976 | | target: &self.ctx.log_target, [INFO] [stdout] 977 | | "Already downloaded block {}", [INFO] [stdout] 978 | | block_info [INFO] [stdout] 979 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | / log::info!( [INFO] [stdout] 982 | | target: &self.ctx.log_target, [INFO] [stdout] 983 | | "Got block {}{}", [INFO] [stdout] 984 | | block_info, [INFO] [stdout] ... | [INFO] [stdout] 991 | | } [INFO] [stdout] 992 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | log::info!(target: &self.ctx.log_target, "Got request: {:?}", block_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | log::warn!(target: &self.ctx.log_target, "Choked peer sent request"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1034 | log::warn!(target: &self.ctx.log_target, "Peer sent duplicate block request"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | log::trace!(target: &self.ctx.log_target, "Making requests"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1038:9 [INFO] [stdout] | [INFO] [stdout] 1038 | log::info!(target: &self.ctx.log_target, "Issuing disk IO read for block {}", block_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | log::debug!(target: &self.ctx.log_target, "Cannot make requests while choked"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | log::info!(target: &self.ctx.log_target, "Read from disk {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | log::debug!(target: &self.ctx.log_target, "Cannot make requests if not interested"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1067:13 [INFO] [stdout] | [INFO] [stdout] 1067 | log::warn!(target: &self.ctx.log_target, "No matching request entry for {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1072:9 [INFO] [stdout] | [INFO] [stdout] 1072 | log::info!(target: &self.ctx.log_target, "Sending {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | / log::trace!( [INFO] [stdout] 842 | | target: &self.ctx.log_target, [INFO] [stdout] 843 | | "Trying to continue download {}", [INFO] [stdout] 844 | | download_write_guard.piece_index() [INFO] [stdout] 845 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | log::info!(target: &self.ctx.log_target, "Sent {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | log::debug!(target: &self.ctx.log_target, "Trying to pick new piece"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1094:9 [INFO] [stdout] | [INFO] [stdout] 1094 | log::info!(target: &self.ctx.log_target, "Peer has piece {}", piece_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | log::info!(target: &self.ctx.log_target, "Picked piece {}", index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:891:17 [INFO] [stdout] | [INFO] [stdout] 891 | / log::debug!( [INFO] [stdout] 892 | | target: &self.ctx.log_target, [INFO] [stdout] 893 | | "Cannot pick more pieces (pending \ [INFO] [stdout] 894 | | pieces: {}, blocks: {})", [INFO] [stdout] 895 | | self.torrent.downloads.read().await.len(), [INFO] [stdout] 896 | | self.outgoing_requests.len(), [INFO] [stdout] 897 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | log::info!(target: &self.ctx.log_target, "Became interested in peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1137:13 [INFO] [stdout] | [INFO] [stdout] 1137 | log::info!(target: &self.ctx.log_target, "No longer interested in peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | / log::info!( [INFO] [stdout] 905 | | target: &self.ctx.log_target, [INFO] [stdout] 906 | | "Requesting {} block(s) ({} pending)", [INFO] [stdout] 907 | | requests.len(), [INFO] [stdout] 908 | | self.outgoing_requests.len() [INFO] [stdout] 909 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1187:13 [INFO] [stdout] | [INFO] [stdout] 1187 | / log::debug!( [INFO] [stdout] 1188 | | target: &self.ctx.log_target, [INFO] [stdout] 1189 | | "Announcing piece {}", [INFO] [stdout] 1190 | | piece_index [INFO] [stdout] 1191 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | log::debug!(target: &self.ctx.log_target, "Requesting block {}", req); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1205:21 [INFO] [stdout] | [INFO] [stdout] 1205 | / log::info!( [INFO] [stdout] 1206 | | target: &self.ctx.log_target, [INFO] [stdout] 1207 | | "Already have block {}, cancelling", [INFO] [stdout] 1208 | | block [INFO] [stdout] 1209 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | / log::warn!( [INFO] [stdout] 958 | | target: &self.ctx.log_target, [INFO] [stdout] 959 | | "Discarding block {} with no piece download{}", [INFO] [stdout] 960 | | block_info, [INFO] [stdout] ... | [INFO] [stdout] 965 | | } [INFO] [stdout] 966 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | / log::info!( [INFO] [stdout] 976 | | target: &self.ctx.log_target, [INFO] [stdout] 977 | | "Already downloaded block {}", [INFO] [stdout] 978 | | block_info [INFO] [stdout] 979 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1150:9 [INFO] [stdout] | [INFO] [stdout] 1150 | log::trace!(target: &self.ctx.log_target, "Validating {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1156:13 [INFO] [stdout] | [INFO] [stdout] 1156 | log::warn!(target: &self.ctx.log_target, "Peer sent invalid {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | / log::info!( [INFO] [stdout] 982 | | target: &self.ctx.log_target, [INFO] [stdout] 983 | | "Got block {}{}", [INFO] [stdout] 984 | | block_info, [INFO] [stdout] ... | [INFO] [stdout] 991 | | } [INFO] [stdout] 992 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | log::info!(target: &self.ctx.log_target, "Got request: {:?}", block_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | log::warn!(target: &self.ctx.log_target, "Choked peer sent request"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1166:13 [INFO] [stdout] | [INFO] [stdout] 1166 | / log::warn!( [INFO] [stdout] 1167 | | target: &self.ctx.log_target, [INFO] [stdout] 1168 | | "Peer sent invalid piece index: {}", [INFO] [stdout] 1169 | | index [INFO] [stdout] 1170 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cratetorrent` due to 67 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1034 | log::warn!(target: &self.ctx.log_target, "Peer sent duplicate block request"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1038:9 [INFO] [stdout] | [INFO] [stdout] 1038 | log::info!(target: &self.ctx.log_target, "Issuing disk IO read for block {}", block_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | log::info!(target: &self.ctx.log_target, "Read from disk {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1067:13 [INFO] [stdout] | [INFO] [stdout] 1067 | log::warn!(target: &self.ctx.log_target, "No matching request entry for {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1072:9 [INFO] [stdout] | [INFO] [stdout] 1072 | log::info!(target: &self.ctx.log_target, "Sending {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | log::info!(target: &self.ctx.log_target, "Sent {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1094:9 [INFO] [stdout] | [INFO] [stdout] 1094 | log::info!(target: &self.ctx.log_target, "Peer has piece {}", piece_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | log::info!(target: &self.ctx.log_target, "Became interested in peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1137:13 [INFO] [stdout] | [INFO] [stdout] 1137 | log::info!(target: &self.ctx.log_target, "No longer interested in peer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1187:13 [INFO] [stdout] | [INFO] [stdout] 1187 | / log::debug!( [INFO] [stdout] 1188 | | target: &self.ctx.log_target, [INFO] [stdout] 1189 | | "Announcing piece {}", [INFO] [stdout] 1190 | | piece_index [INFO] [stdout] 1191 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1205:21 [INFO] [stdout] | [INFO] [stdout] 1205 | / log::info!( [INFO] [stdout] 1206 | | target: &self.ctx.log_target, [INFO] [stdout] 1207 | | "Already have block {}, cancelling", [INFO] [stdout] 1208 | | block [INFO] [stdout] 1209 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1150:9 [INFO] [stdout] | [INFO] [stdout] 1150 | log::trace!(target: &self.ctx.log_target, "Validating {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1156:13 [INFO] [stdout] | [INFO] [stdout] 1156 | log::warn!(target: &self.ctx.log_target, "Peer sent invalid {}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer.rs:1166:13 [INFO] [stdout] | [INFO] [stdout] 1166 | / log::warn!( [INFO] [stdout] 1167 | | target: &self.ctx.log_target, [INFO] [stdout] 1168 | | "Peer sent invalid piece index: {}", [INFO] [stdout] 1169 | | index [INFO] [stdout] 1170 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `str`, found struct `std::string::String` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, &'static str, &'static str, u32)` [INFO] [stdout] found reference `&(&std::string::String, &'static str, &'static str, u32)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/log-0.4.17/src/lib.rs:1585:8 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn __private_api_log( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cratetorrent` due to 67 previous errors [INFO] running `Command { std: "docker" "inspect" "3d508b61d57ef1fa91b8ee30256e91b70c149938cc0e964005ab47f771e013c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d508b61d57ef1fa91b8ee30256e91b70c149938cc0e964005ab47f771e013c3", kill_on_drop: false }` [INFO] [stdout] 3d508b61d57ef1fa91b8ee30256e91b70c149938cc0e964005ab47f771e013c3