[INFO] fetching crate fen 0.1.0... [INFO] testing fen-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fen 0.1.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fen 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 671d42f1a4e28f07705f20d3ef11d1a1eec451df32fc9dd302d496092b65e4bc [INFO] running `Command { std: "docker" "start" "-a" "671d42f1a4e28f07705f20d3ef11d1a1eec451df32fc9dd302d496092b65e4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "671d42f1a4e28f07705f20d3ef11d1a1eec451df32fc9dd302d496092b65e4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671d42f1a4e28f07705f20d3ef11d1a1eec451df32fc9dd302d496092b65e4bc", kill_on_drop: false }` [INFO] [stdout] 671d42f1a4e28f07705f20d3ef11d1a1eec451df32fc9dd302d496092b65e4bc [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bab9ec7e79e9f8577fba258c62359eadcfd8c000e8e613195a654fa9a459764 [INFO] running `Command { std: "docker" "start" "-a" "7bab9ec7e79e9f8577fba258c62359eadcfd8c000e8e613195a654fa9a459764", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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.30s [INFO] running `Command { std: "docker" "inspect" "7bab9ec7e79e9f8577fba258c62359eadcfd8c000e8e613195a654fa9a459764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bab9ec7e79e9f8577fba258c62359eadcfd8c000e8e613195a654fa9a459764", kill_on_drop: false }` [INFO] [stdout] 7bab9ec7e79e9f8577fba258c62359eadcfd8c000e8e613195a654fa9a459764 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22ca0fa174c358c0c402a1bd1379622c9012d481d78caa20f9a647a9d94453b4 [INFO] running `Command { std: "docker" "start" "-a" "22ca0fa174c358c0c402a1bd1379622c9012d481d78caa20f9a647a9d94453b4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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.76s [INFO] running `Command { std: "docker" "inspect" "22ca0fa174c358c0c402a1bd1379622c9012d481d78caa20f9a647a9d94453b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ca0fa174c358c0c402a1bd1379622c9012d481d78caa20f9a647a9d94453b4", kill_on_drop: false }` [INFO] [stdout] 22ca0fa174c358c0c402a1bd1379622c9012d481d78caa20f9a647a9d94453b4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31f126a8b33a6cad39fab63b828b410397403e357ac711cb721b705a3a0b8fa5 [INFO] running `Command { std: "docker" "start" "-a" "31f126a8b33a6cad39fab63b828b410397403e357ac711cb721b705a3a0b8fa5", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:139:39 [INFO] [stderr] | [INFO] [stderr] 139 | fn parse_placement(placement_str: &str) -> FenResult>> { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 139 | fn parse_placement(placement_str: &str) -> FenResult<'_, Vec>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 186 | fn parse_side_to_play(side_to_play: &str) -> FenResult<'_, Color> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 194 | fn parse_castling(castling: &str) -> FenResult<'_, (bool, bool, bool, bool)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:203:37 [INFO] [stderr] | [INFO] [stderr] 203 | fn parse_en_passant(en_passant: &str) -> FenResult> { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 203 | fn parse_en_passant(en_passant: &str) -> FenResult<'_, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:242:33 [INFO] [stderr] | [INFO] [stderr] 242 | fn parse_halfmove(halfmove: &str) -> FenResult { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 242 | fn parse_halfmove(halfmove: &str) -> FenResult<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:249:33 [INFO] [stderr] | [INFO] [stderr] 249 | fn parse_fullmove(fullmove: &str) -> FenResult { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fen-6ebaa201c3ce8941) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test::test_bad_fullmove ... ok [INFO] [stdout] test test::test_bad_placement ... ok [INFO] [stdout] test test::test_bad_halfmove ... ok [INFO] [stdout] test test::test_to_and_from_fen ... ok [INFO] [stdout] test test::test_bad_en_passant ... ok [INFO] [stdout] test test::test_too_short ... ok [INFO] [stdout] test test::test_no_such_side ... ok [INFO] [stdout] test test::test_too_many_pieces ... ok [INFO] [stdout] test test::test_unknown_piece ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests fen [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - BoardState::from_fen (line 102) ... ok [INFO] [stdout] test src/lib.rs - BoardState::to_fen (line 258) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31f126a8b33a6cad39fab63b828b410397403e357ac711cb721b705a3a0b8fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f126a8b33a6cad39fab63b828b410397403e357ac711cb721b705a3a0b8fa5", kill_on_drop: false }` [INFO] [stdout] 31f126a8b33a6cad39fab63b828b410397403e357ac711cb721b705a3a0b8fa5