[INFO] updating cached repository https://github.com/0queue/boosttorrent-redux [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/0queue/boosttorrent-redux [INFO] [stderr] 9f6fcbe..1632f5a master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1632f5ad4be670d537ccea1b953fd69c8f3366a6 [INFO] testing 0queue/boosttorrent-redux against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent-redux" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0queue/boosttorrent-redux on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/0queue/boosttorrent-redux already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] fbe2edcfb7fa753c0b578358e2ede6599e37c9d71a3f26946232d3a1a6213442 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "fbe2edcfb7fa753c0b578358e2ede6599e37c9d71a3f26946232d3a1a6213442"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling chunked_transfer v1.1.0 [INFO] [stderr] Compiling util v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling bencode v0.1.16 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling ctrlc v3.1.4 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling piper v0.1.3 [INFO] [stderr] Compiling ureq v0.12.1 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling flume v0.7.1 [INFO] [stderr] Compiling smol v0.1.11 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling boosttorrent-redux v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stderr] --> src/main.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | use util::ext::duration::DurationExt; [INFO] [stderr] | ^^^ could not find `ext` in `util` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bencode::BVal` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use bencode::BVal; [INFO] [stderr] | ^^^^^^^^^^^^^ no `BVal` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `util::timer` [INFO] [stderr] --> src/main.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | use util::timer::Timer; [INFO] [stderr] | ^^^^^ could not find `timer` in `util` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bencode::BVal` [INFO] [stderr] --> src/tracker.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use bencode::BVal; [INFO] [stderr] | ^^^^^^^^^^^^^ no `BVal` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bencode::de` [INFO] [stderr] --> src/tracker.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use bencode::de::deserialize; [INFO] [stderr] | ^^ could not find `de` in `bencode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stderr] --> src/controller/mod.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | use util::ext::bitvec::BitVecExt; [INFO] [stderr] | ^^^ could not find `ext` in `util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stderr] --> src/peer/mod.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use util::ext::duration::DurationExt; [INFO] [stderr] | ^^^ could not find `ext` in `util` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `util::timer` [INFO] [stderr] --> src/protocol/message/bus.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use util::timer::Timer; [INFO] [stderr] | ^^^^^ could not find `timer` in `util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stderr] --> src/peer/download.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | use util::ext::bitvec::BitVecExt; [INFO] [stderr] | ^^^ could not find `ext` in `util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `util` [INFO] [stderr] --> src/peer/download.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | use util::ext::duration::SecondsExt; [INFO] [stderr] | ^^^ could not find `ext` in `util` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `util::timer` [INFO] [stderr] --> src/peer/mod.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use util::timer::Timer; [INFO] [stderr] | ^^^^^ could not find `timer` in `util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `de` in `bencode` [INFO] [stderr] --> src/main.rs:71:18 [INFO] [stderr] | [INFO] [stderr] 71 | bencode::de::deserialize(&contents)? [INFO] [stderr] | ^^ could not find `de` in `bencode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `zeroes` found for struct `bit_vec::BitVec` in the current scope [INFO] [stderr] --> src/controller/mod.rs:136:67 [INFO] [stderr] | [INFO] [stderr] 136 | println!("> zeroes: {:?}", write.bitfield.zeroes()); [INFO] [stderr] | ^^^^^^ method not found in `bit_vec::BitVec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `ones` found for struct `bit_vec::BitVec` in the current scope [INFO] [stderr] --> src/controller/mod.rs:141:43 [INFO] [stderr] | [INFO] [stderr] 141 | let ones = local_bitfield.ones().len(); [INFO] [stderr] | ^^^^ method not found in `bit_vec::BitVec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `zeroes` found for struct `bit_vec::BitVec` in the current scope [INFO] [stderr] --> src/controller/mod.rs:151:52 [INFO] [stderr] | [INFO] [stderr] 151 | println!("Done. Zeroes: {:?}", local_bitfield.zeroes()); [INFO] [stderr] | ^^^^^^ method not found in `bit_vec::BitVec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | let stream = async_std::io::timeout(30.secs(), TcpStream::connect(self.addr)); [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:33:27 [INFO] [stderr] | [INFO] [stderr] 33 | (self.addr, 0.secs()) [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:39:27 [INFO] [stderr] | [INFO] [stderr] 39 | (self.addr, 0.secs()) [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:59:42 [INFO] [stderr] | [INFO] [stderr] 59 | return Err((self.addr, 0.secs())); [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `time_fmt` found for struct `std::time::Duration` in the current scope [INFO] [stderr] --> src/peer/mod.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | addr, duration.time_fmt(), active_peers.len() [INFO] [stderr] | ^^^^^^^^ method not found in `std::time::Duration` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:94:66 [INFO] [stderr] | [INFO] [stderr] 94 | if self.peer_state.choke_timer.time().map(|d| d > 60.secs()).unwrap_or(false) { [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | if msg_bus.last_sent().unwrap() > 90.secs() { [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `ones` found for struct `bit_vec::BitVec` in the current scope [INFO] [stderr] --> src/peer/download.rs:110:59 [INFO] [stderr] | [INFO] [stderr] 110 | if self.job.is_some() || self.peer_state.bitfield.ones().is_empty() || self.peer_state.choked { [INFO] [stderr] | ^^^^ method not found in `bit_vec::BitVec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:119:45 [INFO] [stderr] | [INFO] [stderr] 119 | let fut = future::timeout(5.secs(), self.controller_bus.work_bus.rx.recv()); [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/peer/download.rs:120:27 [INFO] [stderr] | [INFO] [stderr] 120 | if let Ok(Some(i)) = fut.await { [INFO] [stderr] | ^^^^^^^ --------- this expression has type `std::result::Result, async_std::future::timeout::TimeoutError>` [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result` [INFO] [stderr] found enum `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `zeroes` found for struct `bit_vec::BitVec` in the current scope [INFO] [stderr] --> src/peer/download.rs:129:74 [INFO] [stderr] | [INFO] [stderr] 129 | let zeroes = self.controller_state.read().await.bitfield.zeroes(); [INFO] [stderr] | ^^^^^^ method not found in `bit_vec::BitVec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:149:37 [INFO] [stderr] | [INFO] [stderr] 149 | match future::timeout(5.secs(), msg_bus.recv()).await { [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `secs` found for type `{integer}` in the current scope [INFO] [stderr] --> src/peer/download.rs:156:84 [INFO] [stderr] | [INFO] [stderr] 156 | return Err((self.addr, msg_bus.last_sent().unwrap_or_else(|| 0.secs()))); [INFO] [stderr] | ^^^^ method not found in `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> src/peer/download.rs:149:35 [INFO] [stderr] | [INFO] [stderr] 149 | match future::timeout(5.secs(), msg_bus.recv()).await { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> src/peer/download.rs:153:25 [INFO] [stderr] | [INFO] [stderr] 153 | self.controller_bus.work_bus.tx.send(j.piece.index).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::seq::SliceRandom` [INFO] [stderr] --> src/peer/download.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use rand::seq::SliceRandom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `boosttorrent-redux`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fbe2edcfb7fa753c0b578358e2ede6599e37c9d71a3f26946232d3a1a6213442"` [INFO] running `"docker" "rm" "-f" "fbe2edcfb7fa753c0b578358e2ede6599e37c9d71a3f26946232d3a1a6213442"` [INFO] [stdout] fbe2edcfb7fa753c0b578358e2ede6599e37c9d71a3f26946232d3a1a6213442