[INFO] cloning repository https://github.com/Firfi/sstackrr-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Firfi/sstackrr-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Fsstackrr-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Fsstackrr-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ee2df03974ce0b6a06587d81d093b40f4adfe27
[INFO] testing Firfi/sstackrr-backend against try#61cd42370816fd135c0f3b9debf2f5dfcf194594 for pr-98839
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Fsstackrr-backend" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Firfi/sstackrr-backend on toolchain 61cd42370816fd135c0f3b9debf2f5dfcf194594
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Firfi/sstackrr-backend
[INFO] finished tweaking git repo https://github.com/Firfi/sstackrr-backend
[INFO] tweaked toml for git repo https://github.com/Firfi/sstackrr-backend written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Firfi/sstackrr-backend already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f81c635fc32967237cee6863c3e5f50ef1cc77d557a5d0423de8f0ac28e51fa2
[INFO] running `Command { std: "docker" "start" "-a" "f81c635fc32967237cee6863c3e5f50ef1cc77d557a5d0423de8f0ac28e51fa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f81c635fc32967237cee6863c3e5f50ef1cc77d557a5d0423de8f0ac28e51fa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f81c635fc32967237cee6863c3e5f50ef1cc77d557a5d0423de8f0ac28e51fa2", kill_on_drop: false }`
[INFO] [stdout] f81c635fc32967237cee6863c3e5f50ef1cc77d557a5d0423de8f0ac28e51fa2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da638df920d1e113d4625ac612389b9cb8880be3b7c632c7484c8065458b98ff
[INFO] running `Command { std: "docker" "start" "-a" "da638df920d1e113d4625ac612389b9cb8880be3b7c632c7484c8065458b98ff", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.37
[INFO] [stderr] Compiling unicode-xid v0.2.2
[INFO] [stderr] Compiling autocfg v1.1.0
[INFO] [stderr] Compiling syn v1.0.91
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling libc v0.2.123
[INFO] [stderr] Compiling serde_derive v1.0.136
[INFO] [stderr] Compiling serde v1.0.136
[INFO] [stderr] Compiling scopeguard v1.1.0
[INFO] [stderr] Compiling log v0.4.16
[INFO] [stderr] Compiling itoa v1.0.1
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling smallvec v1.8.0
[INFO] [stderr] Compiling memchr v2.4.1
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling futures-core v0.3.21
[INFO] [stderr] Compiling pin-project-lite v0.2.8
[INFO] [stderr] Compiling version_check v0.9.4
[INFO] [stderr] Compiling parking_lot_core v0.9.2
[INFO] [stderr] Compiling once_cell v1.10.0
[INFO] [stderr] Compiling futures-sink v0.3.21
[INFO] [stderr] Compiling futures-task v0.3.21
[INFO] [stderr] Compiling hashbrown v0.11.2
[INFO] [stderr] Compiling futures-io v0.3.21
[INFO] [stderr] Compiling futures-util v0.3.21
[INFO] [stderr] Compiling typenum v1.15.0
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling slab v0.4.6
[INFO] [stderr] Compiling ryu v1.0.9
[INFO] [stderr] Compiling byteorder v1.4.3
[INFO] [stderr] Compiling bitflags v1.3.2
[INFO] [stderr] Compiling httparse v1.7.0
[INFO] [stderr] Compiling parking_lot_core v0.8.5
[INFO] [stderr] Compiling ucd-trie v0.1.3
[INFO] [stderr] Compiling crossbeam-utils v0.8.8
[INFO] [stderr] Compiling matches v0.1.9
[INFO] [stderr] Compiling maplit v1.0.2
[INFO] [stderr] Compiling tinyvec_macros v0.1.0
[INFO] [stderr] Compiling percent-encoding v2.1.0
[INFO] [stderr] Compiling serde_json v1.0.79
[INFO] [stderr] Compiling unicode-bidi v0.3.7
[INFO] [stderr] Compiling cpufeatures v0.2.2
[INFO] [stderr] Compiling mime v0.3.16
[INFO] [stderr] Compiling strsim v0.10.0
[INFO] [stderr] Compiling ident_case v1.0.1
[INFO] [stderr] Compiling ppv-lite86 v0.2.16
[INFO] [stderr] Compiling async-trait v0.1.53
[INFO] [stderr] Compiling tower-service v0.3.1
[INFO] [stderr] Compiling proc-macro2 v0.4.30
[INFO] [stderr] Compiling regex-syntax v0.6.25
[INFO] [stderr] Compiling encoding_rs v0.8.31
[INFO] [stderr] Compiling pq-sys v0.4.6
[INFO] [stderr] Compiling futures-channel v0.3.21
[INFO] [stderr] Compiling base64 v0.13.0
[INFO] [stderr] Compiling tower-layer v0.3.1
[INFO] [stderr] Compiling rayon-core v1.9.2
[INFO] [stderr] Compiling utf-8 v0.7.6
[INFO] [stderr] Compiling unicode-xid v0.1.0
[INFO] [stderr] Compiling try-lock v0.2.3
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Compiling httpdate v1.0.2
[INFO] [stderr] Compiling spin v0.9.2
[INFO] [stderr] Compiling http-range-header v0.3.0
[INFO] [stderr] Compiling remove_dir_all v0.5.3
[INFO] [stderr] Compiling cfg-if v0.1.10
[INFO] [stderr] Compiling fastrand v1.7.0
[INFO] [stderr] Compiling rustversion v1.0.6
[INFO] [stderr] Compiling ascii_utils v0.9.3
[INFO] [stderr] Compiling static_assertions v1.1.0
[INFO] [stderr] Compiling heck v0.4.0
[INFO] [stderr] Compiling moka v0.8.2
[INFO] [stderr] Compiling sync_wrapper v0.1.1
[INFO] [stderr] Compiling matchit v0.5.0
[INFO] [stderr] Compiling tagptr v0.2.0
[INFO] [stderr] Compiling either v1.6.1
[INFO] [stderr] Compiling dotenv v0.15.0
[INFO] [stderr] Compiling futures-timer v3.0.2
[INFO] [stderr] Compiling instant v0.1.12
[INFO] [stderr] Compiling tracing-core v0.1.26
[INFO] [stderr] Compiling raw-cpuid v10.3.0
[INFO] [stderr] Compiling lock_api v0.4.7
[INFO] [stderr] Compiling indexmap v1.8.1
[INFO] [stderr] Compiling memoffset v0.6.5
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling crossbeam-epoch v0.9.8
[INFO] [stderr] Compiling memoffset v0.5.6
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling crossbeam-utils v0.7.2
[INFO] [stderr] Compiling crossbeam-epoch v0.8.2
[INFO] [stderr] Compiling num-bigint v0.4.3
[INFO] [stderr] Compiling rayon v1.5.2
[INFO] [stderr] Compiling tinyvec v1.5.1
[INFO] [stderr] Compiling pest v2.1.3
[INFO] [stderr] Compiling generic-array v0.14.5
[INFO] [stderr] Compiling multer v2.0.2
[INFO] [stderr] Compiling form_urlencoded v1.0.1
[INFO] [stderr] Compiling fast_chemail v0.9.6
[INFO] [stderr] Compiling want v0.3.0
[INFO] [stderr] Compiling unicode-normalization v0.1.19
[INFO] [stderr] Compiling pest_meta v2.1.3
[INFO] [stderr] Compiling quote v1.0.18
[INFO] [stderr] Compiling aho-corasick v0.7.18
[INFO] [stderr] Compiling crossbeam-channel v0.5.4
[INFO] [stderr] Compiling num_cpus v1.13.1
[INFO] [stderr] Compiling getrandom v0.2.6
[INFO] [stderr] Compiling signal-hook-registry v1.4.0
[INFO] [stderr] Compiling mio v0.8.2
[INFO] [stderr] Compiling socket2 v0.4.4
[INFO] [stderr] Compiling tempfile v3.3.0
[INFO] [stderr] Compiling quanta v0.9.3
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling triomphe v0.1.5
[INFO] [stderr] Compiling quote v0.6.13
[INFO] [stderr] Compiling regex v1.5.5
[INFO] [stderr] Compiling idna v0.2.3
[INFO] [stderr] Compiling rand_core v0.6.3
[INFO] [stderr] Compiling parking_lot v0.12.0
[INFO] [stderr] Compiling parking_lot v0.11.2
[INFO] [stderr] Compiling crossbeam-deque v0.8.1
[INFO] [stderr] Compiling syn v0.14.9
[INFO] [stderr] Compiling crypto-common v0.1.3
[INFO] [stderr] Compiling block-buffer v0.10.2
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr] Compiling digest v0.10.3
[INFO] [stderr] Compiling url v2.2.2
[INFO] [stderr] Compiling Inflector v0.11.4
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling r2d2 v0.8.9
[INFO] [stderr] Compiling sha-1 v0.10.0
[INFO] [stderr] Compiling pest_generator v2.1.3
[INFO] [stderr] Compiling darling_core v0.13.4
[INFO] [stderr] Compiling futures-macro v0.3.21
[INFO] [stderr] Compiling tokio-macros v1.7.0
[INFO] [stderr] Compiling thiserror-impl v1.0.30
[INFO] [stderr] Compiling tracing-attributes v0.1.20
[INFO] [stderr] Compiling diesel_derives v1.4.1
[INFO] [stderr] Compiling pest_derive v2.1.0
[INFO] [stderr] Compiling pin-project-internal v1.0.10
[INFO] [stderr] Compiling async-stream-impl v0.3.3
[INFO] [stderr] Compiling diesel-derive-enum v1.1.2
[INFO] [stderr] Compiling strum_macros v0.24.0
[INFO] [stderr] Compiling darling_macro v0.13.4
[INFO] [stderr] Compiling async-stream v0.3.3
[INFO] [stderr] Compiling pin-project v1.0.10
[INFO] [stderr] Compiling thiserror v1.0.30
[INFO] [stderr] Compiling tracing v0.1.34
[INFO] [stderr] Compiling darling v0.13.4
[INFO] [stderr] Compiling diesel v1.4.8
[INFO] [stderr] Compiling bytes v1.1.0
[INFO] [stderr] Compiling uuid v0.8.2
[INFO] [stderr] Compiling toml v0.5.9
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling http v0.2.6
[INFO] [stderr] Compiling tokio v1.17.0
[INFO] [stderr] Compiling proc-macro-crate v1.1.3
[INFO] [stderr] Compiling async-graphql-value v3.0.38
[INFO] [stderr] Compiling async-graphql-parser v3.0.38
[INFO] [stderr] Compiling http-body v0.4.4
[INFO] [stderr] Compiling headers-core v0.2.0
[INFO] [stderr] Compiling tungstenite v0.17.2
[INFO] [stderr] Compiling headers v0.3.7
[INFO] [stderr] Compiling axum-core v0.2.1
[INFO] [stderr] Compiling migrations_internals v1.4.1
[INFO] [stderr] Compiling tokio-util v0.7.1
[INFO] [stderr] Compiling tokio-tungstenite v0.17.1
[INFO] [stderr] Compiling tokio-util v0.6.9
[INFO] [stderr] Compiling tokio-stream v0.1.8
[INFO] [stderr] Compiling migrations_macros v1.4.2
[INFO] [stderr] Compiling diesel-derive-newtype v0.1.2
[INFO] [stderr] Compiling async-graphql-derive v3.0.38
[INFO] [stderr] Compiling tower v0.4.12
[INFO] [stderr] Compiling h2 v0.3.13
[INFO] [stderr] Compiling tower-http v0.2.5
[INFO] [stderr] Compiling hyper v0.14.18
[INFO] [stderr] Compiling diesel_migrations v1.4.0
[INFO] [stderr] Compiling axum v0.5.1
[INFO] [stderr] Compiling async-graphql v3.0.38
[INFO] [stderr] Compiling async-graphql-axum v3.0.38
[INFO] [stderr] Compiling sstackrr-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fetch_game_state`
[INFO] [stdout] --> src/adversary.rs:2:17
[INFO] [stdout] |
[INFO] [stdout] 2 | use crate::db::{fetch_game_state};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout] --> src/adversary_minimax.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::cell::Cell;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] --> src/adversary_minimax.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::db::GameStateSerialized`
[INFO] [stdout] --> src/adversary_minimax.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use crate::db::GameStateSerialized;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `field`
[INFO] [stdout] --> src/game.rs:82:30
[INFO] [stdout] |
[INFO] [stdout] 82 | let (size_x, size_y, field) = (self.size_x, self.size_y, &self.field);
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout] --> src/adversary.rs:97:20
[INFO] [stdout] |
[INFO] [stdout] 97 | Ok(player) => {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/adversary_minimax.rs:118:13
[INFO] [stdout] |
[INFO] [stdout] 118 | let mut try_game = &mut game.clone();
[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/adversary_minimax.rs:69:22
[INFO] [stdout] |
[INFO] [stdout] 69 | mut alpha: i32,
[INFO] [stdout] | ----^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/adversary_minimax.rs:76:9
[INFO] [stdout] |
[INFO] [stdout] 76 | let mut possible_moves = game.possible_moves(); // so the caller won't trick us with a wrong depth
[INFO] [stdout] | ----^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/adversary_minimax.rs:96:9
[INFO] [stdout] |
[INFO] [stdout] 96 | let mut max = (game.size_x() as i32 * game.size_y() as i32 - 1 - game.current_depth() as i32) / 2;
[INFO] [stdout] | ----^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/adversary_minimax.rs:114:9
[INFO] [stdout] |
[INFO] [stdout] 114 | let mut best_move: Mutex