[INFO] cloning repository https://github.com/arturbrd/battleships [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arturbrd/battleships" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farturbrd%2Fbattleships", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farturbrd%2Fbattleships'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 349d980259f01612b8fc1e9e0d516cc8c7f9da07 [INFO] checking arturbrd/battleships/349d980259f01612b8fc1e9e0d516cc8c7f9da07 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farturbrd%2Fbattleships" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arturbrd/battleships on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arturbrd/battleships [INFO] finished tweaking git repo https://github.com/arturbrd/battleships [INFO] tweaked toml for git repo https://github.com/arturbrd/battleships written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arturbrd/battleships 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.19.0 [INFO] [stderr] Downloaded ordered-multimap v0.6.0 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded pest_generator v2.7.10 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded pest_derive v2.7.10 [INFO] [stderr] Downloaded pest_meta v2.7.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 053f96a961cdfbfaabe2349731cc876528593d6414e3e506eb2ea596d8a336e6 [INFO] running `Command { std: "docker" "start" "-a" "053f96a961cdfbfaabe2349731cc876528593d6414e3e506eb2ea596d8a336e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "053f96a961cdfbfaabe2349731cc876528593d6414e3e506eb2ea596d8a336e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "053f96a961cdfbfaabe2349731cc876528593d6414e3e506eb2ea596d8a336e6", kill_on_drop: false }` [INFO] [stdout] 053f96a961cdfbfaabe2349731cc876528593d6414e3e506eb2ea596d8a336e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1c37d14c8a04fc9b917f27c8da4dfa69f43888543f2cb1d551538df5b82df01 [INFO] running `Command { std: "docker" "start" "-a" "c1c37d14c8a04fc9b917f27c8da4dfa69f43888543f2cb1d551538df5b82df01", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking bslib v0.1.0 (/opt/rustwide/workdir/bslib) [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let body = self.read_body().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let body = self.read_body().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stdout] warning: type `TestBody` is more private than the item `PacketBodyType::Test::0` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | Test(Box), [INFO] [stdout] | ^^^^^^^^^^^^^ field `PacketBodyType::Test::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TestBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct TestBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PacketBody` is more private than the item `PacketBodyType::as_trait_obj` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn as_trait_obj(self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PacketBodyType::as_trait_obj` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `PacketBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | trait PacketBody: std::fmt::Debug + std::marker::Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nick` is never read [INFO] [stdout] --> bslib/src/tcp_protocol.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct TestBody { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | nick: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nick` is never read [INFO] [stdout] --> bslib/src/tcp_protocol.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ConnectBody { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 34 | nick: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nick` is never read [INFO] [stdout] --> bslib/src/tcp_protocol.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ConnectRespBody { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 49 | nick: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectRespBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TestBody` is more private than the item `PacketBodyType::Test::0` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | Test(Box), [INFO] [stdout] | ^^^^^^^^^^^^^ field `PacketBodyType::Test::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TestBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct TestBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PacketBody` is more private than the item `PacketBodyType::as_trait_obj` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn as_trait_obj(self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PacketBodyType::as_trait_obj` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `PacketBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> bslib/src/tcp_protocol.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | trait PacketBody: std::fmt::Debug + std::marker::Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nick` is never read [INFO] [stdout] --> bslib/src/tcp_protocol.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct TestBody { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | nick: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nick` is never read [INFO] [stdout] --> bslib/src/tcp_protocol.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ConnectBody { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 34 | nick: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nick` is never read [INFO] [stdout] --> bslib/src/tcp_protocol.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ConnectRespBody { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 49 | nick: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectRespBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.81s [INFO] running `Command { std: "docker" "inspect" "c1c37d14c8a04fc9b917f27c8da4dfa69f43888543f2cb1d551538df5b82df01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c37d14c8a04fc9b917f27c8da4dfa69f43888543f2cb1d551538df5b82df01", kill_on_drop: false }` [INFO] [stdout] c1c37d14c8a04fc9b917f27c8da4dfa69f43888543f2cb1d551538df5b82df01