[INFO] cloning repository https://github.com/hungnd1475/renjurs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hungnd1475/renjurs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhungnd1475%2Frenjurs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhungnd1475%2Frenjurs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77e83f0e259cc5b3f99b15dd564aa9168d87253c
[INFO] checking hungnd1475/renjurs/77e83f0e259cc5b3f99b15dd564aa9168d87253c against 0b63defc8fd68957c635fe61f097b84df8fd9611 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhungnd1475%2Frenjurs" "/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/hungnd1475/renjurs
[INFO] finished tweaking git repo https://github.com/hungnd1475/renjurs
[INFO] tweaked toml for git repo https://github.com/hungnd1475/renjurs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hungnd1475/renjurs on toolchain 0b63defc8fd68957c635fe61f097b84df8fd9611
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hungnd1475/renjurs 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" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "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: `renju` (manifest) generated 1 warning
[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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5
[INFO] running `Command { std: "docker" "start" "5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5", 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" "5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5" "/opt/rustwide/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5", 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" "5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5" "/opt/rustwide/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "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: `renju` (manifest) generated 1 warning
[INFO] [stderr]     Checking renju v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/lib.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &Engine) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &dyn Engine) {
[INFO] [stdout]   |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:38:52
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let time = f32::from_str(segs[2]).map_err(|e| "Error reading timeout");
[INFO] [stdout]    |                                                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:37:54
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let size = usize::from_str(segs[1]).map_err(|e| "Error reading board size");
[INFO] [stdout]    |                                                      ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:65:71
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let ry = usize::from_str(segs[2]).map(|y| y - 1).map_err(|e| Ending::Lose);
[INFO] [stdout]    |                                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:64:71
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let rx = usize::from_str(segs[1]).map(|x| x - 1).map_err(|e| Ending::Lose);
[INFO] [stdout]    |                                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &Engine) {
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eng`
[INFO] [stdout]  --> src/lib.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &Engine) {
[INFO] [stdout]   |                         ^^^ help: if this is intentional, prefix it with an underscore: `_eng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetEngine` is never constructed
[INFO] [stdout]  --> src/engine/net.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct NetEngine {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `connect` is never used
[INFO] [stdout]   --> src/engine/net.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl NetEngine {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn connect(ip: &str, port: u16) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         writeln!(&mut writer, "LOGIN {}", name);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let _ = writeln!(&mut writer, "LOGIN {}", name);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         writer.flush();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let _ = writer.flush();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 writeln!(&mut writer, "MOVE {} {}", m.x + 1, m.y + 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let _ = writeln!(&mut writer, "MOVE {} {}", m.x + 1, m.y + 1);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 writer.flush();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let _ = writer.flush();
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/lib.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &Engine) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &dyn Engine) {
[INFO] [stdout]   |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:38:52
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let time = f32::from_str(segs[2]).map_err(|e| "Error reading timeout");
[INFO] [stdout]    |                                                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:37:54
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let size = usize::from_str(segs[1]).map_err(|e| "Error reading board size");
[INFO] [stdout]    |                                                      ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:65:71
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let ry = usize::from_str(segs[2]).map(|y| y - 1).map_err(|e| Ending::Lose);
[INFO] [stdout]    |                                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/engine/net.rs:64:71
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let rx = usize::from_str(segs[1]).map(|x| x - 1).map_err(|e| Ending::Lose);
[INFO] [stdout]    |                                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &Engine) {
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eng`
[INFO] [stdout]  --> src/lib.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn play(name: &str, eng: &Engine) {
[INFO] [stdout]   |                         ^^^ help: if this is intentional, prefix it with an underscore: `_eng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetEngine` is never constructed
[INFO] [stdout]  --> src/engine/net.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct NetEngine {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `connect` is never used
[INFO] [stdout]   --> src/engine/net.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl NetEngine {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn connect(ip: &str, port: u16) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         writeln!(&mut writer, "LOGIN {}", name);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let _ = writeln!(&mut writer, "LOGIN {}", name);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         writer.flush();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let _ = writer.flush();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 writeln!(&mut writer, "MOVE {} {}", m.x + 1, m.y + 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let _ = writeln!(&mut writer, "MOVE {} {}", m.x + 1, m.y + 1);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/engine/net.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 writer.flush();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let _ = writer.flush();
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5", kill_on_drop: false }`
[INFO] [stdout] 5a381a1e3032a8a46878b4ff793292d089d4e0a5cc39d6406a2dc1a7e85bc9c5
