[INFO] fetching crate fen 0.1.0... [INFO] testing fen-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fen 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate fen 0.1.0 [INFO] finished tweaking crates.io crate fen 0.1.0 [INFO] tweaked toml for crates.io crate fen 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fen 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 936f63c99f51612d86eb70ad735c94828555c0c010e4bd4286dda7ccaaaba4dc [INFO] running `Command { std: "docker" "start" "-a" "936f63c99f51612d86eb70ad735c94828555c0c010e4bd4286dda7ccaaaba4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "936f63c99f51612d86eb70ad735c94828555c0c010e4bd4286dda7ccaaaba4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936f63c99f51612d86eb70ad735c94828555c0c010e4bd4286dda7ccaaaba4dc", kill_on_drop: false }` [INFO] [stdout] 936f63c99f51612d86eb70ad735c94828555c0c010e4bd4286dda7ccaaaba4dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6603047a96867d06f5d5566773e975f082ae9eb1eb5f63088bc76741b564d381 [INFO] running `Command { std: "docker" "start" "-a" "6603047a96867d06f5d5566773e975f082ae9eb1eb5f63088bc76741b564d381", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling fen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let pieces = try!(Self::parse_placement(parts[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let side_to_play = try!(Self::parse_side_to_play(parts[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | try!(Self::parse_castling(parts[2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | let en_passant_square = try!(Self::parse_en_passant(parts[3])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | let halfmove_clock = try!(Self::parse_halfmove(parts[4])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | let fullmove_number = try!(Self::parse_fullmove(parts[5])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | try!(Self::increment_file(&mut file, n as usize, pieces)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/lib.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | parts.connect(" ") [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 273 - parts.connect(" ") [INFO] [stdout] 273 + parts.join(" ") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stdout] | ^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult { [INFO] [stdout] | ^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult<'_, Color> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_castling(castling: &str) -> FenResult<(bool, bool, bool, bool)> { [INFO] [stdout] | ^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_castling(castling: &str) -> FenResult<'_, (bool, bool, bool, bool)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stdout] | ^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "6603047a96867d06f5d5566773e975f082ae9eb1eb5f63088bc76741b564d381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6603047a96867d06f5d5566773e975f082ae9eb1eb5f63088bc76741b564d381", kill_on_drop: false }` [INFO] [stdout] 6603047a96867d06f5d5566773e975f082ae9eb1eb5f63088bc76741b564d381 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a8eea7256fe38b77c7e1b9464288063838cae3c4f81abad8c3ab7140b1e217c [INFO] running `Command { std: "docker" "start" "-a" "5a8eea7256fe38b77c7e1b9464288063838cae3c4f81abad8c3ab7140b1e217c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling fen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let pieces = try!(Self::parse_placement(parts[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let side_to_play = try!(Self::parse_side_to_play(parts[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | try!(Self::parse_castling(parts[2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | let en_passant_square = try!(Self::parse_en_passant(parts[3])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | let halfmove_clock = try!(Self::parse_halfmove(parts[4])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | let fullmove_number = try!(Self::parse_fullmove(parts[5])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | try!(Self::increment_file(&mut file, n as usize, pieces)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/lib.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | parts.connect(" ") [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 273 - parts.connect(" ") [INFO] [stdout] 273 + parts.join(" ") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stdout] | ^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult { [INFO] [stdout] | ^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult<'_, Color> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_castling(castling: &str) -> FenResult<(bool, bool, bool, bool)> { [INFO] [stdout] | ^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_castling(castling: &str) -> FenResult<'_, (bool, bool, bool, bool)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stdout] | ^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let pieces = try!(Self::parse_placement(parts[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let side_to_play = try!(Self::parse_side_to_play(parts[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | try!(Self::parse_castling(parts[2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | let en_passant_square = try!(Self::parse_en_passant(parts[3])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | let halfmove_clock = try!(Self::parse_halfmove(parts[4])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | let fullmove_number = try!(Self::parse_fullmove(parts[5])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | try!(Self::increment_file(&mut file, n as usize, pieces)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/lib.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | parts.connect(" ") [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 273 - parts.connect(" ") [INFO] [stdout] 273 + parts.join(" ") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stdout] | ^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult { [INFO] [stdout] | ^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult<'_, Color> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_castling(castling: &str) -> FenResult<(bool, bool, bool, bool)> { [INFO] [stdout] | ^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_castling(castling: &str) -> FenResult<'_, (bool, bool, bool, bool)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stdout] | ^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "5a8eea7256fe38b77c7e1b9464288063838cae3c4f81abad8c3ab7140b1e217c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8eea7256fe38b77c7e1b9464288063838cae3c4f81abad8c3ab7140b1e217c", kill_on_drop: false }` [INFO] [stdout] 5a8eea7256fe38b77c7e1b9464288063838cae3c4f81abad8c3ab7140b1e217c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4ebd8f85bddfcd9a32915d12f857813a4736a0bfc1bdd664c60c378eba808d4c [INFO] running `Command { std: "docker" "start" "-a" "4ebd8f85bddfcd9a32915d12f857813a4736a0bfc1bdd664c60c378eba808d4c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:118:22 [INFO] [stderr] | [INFO] [stderr] 118 | let pieces = try!(Self::parse_placement(parts[0])); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:119:28 [INFO] [stderr] | [INFO] [stderr] 119 | let side_to_play = try!(Self::parse_side_to_play(parts[1])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | try!(Self::parse_castling(parts[2])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:122:33 [INFO] [stderr] | [INFO] [stderr] 122 | let en_passant_square = try!(Self::parse_en_passant(parts[3])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:123:30 [INFO] [stderr] | [INFO] [stderr] 123 | let halfmove_clock = try!(Self::parse_halfmove(parts[4])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:124:31 [INFO] [stderr] | [INFO] [stderr] 124 | let fullmove_number = try!(Self::parse_fullmove(parts[5])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:154:25 [INFO] [stderr] | [INFO] [stderr] 154 | try!(Self::increment_file(&mut file, n as usize, pieces)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::slice::::connect`: renamed to join [INFO] [stderr] --> src/lib.rs:273:15 [INFO] [stderr] | [INFO] [stderr] 273 | parts.connect(" ") [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 273 - parts.connect(" ") [INFO] [stderr] 273 + parts.join(" ") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:139:39 [INFO] [stderr] | [INFO] [stderr] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stderr] | ^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:186:41 [INFO] [stderr] | [INFO] [stderr] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult { [INFO] [stderr] | ^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult<'_, Color> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:194:33 [INFO] [stderr] | [INFO] [stderr] 194 | fn parse_castling(castling: &str) -> FenResult<(bool, bool, bool, bool)> { [INFO] [stderr] | ^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 194 | fn parse_castling(castling: &str) -> FenResult<'_, (bool, bool, bool, bool)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:203:37 [INFO] [stderr] | [INFO] [stderr] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stderr] | ^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:242:33 [INFO] [stderr] | [INFO] [stderr] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stderr] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:249:33 [INFO] [stderr] | [INFO] [stderr] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stderr] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 249 | fn parse_fullmove(fullmove: &str) -> FenResult<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `fen` (lib) generated 14 warnings (run `cargo fix --lib -p fen` to apply 7 suggestions) [INFO] [stderr] warning: `fen` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/fen-59247cb5054bca64) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test::test_bad_en_passant ... ok [INFO] [stdout] test test::test_bad_placement ... ok [INFO] [stdout] test test::test_no_such_side ... ok [INFO] [stdout] test test::test_bad_halfmove ... ok [INFO] [stdout] test test::test_too_many_pieces ... ok [INFO] [stdout] test test::test_to_and_from_fen ... ok [INFO] [stdout] test test::test_too_short ... ok [INFO] [stdout] test test::test_unknown_piece ... ok [INFO] [stdout] test test::test_bad_fullmove ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ebd8f85bddfcd9a32915d12f857813a4736a0bfc1bdd664c60c378eba808d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ebd8f85bddfcd9a32915d12f857813a4736a0bfc1bdd664c60c378eba808d4c", kill_on_drop: false }` [INFO] [stdout] 4ebd8f85bddfcd9a32915d12f857813a4736a0bfc1bdd664c60c378eba808d4c