[INFO] cloning repository https://github.com/bahelms/rustactoe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bahelms/rustactoe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbahelms%2Frustactoe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbahelms%2Frustactoe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89629978bf1ee407505f0b9cb4b6b38b91390d25 [INFO] checking bahelms/rustactoe against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbahelms%2Frustactoe" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bahelms/rustactoe [INFO] finished tweaking git repo https://github.com/bahelms/rustactoe [INFO] tweaked toml for git repo https://github.com/bahelms/rustactoe written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bahelms/rustactoe on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bahelms/rustactoe 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rustactoe` (manifest) generated 1 warning [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded rand v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e [INFO] running `Command { std: "docker" "start" "74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rustactoe` (manifest) generated 1 warning [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking rand v0.5.1 [INFO] [stderr] Checking rustactoe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/mod.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | fn check_game_state<'a>(state: &GameState<'a>) -> Option<(&'a str)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - fn check_game_state<'a>(state: &GameState<'a>) -> Option<(&'a str)> { [INFO] [stdout] 127 + fn check_game_state<'a>(state: &GameState<'a>) -> Option<&'a str > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/game/mod.rs:244:39 [INFO] [stdout] | [INFO] [stdout] 244 | "X", "O", "O"];; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/mod.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | fn check_game_state<'a>(state: &GameState<'a>) -> Option<(&'a str)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - fn check_game_state<'a>(state: &GameState<'a>) -> Option<(&'a str)> { [INFO] [stdout] 127 + fn check_game_state<'a>(state: &GameState<'a>) -> Option<&'a str > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/game/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | buffer.trim_right().to_string() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 187 - buffer.trim_right().to_string() [INFO] [stdout] 187 + buffer.trim_end().to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/game/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | buffer.trim_right().to_string() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 187 - buffer.trim_right().to_string() [INFO] [stdout] 187 + buffer.trim_end().to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e", kill_on_drop: false }` [INFO] [stdout] 74d82725cec21ffbe18b6667f94c9dcf16d6d1ec827326de4d17fa63eae31a2e