[INFO] cloning repository https://github.com/Okkonen-GitHub/Prime-Path [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Okkonen-GitHub/Prime-Path" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOkkonen-GitHub%2FPrime-Path", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOkkonen-GitHub%2FPrime-Path'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f4ef279c682c6d5b99066326e85c76587b6eb5e [INFO] building Okkonen-GitHub/Prime-Path against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOkkonen-GitHub%2FPrime-Path" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Okkonen-GitHub/Prime-Path [INFO] finished tweaking git repo https://github.com/Okkonen-GitHub/Prime-Path [INFO] tweaked toml for git repo https://github.com/Okkonen-GitHub/Prime-Path written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Okkonen-GitHub/Prime-Path on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Okkonen-GitHub/Prime-Path 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-server v2.4.0 [INFO] [stderr] Downloaded zstd-safe v7.2.0 [INFO] [stderr] Downloaded actix_derive v0.6.1 [INFO] [stderr] Downloaded tinyvec v1.7.0 [INFO] [stderr] Downloaded actix-web-actors v4.3.0 [INFO] [stderr] Downloaded cc v1.0.105 [INFO] [stderr] Downloaded actix-http v3.8.0 [INFO] [stderr] Downloaded syn v2.0.69 [INFO] [stderr] Downloaded actix-web v4.8.0 [INFO] [stderr] Downloaded zstd-sys v2.0.12+zstd.1.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eecbf4080005f9a09834016ba5a00a0b27fb71a799da3a1521735883c7f564c [INFO] running `Command { std: "docker" "start" "-a" "7eecbf4080005f9a09834016ba5a00a0b27fb71a799da3a1521735883c7f564c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eecbf4080005f9a09834016ba5a00a0b27fb71a799da3a1521735883c7f564c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eecbf4080005f9a09834016ba5a00a0b27fb71a799da3a1521735883c7f564c", kill_on_drop: false }` [INFO] [stdout] 7eecbf4080005f9a09834016ba5a00a0b27fb71a799da3a1521735883c7f564c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4ed7d8c705f8f5e6b0ba333d94aa24767fa04ed409cec6de3197b909f8c1dba [INFO] running `Command { std: "docker" "start" "-a" "a4ed7d8c705f8f5e6b0ba333d94aa24767fa04ed409cec6de3197b909f8c1dba", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Compiling tinyvec v1.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.0.105 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Compiling actix-server v2.4.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling actix-http v3.8.0 [INFO] [stderr] Compiling actix-web v4.8.0 [INFO] [stderr] Compiling actix-web-actors v4.3.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling prime-path v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap` and `sync::Mutex` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Data` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | web::{self, Data}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/game_server.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/game_session.rs:212:49 [INFO] [stdout] | [INFO] [stdout] 212 | "/ready" => if let Some(game_id) = &self.game_id {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ready` is never constructed [INFO] [stdout] --> src/game_server.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Ready {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting` and `InProcess` are never constructed [INFO] [stdout] --> src/game_server.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum GameStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | InProcess { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `turn_id` and `status` are never read [INFO] [stdout] --> src/game_server.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | pub turn_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | /// for checking if certain game actions is valid at a given time [INFO] [stdout] 92 | pub status: GameStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.35s [INFO] running `Command { std: "docker" "inspect" "a4ed7d8c705f8f5e6b0ba333d94aa24767fa04ed409cec6de3197b909f8c1dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ed7d8c705f8f5e6b0ba333d94aa24767fa04ed409cec6de3197b909f8c1dba", kill_on_drop: false }` [INFO] [stdout] a4ed7d8c705f8f5e6b0ba333d94aa24767fa04ed409cec6de3197b909f8c1dba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca47c9057043b195c93242214369936ce39d4a01da7f47489766464b4a8747a [INFO] running `Command { std: "docker" "start" "-a" "2ca47c9057043b195c93242214369936ce39d4a01da7f47489766464b4a8747a", kill_on_drop: false }` [INFO] [stderr] Compiling prime-path v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap` and `sync::Mutex` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Data` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | web::{self, Data}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/game_server.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/game_session.rs:212:49 [INFO] [stdout] | [INFO] [stdout] 212 | "/ready" => if let Some(game_id) = &self.game_id {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ready` is never constructed [INFO] [stdout] --> src/game_server.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Ready {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting` and `InProcess` are never constructed [INFO] [stdout] --> src/game_server.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum GameStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | InProcess { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `turn_id` and `status` are never read [INFO] [stdout] --> src/game_server.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | pub turn_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | /// for checking if certain game actions is valid at a given time [INFO] [stdout] 92 | pub status: GameStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "2ca47c9057043b195c93242214369936ce39d4a01da7f47489766464b4a8747a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca47c9057043b195c93242214369936ce39d4a01da7f47489766464b4a8747a", kill_on_drop: false }` [INFO] [stdout] 2ca47c9057043b195c93242214369936ce39d4a01da7f47489766464b4a8747a