[INFO] cloning repository https://github.com/0queue/boosttorrent-redux [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0queue/boosttorrent-redux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent-redux", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent-redux'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1632f5ad4be670d537ccea1b953fd69c8f3366a6 [INFO] checking 0queue/boosttorrent-redux against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent-redux" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0queue/boosttorrent-redux on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0queue/boosttorrent-redux [INFO] removed path dependency bencode from git repo https://github.com/0queue/boosttorrent-redux [INFO] removed path dependency util from git repo https://github.com/0queue/boosttorrent-redux [INFO] finished tweaking git repo https://github.com/0queue/boosttorrent-redux [INFO] tweaked toml for git repo https://github.com/0queue/boosttorrent-redux written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/0queue/boosttorrent-redux already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b4f24730842e87cd04983cbf53b36af70ae0a15d64fc0860baf6457d668166c6 [INFO] running `Command { std: "docker" "start" "-a" "b4f24730842e87cd04983cbf53b36af70ae0a15d64fc0860baf6457d668166c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f24730842e87cd04983cbf53b36af70ae0a15d64fc0860baf6457d668166c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f24730842e87cd04983cbf53b36af70ae0a15d64fc0860baf6457d668166c6", kill_on_drop: false }` [INFO] [stdout] b4f24730842e87cd04983cbf53b36af70ae0a15d64fc0860baf6457d668166c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15fe81bf084e7e76a8786af3a82a7a94bc3ccd2863651ae3c6019b6c5e49620a [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" "15fe81bf084e7e76a8786af3a82a7a94bc3ccd2863651ae3c6019b6c5e49620a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking chunked_transfer v1.3.0 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking util v0.1.2 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking crossbeam-utils v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.14 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking bencode v0.1.16 [INFO] [stderr] Checking async-io v1.2.0 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking async-std v1.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking cookie v0.13.3 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking ureq v0.12.1 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking flume v0.7.2 [INFO] [stderr] Checking boosttorrent-redux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/main.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use util::ext::duration::DurationExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::BVal` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bencode::BVal; [INFO] [stdout] | ^^^^^^^^^^^^^ no `BVal` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::timer` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use util::timer::Timer; [INFO] [stdout] | ^^^^^ could not find `timer` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::BVal` [INFO] [stdout] --> src/tracker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bencode::BVal; [INFO] [stdout] | ^^^^^^^^^^^^^ no `BVal` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::de` [INFO] [stdout] --> src/tracker.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use bencode::de::deserialize; [INFO] [stdout] | ^^ could not find `de` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/controller/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use util::ext::bitvec::BitVecExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/peer/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use util::ext::duration::DurationExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::timer` [INFO] [stdout] --> src/protocol/message/bus.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use util::timer::Timer; [INFO] [stdout] | ^^^^^ could not find `timer` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/peer/download.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use util::ext::bitvec::BitVecExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/peer/download.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use util::ext::duration::SecondsExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::timer` [INFO] [stdout] --> src/peer/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use util::timer::Timer; [INFO] [stdout] | ^^^^^ could not find `timer` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/main.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use util::ext::duration::DurationExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::BVal` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bencode::BVal; [INFO] [stdout] | ^^^^^^^^^^^^^ no `BVal` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::timer` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use util::timer::Timer; [INFO] [stdout] | ^^^^^ could not find `timer` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::BVal` [INFO] [stdout] --> src/tracker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bencode::BVal; [INFO] [stdout] | ^^^^^^^^^^^^^ no `BVal` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bencode::de` [INFO] [stdout] --> src/tracker.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use bencode::de::deserialize; [INFO] [stdout] | ^^ could not find `de` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/controller/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use util::ext::bitvec::BitVecExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/peer/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use util::ext::duration::DurationExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::timer` [INFO] [stdout] --> src/protocol/message/bus.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use util::timer::Timer; [INFO] [stdout] | ^^^^^ could not find `timer` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/peer/download.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use util::ext::bitvec::BitVecExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stdout] --> src/peer/download.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use util::ext::duration::SecondsExt; [INFO] [stdout] | ^^^ could not find `ext` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::timer` [INFO] [stdout] --> src/peer/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use util::timer::Timer; [INFO] [stdout] | ^^^^^ could not find `timer` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `de` in `bencode` [INFO] [stdout] --> src/main.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | bencode::de::deserialize(&contents)? [INFO] [stdout] | ^^ could not find `de` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `de` in `bencode` [INFO] [stdout] --> src/main.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | bencode::de::deserialize(&contents)? [INFO] [stdout] | ^^ could not find `de` in `bencode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zeroes` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/controller/mod.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | println!("> zeroes: {:?}", write.bitfield.zeroes()); [INFO] [stdout] | ^^^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ones` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/controller/mod.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | let ones = local_bitfield.ones().len(); [INFO] [stdout] | ^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zeroes` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/controller/mod.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | println!("> zeroes: {:?}", write.bitfield.zeroes()); [INFO] [stdout] | ^^^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zeroes` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/controller/mod.rs:151:52 [INFO] [stdout] | [INFO] [stdout] 151 | println!("Done. Zeroes: {:?}", local_bitfield.zeroes()); [INFO] [stdout] | ^^^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ones` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/controller/mod.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | let ones = local_bitfield.ones().len(); [INFO] [stdout] | ^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zeroes` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/controller/mod.rs:151:52 [INFO] [stdout] | [INFO] [stdout] 151 | println!("Done. Zeroes: {:?}", local_bitfield.zeroes()); [INFO] [stdout] | ^^^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | let stream = async_std::io::timeout(30.secs(), TcpStream::connect(self.addr)); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | (self.addr, 0.secs()) [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | let stream = async_std::io::timeout(30.secs(), TcpStream::connect(self.addr)); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | (self.addr, 0.secs()) [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | (self.addr, 0.secs()) [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | (self.addr, 0.secs()) [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | return Err((self.addr, 0.secs())); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | return Err((self.addr, 0.secs())); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `time_fmt` found for struct `Duration` in the current scope [INFO] [stdout] --> src/peer/mod.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | addr, duration.time_fmt(), active_peers.len() [INFO] [stdout] | ^^^^^^^^ method not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `time_fmt` found for struct `Duration` in the current scope [INFO] [stdout] --> src/peer/mod.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | addr, duration.time_fmt(), active_peers.len() [INFO] [stdout] | ^^^^^^^^ method not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:94:66 [INFO] [stdout] | [INFO] [stdout] 94 | if self.peer_state.choke_timer.time().map(|d| d > 60.secs()).unwrap_or(false) { [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | if msg_bus.last_sent().unwrap() > 90.secs() { [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:94:66 [INFO] [stdout] | [INFO] [stdout] 94 | if self.peer_state.choke_timer.time().map(|d| d > 60.secs()).unwrap_or(false) { [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | if msg_bus.last_sent().unwrap() > 90.secs() { [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ones` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/peer/download.rs:110:59 [INFO] [stdout] | [INFO] [stdout] 110 | if self.job.is_some() || self.peer_state.bitfield.ones().is_empty() || self.peer_state.choked { [INFO] [stdout] | ^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | let fut = future::timeout(5.secs(), self.controller_bus.work_bus.rx.recv()); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer/download.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | if let Ok(Some(i)) = fut.await { [INFO] [stdout] | ^^^^^^^ --------- this expression has type `std::result::Result, async_std::future::TimeoutError>` [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ones` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/peer/download.rs:110:59 [INFO] [stdout] | [INFO] [stdout] 110 | if self.job.is_some() || self.peer_state.bitfield.ones().is_empty() || self.peer_state.choked { [INFO] [stdout] | ^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | let fut = future::timeout(5.secs(), self.controller_bus.work_bus.rx.recv()); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/peer/download.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | if let Ok(Some(i)) = fut.await { [INFO] [stdout] | ^^^^^^^ --------- this expression has type `std::result::Result, async_std::future::TimeoutError>` [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zeroes` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/peer/download.rs:129:74 [INFO] [stdout] | [INFO] [stdout] 129 | let zeroes = self.controller_state.read().await.bitfield.zeroes(); [INFO] [stdout] | ^^^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zeroes` found for struct `BitVec` in the current scope [INFO] [stdout] --> src/peer/download.rs:129:74 [INFO] [stdout] | [INFO] [stdout] 129 | let zeroes = self.controller_state.read().await.bitfield.zeroes(); [INFO] [stdout] | ^^^^^^ method not found in `BitVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | match future::timeout(5.secs(), msg_bus.recv()).await { [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:156:84 [INFO] [stdout] | [INFO] [stdout] 156 | return Err((self.addr, msg_bus.last_sent().unwrap_or_else(|| 0.secs()))); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | match future::timeout(5.secs(), msg_bus.recv()).await { [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stdout] --> src/peer/download.rs:156:84 [INFO] [stdout] | [INFO] [stdout] 156 | return Err((self.addr, msg_bus.last_sent().unwrap_or_else(|| 0.secs()))); [INFO] [stdout] | ^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/peer/download.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | match future::timeout(5.secs(), msg_bus.recv()).await { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/peer/download.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | self.controller_bus.work_bus.tx.send(j.piece.index).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/peer/download.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | match future::timeout(5.secs(), msg_bus.recv()).await { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/peer/download.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | self.controller_bus.work_bus.tx.send(j.piece.index).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/peer/download.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/peer/download.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boosttorrent-redux` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "15fe81bf084e7e76a8786af3a82a7a94bc3ccd2863651ae3c6019b6c5e49620a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15fe81bf084e7e76a8786af3a82a7a94bc3ccd2863651ae3c6019b6c5e49620a", kill_on_drop: false }` [INFO] [stdout] 15fe81bf084e7e76a8786af3a82a7a94bc3ccd2863651ae3c6019b6c5e49620a