[INFO] cloning repository https://github.com/kayky-cas/bit-torrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kayky-cas/bit-torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayky-cas%2Fbit-torrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayky-cas%2Fbit-torrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6049180e9ea33340e9b48ff5175e039018f315d7 [INFO] testing kayky-cas/bit-torrent against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayky-cas%2Fbit-torrent" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kayky-cas/bit-torrent [INFO] finished tweaking git repo https://github.com/kayky-cas/bit-torrent [INFO] tweaked toml for git repo https://github.com/kayky-cas/bit-torrent written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kayky-cas/bit-torrent on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kayky-cas/bit-torrent 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.4 [INFO] [stderr] Downloaded serde_bencode v0.2.3 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded pin-project-lite v0.2.12 [INFO] [stderr] Downloaded clap_derive v4.3.12 [INFO] [stderr] Downloaded cc v1.0.82 [INFO] [stderr] Downloaded clap v4.3.22 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded clap_builder v4.3.22 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded rustix v0.38.8 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.4 [INFO] [stderr] Downloaded tokio v1.32.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec32124eb48a8886f45547d3e57abc80def8a5e7c5f0c06fbf9d925af302843f [INFO] running `Command { std: "docker" "start" "-a" "ec32124eb48a8886f45547d3e57abc80def8a5e7c5f0c06fbf9d925af302843f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec32124eb48a8886f45547d3e57abc80def8a5e7c5f0c06fbf9d925af302843f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec32124eb48a8886f45547d3e57abc80def8a5e7c5f0c06fbf9d925af302843f", kill_on_drop: false }` [INFO] [stdout] ec32124eb48a8886f45547d3e57abc80def8a5e7c5f0c06fbf9d925af302843f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 709a34cab836d8ec61ce7b7caf257afdc8bc2ae8e606a528accae4a143d044c3 [INFO] running `Command { std: "docker" "start" "-a" "709a34cab836d8ec61ce7b7caf257afdc8bc2ae8e606a528accae4a143d044c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.7.1 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder v4.3.22 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling clap v4.3.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_bencode v0.2.3 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `serializer` in this scope [INFO] [stdout] --> src/main.rs:180:40 [INFO] [stdout] | [INFO] [stdout] 180 | serde_bytes::serialize(&handshake, serializer); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unix::SocketAddr` [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | net::{unix::SocketAddr, TcpStream, ToSocketAddrs}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Handshake: serde_bytes::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | serde_bytes::serialize(&handshake, serializer); [INFO] [stdout] | ---------------------- ^^^^^^^^^^ the trait `serde_bytes::Serialize` is not implemented for `Handshake` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_bytes::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] Box [INFO] [stdout] Cow<'a, [u8]> [INFO] [stdout] Cow<'a, serde_bytes::Bytes> [INFO] [stdout] Vec [INFO] [stdout] [u8] [INFO] [stdout] serde_bytes::ByteBuf [INFO] [stdout] serde_bytes::Bytes [INFO] [stdout] std::option::Option [INFO] [stdout] note: required by a bound in `serde_bytes::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_bytes-0.11.12/src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn serialize(bytes: &T, serializer: S) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 82 | where [INFO] [stdout] 83 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handshake` [INFO] [stdout] --> src/main.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | let handshake = handshake(peer, hash.into()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handshake` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bittorrent-starter-rust` (bin "bittorrent-starter-rust") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "709a34cab836d8ec61ce7b7caf257afdc8bc2ae8e606a528accae4a143d044c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709a34cab836d8ec61ce7b7caf257afdc8bc2ae8e606a528accae4a143d044c3", kill_on_drop: false }` [INFO] [stdout] 709a34cab836d8ec61ce7b7caf257afdc8bc2ae8e606a528accae4a143d044c3