[INFO] cloning repository https://github.com/cppcoffee/btsniffer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cppcoffee/btsniffer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcppcoffee%2Fbtsniffer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcppcoffee%2Fbtsniffer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d621eb1453fa4a24a212e3e5a03941831c8f1534 [INFO] checking cppcoffee/btsniffer against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcppcoffee%2Fbtsniffer" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cppcoffee/btsniffer on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cppcoffee/btsniffer [INFO] removed path dependency bencode from git repo https://github.com/cppcoffee/btsniffer [INFO] finished tweaking git repo https://github.com/cppcoffee/btsniffer [INFO] tweaked toml for git repo https://github.com/cppcoffee/btsniffer written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/cppcoffee/btsniffer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (bencode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (bencode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eea833898f007cda22a58402eed7d7b29061ef7f12b7459e2534ae83c6f46234 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eea833898f007cda22a58402eed7d7b29061ef7f12b7459e2534ae83c6f46234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eea833898f007cda22a58402eed7d7b29061ef7f12b7459e2534ae83c6f46234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea833898f007cda22a58402eed7d7b29061ef7f12b7459e2534ae83c6f46234", kill_on_drop: false }` [INFO] [stdout] eea833898f007cda22a58402eed7d7b29061ef7f12b7459e2534ae83c6f46234 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad4e4918502dd9424ab7a3a275212c6256b86cc661702ca81b013a550086e7db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad4e4918502dd9424ab7a3a275212c6256b86cc661702ca81b013a550086e7db", kill_on_drop: false }` [INFO] [stderr] warning: dependency (bencode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking bencode v0.1.16 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking futures-lite v1.11.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking polling v2.0.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling structopt-derive v0.4.12 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking structopt v0.3.19 [INFO] [stderr] Checking btsniffer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bencode::Result` [INFO] [stdout] --> src/torrent.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use bencode::{Error, Result}; [INFO] [stdout] | ^^^^^^ no `Result` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::Value` [INFO] [stdout] --> src/metawire.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bencode::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Value` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::Value` [INFO] [stdout] --> src/dht.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bencode::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Value` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/metawire.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/metawire.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | let r = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | let a = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:293:26 [INFO] [stdout] | [INFO] [stdout] 293 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:303:26 [INFO] [stdout] | [INFO] [stdout] 303 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::Result` [INFO] [stdout] --> src/torrent.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use bencode::{Error, Result}; [INFO] [stdout] | ^^^^^^ no `Result` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::Value` [INFO] [stdout] --> src/metawire.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bencode::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Value` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::Value` [INFO] [stdout] --> src/dht.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bencode::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Value` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/metawire.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/metawire.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | let r = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | let a = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:293:26 [INFO] [stdout] | [INFO] [stdout] 293 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `map` in `bencode` [INFO] [stdout] --> src/dht.rs:303:26 [INFO] [stdout] | [INFO] [stdout] 303 | let m = bencode::map!( [INFO] [stdout] | ^^^ could not find `map` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in crate `bencode` [INFO] [stdout] --> src/torrent.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | fn extract_path(value: &bencode::Value) -> Result { [INFO] [stdout] | ^^^^^ not found in `bencode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::metawire::io::utils::io::sys::ext::net::sys_common::util::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use log::kv::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in crate `bencode` [INFO] [stdout] --> src/torrent.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn extract_files(value: &bencode::Value) -> Result { [INFO] [stdout] | ^^^^^ not found in `bencode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::metawire::io::utils::io::sys::ext::net::sys_common::util::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use log::kv::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/torrent.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let m = bencode::from_bytes(meta)?; [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `from_iter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | let m = bencode::from_bytes(payload)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 159 | let m = bencode::from_iter(payload)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::torrent::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | let m = bencode::from_bytes(&payload[..trailer_index])?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 219 | let m = bencode::from_iter(&payload[..trailer_index])?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::torrent::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/dht.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let c = bencode::from_bytes(&buf[..n])?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 108 | let c = bencode::from_iter(&buf[..n])?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::torrent::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/dht.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 299 | bencode::to_bytes(&Value::from(m)).map_err(crate::Error::from) [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/dht.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | bencode::to_bytes(&Value::from(m)).map_err(crate::Error::from) [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/torrent.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bencode::{Error, Result}; [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | use streaming::{StreamingParser, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/errors.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use bencode::Error as BencodeError; [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | use streaming::{StreamingParser, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neighbor_id` [INFO] [stdout] --> src/dht.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::util::{neighbor_id, rand_infohash_key, rand_transation_id}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in crate `bencode` [INFO] [stdout] --> src/torrent.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | fn extract_path(value: &bencode::Value) -> Result { [INFO] [stdout] | ^^^^^ not found in `bencode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::metawire::io::utils::io::sys::ext::net::sys_common::util::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use log::kv::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in crate `bencode` [INFO] [stdout] --> src/torrent.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn extract_files(value: &bencode::Value) -> Result { [INFO] [stdout] | ^^^^^ not found in `bencode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::metawire::io::utils::io::sys::ext::net::sys_common::util::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use log::kv::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/torrent.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let m = bencode::from_bytes(meta)?; [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `from_iter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | let m = bencode::from_bytes(payload)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 159 | let m = bencode::from_iter(payload)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::torrent::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/metawire.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | let m = bencode::from_bytes(&payload[..trailer_index])?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 219 | let m = bencode::from_iter(&payload[..trailer_index])?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::torrent::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in crate `bencode` [INFO] [stdout] --> src/dht.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let c = bencode::from_bytes(&buf[..n])?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn from_iter>(iter: T) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `from_iter` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 108 | let c = bencode::from_iter(&buf[..n])?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::torrent::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/dht.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 299 | bencode::to_bytes(&Value::from(m)).map_err(crate::Error::from) [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_bytes` in crate `bencode` [INFO] [stdout] --> src/dht.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | bencode::to_bytes(&Value::from(m)).map_err(crate::Error::from) [INFO] [stdout] | ^^^^^^^^ not found in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/torrent.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bencode::{Error, Result}; [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | use streaming::{StreamingParser, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/errors.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use bencode::Error as BencodeError; [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bencode-0.1.16/src/bencode.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | use streaming::{StreamingParser, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neighbor_id` [INFO] [stdout] --> src/dht.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::util::{neighbor_id, rand_infohash_key, rand_transation_id}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:203:54 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/metawire.rs:203:54 [INFO] [stdout] | [INFO] [stdout] 203 | let data = bencode::to_bytes(&Value::from(m))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let buf = self.make_reply(tid, r)?; [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let buf = self.make_reply(tid, r)?; [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | let buf = self.make_reply(tid, r)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | let buf = self.make_reply(tid, r)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:210:42 [INFO] [stdout] | [INFO] [stdout] 210 | let buf = self.make_reply(tid, r)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:210:42 [INFO] [stdout] | [INFO] [stdout] 210 | let buf = self.make_reply(tid, r)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let buf = self.make_query(&rand_transation_id(), b"find_node", a)?; [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | let buf = self.make_query(&rand_transation_id(), b"find_node", a)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:285:74 [INFO] [stdout] | [INFO] [stdout] 285 | let buf = self.make_query(&rand_transation_id(), b"find_node", a)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let buf = self.make_query(&rand_transation_id(), b"find_node", a)?; [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | let buf = self.make_query(&rand_transation_id(), b"find_node", a)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/dht.rs:285:74 [INFO] [stdout] | [INFO] [stdout] 285 | let buf = self.make_query(&rand_transation_id(), b"find_node", a)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btsniffer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 33 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ad4e4918502dd9424ab7a3a275212c6256b86cc661702ca81b013a550086e7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4e4918502dd9424ab7a3a275212c6256b86cc661702ca81b013a550086e7db", kill_on_drop: false }` [INFO] [stdout] ad4e4918502dd9424ab7a3a275212c6256b86cc661702ca81b013a550086e7db