[INFO] cloning repository https://github.com/krzysztof-ciszewski/bittorrent-client-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krzysztof-ciszewski/bittorrent-client-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztof-ciszewski%2Fbittorrent-client-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztof-ciszewski%2Fbittorrent-client-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 52c2a0b251933dc129b4332d32c83b6dbf923925
[INFO] testing krzysztof-ciszewski/bittorrent-client-rs against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztof-ciszewski%2Fbittorrent-client-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krzysztof-ciszewski/bittorrent-client-rs
[INFO] finished tweaking git repo https://github.com/krzysztof-ciszewski/bittorrent-client-rs
[INFO] tweaked toml for git repo https://github.com/krzysztof-ciszewski/bittorrent-client-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krzysztof-ciszewski/bittorrent-client-rs on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krzysztof-ciszewski/bittorrent-client-rs 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c30e77568a00fb4f788872fd8d69e72cb947f95946cbe91afb70e37ff91d69b6
[INFO] running `Command { std: "docker" "start" "-a" "c30e77568a00fb4f788872fd8d69e72cb947f95946cbe91afb70e37ff91d69b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c30e77568a00fb4f788872fd8d69e72cb947f95946cbe91afb70e37ff91d69b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c30e77568a00fb4f788872fd8d69e72cb947f95946cbe91afb70e37ff91d69b6", kill_on_drop: false }`
[INFO] [stdout] c30e77568a00fb4f788872fd8d69e72cb947f95946cbe91afb70e37ff91d69b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c4b81dd3680fda9d7f795a25bca21f3737f02ad5181440c5c127144010cf8d8
[INFO] running `Command { std: "docker" "start" "-a" "2c4b81dd3680fda9d7f795a25bca21f3737f02ad5181440c5c127144010cf8d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling bittorent-client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/bencode/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: From<u64>` is not satisfied
[INFO] [stdout]   --> src/torrent/mod.rs:36:49
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for hash in hashes.windows(piece_length.into()) {
[INFO] [stdout]    |                                                 ^^^^ the trait `From<u64>` is not implemented for `usize`
[INFO] [stdout]    |
[INFO] [stdout] help: `usize` implements trait `From<T>`
[INFO] [stdout]   --> /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/convert/num.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `From<bool>`
[INFO] [stdout]   ::: /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/convert/num.rs:68:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]   ::: /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/convert/num.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `From<u16>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `From<u8>`
[INFO] [stdout]   ::: /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/convert/num.rs:93:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]   ::: /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/convert/num.rs:129:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]   --> /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/mem/alignment.rs:299:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: `From<std::mem::Alignment>`
[INFO] [stdout]    = note: required for `u64` to implement `Into<usize>`
[INFO] [stdout]    = note: this error originates in the macro `impl_from_bool` which comes from the expansion of the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bittorent-client` (bin "bittorent-client") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "2c4b81dd3680fda9d7f795a25bca21f3737f02ad5181440c5c127144010cf8d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c4b81dd3680fda9d7f795a25bca21f3737f02ad5181440c5c127144010cf8d8", kill_on_drop: false }`
[INFO] [stdout] 2c4b81dd3680fda9d7f795a25bca21f3737f02ad5181440c5c127144010cf8d8
