[INFO] cloning repository https://github.com/tompko/arendil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tompko/arendil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftompko%2Farendil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftompko%2Farendil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 170f67cb23d1c60c11b9ef5be11f6d56558cb351 [INFO] checking tompko/arendil against try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftompko%2Farendil" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tompko/arendil on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tompko/arendil [INFO] finished tweaking git repo https://github.com/tompko/arendil [INFO] tweaked toml for git repo https://github.com/tompko/arendil written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tompko/arendil 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" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.4.0 [INFO] [stderr] Downloaded vec_map v0.4.0 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a07e033a966fb8f52f2efe1424f40564c117335cc69e61afc8612450747bf3fc [INFO] running `Command { std: "docker" "start" "-a" "a07e033a966fb8f52f2efe1424f40564c117335cc69e61afc8612450747bf3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a07e033a966fb8f52f2efe1424f40564c117335cc69e61afc8612450747bf3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a07e033a966fb8f52f2efe1424f40564c117335cc69e61afc8612450747bf3fc", kill_on_drop: false }` [INFO] [stdout] a07e033a966fb8f52f2efe1424f40564c117335cc69e61afc8612450747bf3fc [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2248bf35e77bc9a2ea3848736a3d7755e9ae3452cc4bc9a9cde27604987e0ba8 [INFO] running `Command { std: "docker" "start" "-a" "2248bf35e77bc9a2ea3848736a3d7755e9ae3452cc4bc9a9cde27604987e0ba8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking strsim v0.4.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking vec_map v0.4.0 [INFO] [stderr] Checking ansi_term v0.7.2 [INFO] [stderr] Checking clap v2.1.2 [INFO] [stderr] Checking arendil v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/epd.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, BufRead, Cursor, Read}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/epd.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, BufRead, Cursor, Read}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read` [INFO] [stdout] --> src/epd.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | use std::io::{BufReader, BufRead, Cursor, Read}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/epd.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | reader: &'a mut Read, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | reader: &'a mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/epd.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | reader: &'a mut Read, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | reader: &'a mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/epd.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(reader: &mut Read) -> EpdReader { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(reader: &mut dyn Read) -> EpdReader { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/epd.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(reader: &mut Read) -> EpdReader { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(reader: &mut dyn Read) -> EpdReader { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/epd.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(line: String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epd` [INFO] [stdout] --> src/perft.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test(epd: &EpdReader) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_epd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EpdOperand` is never used [INFO] [stdout] --> src/epd.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum EpdOperand { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Epd` is never constructed [INFO] [stdout] --> src/epd.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Epd { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reader` is never read [INFO] [stdout] --> src/epd.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct EpdReader<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | reader: &'a mut Read, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/epd.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> EpdReader<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn decode(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/epd.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Epd { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 43 | pub fn new(line: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/epd.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(line: String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epd` [INFO] [stdout] --> src/perft.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test(epd: &EpdReader) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_epd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Str`, `Move`, `Unsigned`, `Integer`, and `Float` are never constructed [INFO] [stdout] --> src/epd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum EpdOperand { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 4 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Move(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Unsigned(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Integer(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Float(f32) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fen_string` and `operations` are never read [INFO] [stdout] --> src/epd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Epd { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 12 | fen_string: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | operations: Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, clap v2.1.2 [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" "2248bf35e77bc9a2ea3848736a3d7755e9ae3452cc4bc9a9cde27604987e0ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2248bf35e77bc9a2ea3848736a3d7755e9ae3452cc4bc9a9cde27604987e0ba8", kill_on_drop: false }` [INFO] [stdout] 2248bf35e77bc9a2ea3848736a3d7755e9ae3452cc4bc9a9cde27604987e0ba8