[INFO] cloning repository https://github.com/deuszex/torrentjson-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deuszex/torrentjson-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeuszex%2Ftorrentjson-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeuszex%2Ftorrentjson-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc1b90892560ed8b600f1c2fb297a576462953f1
[INFO] testing deuszex/torrentjson-cli against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeuszex%2Ftorrentjson-cli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/deuszex/torrentjson-cli on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/deuszex/torrentjson-cli
[INFO] finished tweaking git repo https://github.com/deuszex/torrentjson-cli
[INFO] tweaked toml for git repo https://github.com/deuszex/torrentjson-cli written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/deuszex/torrentjson-cli 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.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kernel32-sys v0.1.4
[INFO] [stderr]   Downloaded serde_bytes v0.10.2
[INFO] [stderr]   Downloaded cc v1.0.3
[INFO] [stderr]   Downloaded winutil v0.1.0
[INFO] [stderr]   Downloaded hostname v0.1.3
[INFO] [stderr]   Downloaded bson v0.10.0
[INFO] [stderr]   Downloaded serde_json v1.0.6
[INFO] [stderr]   Downloaded bip_bencode v0.4.2
[INFO] [stderr]   Downloaded serde_bencode v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3736bca8b90e26fce1df36094c2d10542f85d196897bf4ce0044b6d9dcead2cc
[INFO] running `Command { std: "docker" "start" "-a" "3736bca8b90e26fce1df36094c2d10542f85d196897bf4ce0044b6d9dcead2cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3736bca8b90e26fce1df36094c2d10542f85d196897bf4ce0044b6d9dcead2cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3736bca8b90e26fce1df36094c2d10542f85d196897bf4ce0044b6d9dcead2cc", kill_on_drop: false }`
[INFO] [stdout] 3736bca8b90e26fce1df36094c2d10542f85d196897bf4ce0044b6d9dcead2cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b564c31e80e2168637918dbf4b4e5ebd73a7481a170ad3dea507ece48a3ddf4
[INFO] running `Command { std: "docker" "start" "-a" "8b564c31e80e2168637918dbf4b4e5ebd73a7481a170ad3dea507ece48a3ddf4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.33
[INFO] [stderr]    Compiling cc v1.0.3
[INFO] [stderr]    Compiling num-traits v0.1.40
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]    Compiling serde v1.0.20
[INFO] [stderr]    Compiling rustc-demangle v0.1.5
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling byteorder v1.1.0
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling linked-hash-map v0.5.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling num-integer v0.1.35
[INFO] [stderr]    Compiling time v0.1.38
[INFO] [stderr]    Compiling rand v0.3.18
[INFO] [stderr]    Compiling num-iter v0.1.34
[INFO] [stderr]    Compiling num v0.1.40
[INFO] [stderr]    Compiling hostname v0.1.3
[INFO] [stderr]    Compiling linked-hash-map v0.3.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling chrono v0.4.0
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling hex v0.2.0
[INFO] [stderr]    Compiling base64 v0.7.0
[INFO] [stderr]    Compiling serde_derive_internals v0.17.0
[INFO] [stderr]    Compiling serde_derive v1.0.20
[INFO] [stderr]    Compiling serde_bytes v0.10.2
[INFO] [stderr]    Compiling serde_json v1.0.6
[INFO] [stderr]    Compiling serde_bencode v0.2.0
[INFO] [stderr]    Compiling bson v0.10.0
[INFO] [stderr]    Compiling backtrace v0.3.3
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling bip_bencode v0.4.2
[INFO] [stderr]    Compiling torrentjson-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::{self, Read};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 |     while(i < bf.len()){
[INFO] [stdout]     |          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 136 -     while(i < bf.len()){
[INFO] [stdout] 136 +     while i < bf.len() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:156:8
[INFO] [stdout]     |
[INFO] [stdout] 156 |     if (&pieces_bytes%20!=0){return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stdout]     |        ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -     if (&pieces_bytes%20!=0){return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stdout] 156 +     if &pieces_bytes%20!=0 {return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |         f.write_str( Error::description(self) )
[INFO] [stdout]    |                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Other(Box<Error>),
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Other(Box<dyn Error>),
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:35:49
[INFO] [stdout]    |
[INFO] [stdout] 35 |             TorrentError::Other(ref e)     => e.description(),
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `start` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut start : i64 = 0;
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_start` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `actual_byte` is never read
[INFO] [stdout]    --> src/main.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let mut actual_byte = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]    --> src/main.rs:169:17
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 start = piece_index;
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:285:16
[INFO] [stdout]     |
[INFO] [stdout] 285 |     if let Err(e) = file{println!("{:?}", "           File not found");std::process::exit(666)}
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut file = F::open(&input);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_torrent` is never used
[INFO] [stdout]    --> src/main.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn render_torrent(torrent: &Torrent) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 |     readable.read_to_end(&mut contents);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 289 |     let _ = readable.read_to_end(&mut contents);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 27.53s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.10.0, rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "8b564c31e80e2168637918dbf4b4e5ebd73a7481a170ad3dea507ece48a3ddf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b564c31e80e2168637918dbf4b4e5ebd73a7481a170ad3dea507ece48a3ddf4", kill_on_drop: false }`
[INFO] [stdout] 8b564c31e80e2168637918dbf4b4e5ebd73a7481a170ad3dea507ece48a3ddf4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8e2c23a98358d585b7897080f24e4f95441394f5c7a06bdca31974b6f5d0b8b
[INFO] running `Command { std: "docker" "start" "-a" "c8e2c23a98358d585b7897080f24e4f95441394f5c7a06bdca31974b6f5d0b8b", kill_on_drop: false }`
[INFO] [stderr]    Compiling torrentjson-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::{self, Read};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 |     while(i < bf.len()){
[INFO] [stdout]     |          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 136 -     while(i < bf.len()){
[INFO] [stdout] 136 +     while i < bf.len() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:156:8
[INFO] [stdout]     |
[INFO] [stdout] 156 |     if (&pieces_bytes%20!=0){return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stdout]     |        ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -     if (&pieces_bytes%20!=0){return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stdout] 156 +     if &pieces_bytes%20!=0 {return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |         f.write_str( Error::description(self) )
[INFO] [stdout]    |                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Other(Box<Error>),
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Other(Box<dyn Error>),
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:35:49
[INFO] [stdout]    |
[INFO] [stdout] 35 |             TorrentError::Other(ref e)     => e.description(),
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `start` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut start : i64 = 0;
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_start` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `actual_byte` is never read
[INFO] [stdout]    --> src/main.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let mut actual_byte = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]    --> src/main.rs:169:17
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 start = piece_index;
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:285:16
[INFO] [stdout]     |
[INFO] [stdout] 285 |     if let Err(e) = file{println!("{:?}", "           File not found");std::process::exit(666)}
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut file = F::open(&input);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_torrent` is never used
[INFO] [stdout]    --> src/main.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn render_torrent(torrent: &Torrent) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 |     readable.read_to_end(&mut contents);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 289 |     let _ = readable.read_to_end(&mut contents);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.75s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.10.0, rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "c8e2c23a98358d585b7897080f24e4f95441394f5c7a06bdca31974b6f5d0b8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8e2c23a98358d585b7897080f24e4f95441394f5c7a06bdca31974b6f5d0b8b", kill_on_drop: false }`
[INFO] [stdout] c8e2c23a98358d585b7897080f24e4f95441394f5c7a06bdca31974b6f5d0b8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3795c9f3a1bd4d60b766182bc303fe1fc0fb38b553bfd09c9c7b7198a3127882
[INFO] running `Command { std: "docker" "start" "-a" "3795c9f3a1bd4d60b766182bc303fe1fc0fb38b553bfd09c9c7b7198a3127882", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]   --> src/main.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::io::{self, Read};
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]    --> src/main.rs:136:10
[INFO] [stderr]     |
[INFO] [stderr] 136 |     while(i < bf.len()){
[INFO] [stderr]     |          ^            ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 136 -     while(i < bf.len()){
[INFO] [stderr] 136 +     while i < bf.len() {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/main.rs:156:8
[INFO] [stderr]     |
[INFO] [stderr] 156 |     if (&pieces_bytes%20!=0){return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stderr]     |        ^                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 156 -     if (&pieces_bytes%20!=0){return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stderr] 156 +     if &pieces_bytes%20!=0 {return Err(TorrentError::InvalidPiecesLength)};
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/main.rs:26:29
[INFO] [stderr]    |
[INFO] [stderr] 26 |         f.write_str( Error::description(self) )
[INFO] [stderr]    |                             ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:21:15
[INFO] [stderr]    |
[INFO] [stderr] 21 |     Other(Box<Error>),
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 21 |     Other(Box<dyn Error>),
[INFO] [stderr]    |               +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/main.rs:35:49
[INFO] [stderr]    |
[INFO] [stderr] 35 |             TorrentError::Other(ref e)     => e.description(),
[INFO] [stderr]    |                                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `start` is assigned to, but never used
[INFO] [stderr]    --> src/main.rs:149:13
[INFO] [stderr]     |
[INFO] [stderr] 149 |     let mut start : i64 = 0;
[INFO] [stderr]     |             ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_start` instead
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `actual_byte` is never read
[INFO] [stderr]    --> src/main.rs:151:13
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let mut actual_byte = 0;
[INFO] [stderr]     |             ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `start` is never read
[INFO] [stderr]    --> src/main.rs:169:17
[INFO] [stderr]     |
[INFO] [stderr] 169 |                 start = piece_index;
[INFO] [stderr]     |                 ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/main.rs:285:16
[INFO] [stderr]     |
[INFO] [stderr] 285 |     if let Err(e) = file{println!("{:?}", "           File not found");std::process::exit(666)}
[INFO] [stderr]     |                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:284:9
[INFO] [stderr]     |
[INFO] [stderr] 284 |     let mut file = F::open(&input);
[INFO] [stderr]     |         ----^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `render_torrent` is never used
[INFO] [stderr]    --> src/main.rs:254:4
[INFO] [stderr]     |
[INFO] [stderr] 254 | fn render_torrent(torrent: &Torrent) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:289:5
[INFO] [stderr]     |
[INFO] [stderr] 289 |     readable.read_to_end(&mut contents);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 289 |     let _ = readable.read_to_end(&mut contents);
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `torrentjson-cli` (bin "torrentjson-cli" test) generated 13 warnings (run `cargo fix --bin "torrentjson-cli" --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.10.0, rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/torrentjson_cli-29c3cc64d32ec405)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3795c9f3a1bd4d60b766182bc303fe1fc0fb38b553bfd09c9c7b7198a3127882", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3795c9f3a1bd4d60b766182bc303fe1fc0fb38b553bfd09c9c7b7198a3127882", kill_on_drop: false }`
[INFO] [stdout] 3795c9f3a1bd4d60b766182bc303fe1fc0fb38b553bfd09c9c7b7198a3127882
[INFO] testing deuszex/torrentjson-cli against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeuszex%2Ftorrentjson-cli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/deuszex/torrentjson-cli on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/deuszex/torrentjson-cli
[INFO] finished tweaking git repo https://github.com/deuszex/torrentjson-cli
[INFO] tweaked toml for git repo https://github.com/deuszex/torrentjson-cli written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/deuszex/torrentjson-cli 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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21efc0f73375660f21ca26b44cf86c562395a8707755a536b8600befb4caecb8
[INFO] running `Command { std: "docker" "start" "-a" "21efc0f73375660f21ca26b44cf86c562395a8707755a536b8600befb4caecb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21efc0f73375660f21ca26b44cf86c562395a8707755a536b8600befb4caecb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21efc0f73375660f21ca26b44cf86c562395a8707755a536b8600befb4caecb8", kill_on_drop: false }`
[INFO] [stdout] 21efc0f73375660f21ca26b44cf86c562395a8707755a536b8600befb4caecb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9a7ba2f32c1306db7da87900f98e319c0c9df079ebc452c42285c81e918599b
[INFO] running `Command { std: "docker" "start" "-a" "c9a7ba2f32c1306db7da87900f98e319c0c9df079ebc452c42285c81e918599b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.33
[INFO] [stderr]    Compiling cc v1.0.3
[INFO] [stderr]    Compiling num-traits v0.1.40
[INFO] [stderr]    Compiling serde v1.0.20
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]    Compiling rustc-demangle v0.1.5
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling linked-hash-map v0.5.0
[INFO] [stderr]    Compiling byteorder v1.1.0
[INFO] [stderr]    Compiling time v0.1.38
[INFO] [stderr]    Compiling num-integer v0.1.35
[INFO] [stderr]    Compiling rand v0.3.18
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling num-iter v0.1.34
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling num v0.1.40
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling chrono v0.4.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling serde_derive_internals v0.17.0
[INFO] [stderr]    Compiling hostname v0.1.3
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5
[INFO] [stdout]      |
[INFO] [stdout] 1155 |     fn decode<D: Decoder>(d: &mut D) -> Result<Cow<'static, T>, D::Error> {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     the parameter type `T` must be valid for the static lifetime...
[INFO] [stdout]      |     ...so that the type `T` will meet its required lifetime bounds...
[INFO] [stdout]      |
[INFO] [stdout] note: ...that is required by this bound
[INFO] [stdout]     --> /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/borrow.rs:180:30
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]      |
[INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T>
[INFO] [stdout]      |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling linked-hash-map v0.3.0
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling hex v0.2.0
[INFO] [stderr]    Compiling base64 v0.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.20
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c9a7ba2f32c1306db7da87900f98e319c0c9df079ebc452c42285c81e918599b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9a7ba2f32c1306db7da87900f98e319c0c9df079ebc452c42285c81e918599b", kill_on_drop: false }`
[INFO] [stdout] c9a7ba2f32c1306db7da87900f98e319c0c9df079ebc452c42285c81e918599b
