[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#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztof-ciszewski%2Fbittorrent-client-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krzysztof-ciszewski/bittorrent-client-rs on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a5c6ffd5cd78c6191ab5feaa350e650226d31d540fc9fba2082594afd5fbf5d [INFO] running `Command { std: "docker" "start" "-a" "2a5c6ffd5cd78c6191ab5feaa350e650226d31d540fc9fba2082594afd5fbf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a5c6ffd5cd78c6191ab5feaa350e650226d31d540fc9fba2082594afd5fbf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5c6ffd5cd78c6191ab5feaa350e650226d31d540fc9fba2082594afd5fbf5d", kill_on_drop: false }` [INFO] [stdout] 2a5c6ffd5cd78c6191ab5feaa350e650226d31d540fc9fba2082594afd5fbf5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b39b911cbba718255c7a4f26cc540dce5cce6432d20006e64168f53fbfb554e6 [INFO] running `Command { std: "docker" "start" "-a" "b39b911cbba718255c7a4f26cc540dce5cce6432d20006e64168f53fbfb554e6", 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` 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` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/convert/num.rs:47:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/convert/num.rs:68:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/convert/num.rs:76:8 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/convert/num.rs:93:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/convert/num.rs:129:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ptr/alignment.rs:286:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `u64` to implement `Into` [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] [stderr] error: could not compile `bittorent-client` (bin "bittorent-client") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b39b911cbba718255c7a4f26cc540dce5cce6432d20006e64168f53fbfb554e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39b911cbba718255c7a4f26cc540dce5cce6432d20006e64168f53fbfb554e6", kill_on_drop: false }` [INFO] [stdout] b39b911cbba718255c7a4f26cc540dce5cce6432d20006e64168f53fbfb554e6