[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] building tompko/arendil against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftompko%2Farendil" "/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/tompko/arendil on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] Downloading crates ... [INFO] [stderr] Downloaded clap v2.1.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32bfe64ad4a3fb5efa7e301aa5e9f9976bbadcf319777cbcb4ec463dc73ad8a1 [INFO] running `Command { std: "docker" "start" "-a" "32bfe64ad4a3fb5efa7e301aa5e9f9976bbadcf319777cbcb4ec463dc73ad8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32bfe64ad4a3fb5efa7e301aa5e9f9976bbadcf319777cbcb4ec463dc73ad8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32bfe64ad4a3fb5efa7e301aa5e9f9976bbadcf319777cbcb4ec463dc73ad8a1", kill_on_drop: false }` [INFO] [stdout] 32bfe64ad4a3fb5efa7e301aa5e9f9976bbadcf319777cbcb4ec463dc73ad8a1 [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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa945aa17cf6b2c208dfafce226d12c40cfb30e2ae191909ba674296080edcc7 [INFO] running `Command { std: "docker" "start" "-a" "fa945aa17cf6b2c208dfafce226d12c40cfb30e2ae191909ba674296080edcc7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling strsim v0.4.0 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling ansi_term v0.7.2 [INFO] [stderr] Compiling clap v2.1.2 [INFO] [stderr] Compiling 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.34s [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" "fa945aa17cf6b2c208dfafce226d12c40cfb30e2ae191909ba674296080edcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa945aa17cf6b2c208dfafce226d12c40cfb30e2ae191909ba674296080edcc7", kill_on_drop: false }` [INFO] [stdout] fa945aa17cf6b2c208dfafce226d12c40cfb30e2ae191909ba674296080edcc7 [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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d413b174ec59ff74f205b086cffc77e2db1fca7568c8806265f6910ae5502708 [INFO] running `Command { std: "docker" "start" "-a" "d413b174ec59ff74f205b086cffc77e2db1fca7568c8806265f6910ae5502708", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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 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: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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.53s [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" "d413b174ec59ff74f205b086cffc77e2db1fca7568c8806265f6910ae5502708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d413b174ec59ff74f205b086cffc77e2db1fca7568c8806265f6910ae5502708", kill_on_drop: false }` [INFO] [stdout] d413b174ec59ff74f205b086cffc77e2db1fca7568c8806265f6910ae5502708