[INFO] cloning repository https://github.com/Geal/bittorrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Geal/bittorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeal%2Fbittorrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeal%2Fbittorrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58bb68c986abe081dbc12f7a7d6be3bd1cb9aef6 [INFO] checking Geal/bittorrent/58bb68c986abe081dbc12f7a7d6be3bd1cb9aef6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeal%2Fbittorrent" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Geal/bittorrent on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Geal/bittorrent [INFO] finished tweaking git repo https://github.com/Geal/bittorrent [INFO] tweaked toml for git repo https://github.com/Geal/bittorrent written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Geal/bittorrent already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating nom v1.0.0-alpha2 -> v1.0.1 (available: v1.2.4) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.3.9 [INFO] [stderr] Downloaded sha1 v0.1.1 [INFO] [stderr] Downloaded nom v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d498a0a250e973b57218601395274de92bfbef4cd51a42e31fe4d7688cf4a37 [INFO] running `Command { std: "docker" "start" "-a" "4d498a0a250e973b57218601395274de92bfbef4cd51a42e31fe4d7688cf4a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d498a0a250e973b57218601395274de92bfbef4cd51a42e31fe4d7688cf4a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d498a0a250e973b57218601395274de92bfbef4cd51a42e31fe4d7688cf4a37", kill_on_drop: false }` [INFO] [stdout] 4d498a0a250e973b57218601395274de92bfbef4cd51a42e31fe4d7688cf4a37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f471666f39456b0b2552de994e3afbfd58e17687fedf9a4f853c3b823fb1c480 [INFO] running `Command { std: "docker" "start" "-a" "f471666f39456b0b2552de994e3afbfd58e17687fedf9a4f853c3b823fb1c480", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking byteorder v0.3.9 [INFO] [stderr] Checking nom v1.0.1 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking bittorrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | named!(list<&[u8], (Vec)>, chain!( [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - named!(list<&[u8], (Vec)>, chain!( [INFO] [stdout] 75 + named!(list<&[u8], Vec>, chain!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | named!(helper<&[u8], (Vec<(Vec, Bencode)>)>, chain!( [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - named!(helper<&[u8], (Vec<(Vec, Bencode)>)>, chain!( [INFO] [stdout] 83 + named!(helper<&[u8], Vec<(Vec, Bencode)>>, chain!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | named!(hashes<&[u8], (Vec)>, many0!(chain!( [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - named!(hashes<&[u8], (Vec)>, many0!(chain!( [INFO] [stdout] 108 + named!(hashes<&[u8], Vec>, many0!(chain!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | named!(list<&[u8], (Vec)>, chain!( [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - named!(list<&[u8], (Vec)>, chain!( [INFO] [stdout] 75 + named!(list<&[u8], Vec>, chain!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | named!(helper<&[u8], (Vec<(Vec, Bencode)>)>, chain!( [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - named!(helper<&[u8], (Vec<(Vec, Bencode)>)>, chain!( [INFO] [stdout] 83 + named!(helper<&[u8], Vec<(Vec, Bencode)>>, chain!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | named!(hashes<&[u8], (Vec)>, many0!(chain!( [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - named!(hashes<&[u8], (Vec)>, many0!(chain!( [INFO] [stdout] 108 + named!(hashes<&[u8], Vec>, many0!(chain!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test,vec_push_all,drain)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_push_all` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test,vec_push_all,drain)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test,vec_push_all,drain)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_push_all` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test,vec_push_all,drain)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/main.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | v.push_all(&rest[1..n+1]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | v.push(&rest[1..n+1]); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/main.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | v.push_all(&rest[1..n+1]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | v.push(&rest[1..n+1]); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bittorrent` (bin "bittorrent") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bittorrent` (bin "bittorrent" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f471666f39456b0b2552de994e3afbfd58e17687fedf9a4f853c3b823fb1c480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f471666f39456b0b2552de994e3afbfd58e17687fedf9a4f853c3b823fb1c480", kill_on_drop: false }` [INFO] [stdout] f471666f39456b0b2552de994e3afbfd58e17687fedf9a4f853c3b823fb1c480