[INFO] cloning repository https://github.com/LinuxRocks2000/towerdefense [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LinuxRocks2000/towerdefense" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxRocks2000%2Ftowerdefense", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxRocks2000%2Ftowerdefense'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ff2363361b98dc30cfc366409e3b102f438c7dd [INFO] checking LinuxRocks2000/towerdefense against try#a75eafceea413a1b40c0e0769db85e08ec17160b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxRocks2000%2Ftowerdefense" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LinuxRocks2000/towerdefense on toolchain a75eafceea413a1b40c0e0769db85e08ec17160b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LinuxRocks2000/towerdefense [INFO] finished tweaking git repo https://github.com/LinuxRocks2000/towerdefense [INFO] tweaked toml for git repo https://github.com/LinuxRocks2000/towerdefense written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LinuxRocks2000/towerdefense 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" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protocol_v3 v0.1.5 [INFO] [stderr] Downloaded protocol_v3_macro v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ad20c1277694fe01940955b454ddde72a1b73e81a7fb59c3fa0f26c51e950b5 [INFO] running `Command { std: "docker" "start" "-a" "0ad20c1277694fe01940955b454ddde72a1b73e81a7fb59c3fa0f26c51e950b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ad20c1277694fe01940955b454ddde72a1b73e81a7fb59c3fa0f26c51e950b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad20c1277694fe01940955b454ddde72a1b73e81a7fb59c3fa0f26c51e950b5", kill_on_drop: false }` [INFO] [stdout] 0ad20c1277694fe01940955b454ddde72a1b73e81a7fb59c3fa0f26c51e950b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14b138090e537b76079c03a237a04d2b6c056dcbda9bf0109c8c8f5002c81078 [INFO] running `Command { std: "docker" "start" "-a" "14b138090e537b76079c03a237a04d2b6c056dcbda9bf0109c8c8f5002c81078", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling protocol_v3_macro v0.1.2 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking protocol_v3 v0.1.5 [INFO] [stderr] Checking towerdefense v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | ClientToServer::Join (name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | ClientToServer::Join (name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_cli_rx` [INFO] [stdout] --> src/main.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | let (to_cli_tx, mut to_cli_rx) = tokio::sync::broadcast::channel(32); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_cli_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let (to_room_tx, mut to_room_rx) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let (to_cli_tx, mut to_cli_rx) = tokio::sync::broadcast::channel(32); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 106 | meta : MapMetadata, [INFO] [stdout] 107 | objects : Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outgoing` is never read [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 134 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | outgoing : tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `request_default_dimensions` is never used [INFO] [stdout] --> src/gamepiece/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | trait GamePieceController { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 6 | fn request_default_dimensions(&self) -> Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `controller` and `physics` are never read [INFO] [stdout] --> src/gamepiece/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GamePiece { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | controller : Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | physics : PhysicsObject [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shape` and `position` are never read [INFO] [stdout] --> src/physics/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PhysicsObject { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | shape : Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | position : Position [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/physics/shape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Shape { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | width : u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | height : u32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/physics/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2 | x : u32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | y : u32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_cli_rx` [INFO] [stdout] --> src/main.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | let (to_cli_tx, mut to_cli_rx) = tokio::sync::broadcast::channel(32); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_cli_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let (to_room_tx, mut to_room_rx) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let (to_cli_tx, mut to_cli_rx) = tokio::sync::broadcast::channel(32); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 106 | meta : MapMetadata, [INFO] [stdout] 107 | objects : Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outgoing` is never read [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 134 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | outgoing : tokio::sync::mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `request_default_dimensions` is never used [INFO] [stdout] --> src/gamepiece/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | trait GamePieceController { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 6 | fn request_default_dimensions(&self) -> Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `controller` and `physics` are never read [INFO] [stdout] --> src/gamepiece/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GamePiece { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | controller : Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | physics : PhysicsObject [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shape` and `position` are never read [INFO] [stdout] --> src/physics/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PhysicsObject { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | shape : Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | position : Position [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/physics/shape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Shape { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | width : u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | height : u32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/physics/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2 | x : u32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | y : u32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.15s [INFO] running `Command { std: "docker" "inspect" "14b138090e537b76079c03a237a04d2b6c056dcbda9bf0109c8c8f5002c81078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14b138090e537b76079c03a237a04d2b6c056dcbda9bf0109c8c8f5002c81078", kill_on_drop: false }` [INFO] [stdout] 14b138090e537b76079c03a237a04d2b6c056dcbda9bf0109c8c8f5002c81078