[INFO] cloning repository https://github.com/agubelu/CBT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agubelu/CBT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagubelu%2FCBT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagubelu%2FCBT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29b18b212d7d5d1c791bf56ad95bd60ea34f09ae [INFO] testing agubelu/CBT against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagubelu%2FCBT" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agubelu/CBT on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/agubelu/CBT [INFO] finished tweaking git repo https://github.com/agubelu/CBT [INFO] tweaked toml for git repo https://github.com/agubelu/CBT written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/agubelu/CBT 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded loom v0.5.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.6 [INFO] [stderr] Downloaded tracing-subscriber v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4c8e6a3385ba7c34d4dcb95a2b21c082ff8e11e7d51323f54323edd3e453249 [INFO] running `Command { std: "docker" "start" "-a" "a4c8e6a3385ba7c34d4dcb95a2b21c082ff8e11e7d51323f54323edd3e453249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4c8e6a3385ba7c34d4dcb95a2b21c082ff8e11e7d51323f54323edd3e453249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c8e6a3385ba7c34d4dcb95a2b21c082ff8e11e7d51323f54323edd3e453249", kill_on_drop: false }` [INFO] [stdout] a4c8e6a3385ba7c34d4dcb95a2b21c082ff8e11e7d51323f54323edd3e453249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9af833140277e8e0fa14507b38686eef3b1891f927c187e557f61f7637e82044 [INFO] running `Command { std: "docker" "start" "-a" "9af833140277e8e0fa14507b38686eef3b1891f927c187e557f61f7637e82044", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling web-time v0.2.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling shakmat-core v0.1.0 (/opt/rustwide/workdir/shakmat-core) [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling shakmat-engine v0.1.0 (/opt/rustwide/workdir/shakmat-engine) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shakmat-wasm v0.1.0 (/opt/rustwide/workdir/shakmat-wasm) [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling shakmat-server v0.1.0 (/opt/rustwide/workdir/shakmat-server) [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> shakmat-server/src/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_all_options` [INFO] [stdout] --> shakmat-server/src/handlers.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn _all_options() { /* Intentionally left empty */ } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_game(state: &GamesState, fen: Option>) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_turn_info` [INFO] [stdout] --> shakmat-server/src/handlers.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_turn_info(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_move(state: &GamesState, game_id: &str, r#move: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_computer_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_computer_move(state: &GamesState, engine: &EngineState, game_id: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn delete_game(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config_engine` [INFO] [stdout] --> shakmat-server/src/handlers.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn config_engine(engine: &EngineState, config: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shakmat-server/src/state.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut game_state = self.get_game_mut(key); [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9af833140277e8e0fa14507b38686eef3b1891f927c187e557f61f7637e82044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9af833140277e8e0fa14507b38686eef3b1891f927c187e557f61f7637e82044", kill_on_drop: false }` [INFO] [stdout] 9af833140277e8e0fa14507b38686eef3b1891f927c187e557f61f7637e82044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ce6f217137d61debaeff93da6518d5074ee14fbcfb4099a0de41c3ba71af2a3 [INFO] running `Command { std: "docker" "start" "-a" "6ce6f217137d61debaeff93da6518d5074ee14fbcfb4099a0de41c3ba71af2a3", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling shakmat-core v0.1.0 (/opt/rustwide/workdir/shakmat-core) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling web-time v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling shakmat-engine v0.1.0 (/opt/rustwide/workdir/shakmat-engine) [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling shakmat-wasm v0.1.0 (/opt/rustwide/workdir/shakmat-wasm) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shakmat-server v0.1.0 (/opt/rustwide/workdir/shakmat-server) [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> shakmat-server/src/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_all_options` [INFO] [stdout] --> shakmat-server/src/handlers.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn _all_options() { /* Intentionally left empty */ } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_game(state: &GamesState, fen: Option>) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_turn_info` [INFO] [stdout] --> shakmat-server/src/handlers.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_turn_info(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_move(state: &GamesState, game_id: &str, r#move: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_computer_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_computer_move(state: &GamesState, engine: &EngineState, game_id: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn delete_game(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config_engine` [INFO] [stdout] --> shakmat-server/src/handlers.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn config_engine(engine: &EngineState, config: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shakmat-server/src/state.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut game_state = self.get_game_mut(key); [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 3m 29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6ce6f217137d61debaeff93da6518d5074ee14fbcfb4099a0de41c3ba71af2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce6f217137d61debaeff93da6518d5074ee14fbcfb4099a0de41c3ba71af2a3", kill_on_drop: false }` [INFO] [stdout] 6ce6f217137d61debaeff93da6518d5074ee14fbcfb4099a0de41c3ba71af2a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 93516cf3d5592806f2a096db7cdcd129fe3b8428cf4f92d7af05bc47db18313d [INFO] running `Command { std: "docker" "start" "-a" "93516cf3d5592806f2a096db7cdcd129fe3b8428cf4f92d7af05bc47db18313d", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: the item `Result` is imported redundantly [INFO] [stderr] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Result` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Result` is imported redundantly [INFO] [stderr] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Result` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `Result` is imported redundantly [INFO] [stderr] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Result` is already defined here [INFO] [stderr] [INFO] [stderr] warning: `shakmat-core` (lib) generated 3 warnings [INFO] [stderr] warning: `shakmat-core` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: the item `drop` is imported redundantly [INFO] [stderr] --> shakmat-server/src/handlers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::mem::drop; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `drop` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `_all_options` [INFO] [stderr] --> shakmat-server/src/handlers.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn _all_options() { /* Intentionally left empty */ } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `create_game` [INFO] [stderr] --> shakmat-server/src/handlers.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn create_game(state: &GamesState, fen: Option>) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_turn_info` [INFO] [stderr] --> shakmat-server/src/handlers.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get_turn_info(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `make_move` [INFO] [stderr] --> shakmat-server/src/handlers.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn make_move(state: &GamesState, game_id: &str, r#move: Json) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_computer_move` [INFO] [stderr] --> shakmat-server/src/handlers.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn get_computer_move(state: &GamesState, engine: &EngineState, game_id: &str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_game` [INFO] [stderr] --> shakmat-server/src/handlers.rs:105:8 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn delete_game(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `config_engine` [INFO] [stderr] --> shakmat-server/src/handlers.rs:114:8 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn config_engine(engine: &EngineState, config: Json) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> shakmat-server/src/state.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let mut game_state = self.get_game_mut(key); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `shakmat-server` (bin "shakmat-server" test) generated 9 warnings (run `cargo fix --bin "shakmat-server" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shakmat_core-7aff3103d8c204b7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_board.rs (/opt/rustwide/target/debug/deps/test_board-46e7d3945729efdf) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test pos4 ... ok [INFO] [stdout] test default_pos has been running for over 60 seconds [INFO] [stdout] test pos2 has been running for over 60 seconds [INFO] [stdout] test pos3 has been running for over 60 seconds [INFO] [stdout] test pos4_mirrored has been running for over 60 seconds [INFO] [stdout] test pos5 has been running for over 60 seconds [INFO] [stdout] test pos6 has been running for over 60 seconds [INFO] [stdout] test pos3 ... ok [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "93516cf3d5592806f2a096db7cdcd129fe3b8428cf4f92d7af05bc47db18313d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93516cf3d5592806f2a096db7cdcd129fe3b8428cf4f92d7af05bc47db18313d", kill_on_drop: false }` [INFO] [stdout] 93516cf3d5592806f2a096db7cdcd129fe3b8428cf4f92d7af05bc47db18313d [INFO] testing agubelu/CBT against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagubelu%2FCBT" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agubelu/CBT on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/agubelu/CBT [INFO] finished tweaking git repo https://github.com/agubelu/CBT [INFO] tweaked toml for git repo https://github.com/agubelu/CBT written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/agubelu/CBT 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc2/source/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-4-tc2/source/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99c202e1b60ae23d3cbfd419a47e1d172c49803eb244145f5897c894b9cb5af [INFO] running `Command { std: "docker" "start" "-a" "f99c202e1b60ae23d3cbfd419a47e1d172c49803eb244145f5897c894b9cb5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99c202e1b60ae23d3cbfd419a47e1d172c49803eb244145f5897c894b9cb5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99c202e1b60ae23d3cbfd419a47e1d172c49803eb244145f5897c894b9cb5af", kill_on_drop: false }` [INFO] [stdout] f99c202e1b60ae23d3cbfd419a47e1d172c49803eb244145f5897c894b9cb5af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a92420c03c61eff7d825885f463f2b5cdd4c8ca67965ad926739a78d9789cb [INFO] running `Command { std: "docker" "start" "-a" "39a92420c03c61eff7d825885f463f2b5cdd4c8ca67965ad926739a78d9789cb", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling web-time v0.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling shakmat-core v0.1.0 (/opt/rustwide/workdir/shakmat-core) [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling shakmat-engine v0.1.0 (/opt/rustwide/workdir/shakmat-engine) [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shakmat-wasm v0.1.0 (/opt/rustwide/workdir/shakmat-wasm) [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling shakmat-server v0.1.0 (/opt/rustwide/workdir/shakmat-server) [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> shakmat-server/src/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_all_options` [INFO] [stdout] --> shakmat-server/src/handlers.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn _all_options() { /* Intentionally left empty */ } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_game(state: &GamesState, fen: Option>) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_turn_info` [INFO] [stdout] --> shakmat-server/src/handlers.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_turn_info(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_move(state: &GamesState, game_id: &str, r#move: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_computer_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_computer_move(state: &GamesState, engine: &EngineState, game_id: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn delete_game(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config_engine` [INFO] [stdout] --> shakmat-server/src/handlers.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn config_engine(engine: &EngineState, config: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shakmat-server/src/state.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut game_state = self.get_game_mut(key); [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "39a92420c03c61eff7d825885f463f2b5cdd4c8ca67965ad926739a78d9789cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a92420c03c61eff7d825885f463f2b5cdd4c8ca67965ad926739a78d9789cb", kill_on_drop: false }` [INFO] [stdout] 39a92420c03c61eff7d825885f463f2b5cdd4c8ca67965ad926739a78d9789cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fdd5ea4560e499656a05e82953aa4be98915f8600556fe4f82ee778502e49c7 [INFO] running `Command { std: "docker" "start" "-a" "5fdd5ea4560e499656a05e82953aa4be98915f8600556fe4f82ee778502e49c7", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling shakmat-core v0.1.0 (/opt/rustwide/workdir/shakmat-core) [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling web-time v0.2.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling shakmat-engine v0.1.0 (/opt/rustwide/workdir/shakmat-engine) [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling shakmat-wasm v0.1.0 (/opt/rustwide/workdir/shakmat-wasm) [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shakmat-server v0.1.0 (/opt/rustwide/workdir/shakmat-server) [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> shakmat-server/src/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_all_options` [INFO] [stdout] --> shakmat-server/src/handlers.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn _all_options() { /* Intentionally left empty */ } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_game(state: &GamesState, fen: Option>) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_turn_info` [INFO] [stdout] --> shakmat-server/src/handlers.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_turn_info(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_move(state: &GamesState, game_id: &str, r#move: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_computer_move` [INFO] [stdout] --> shakmat-server/src/handlers.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_computer_move(state: &GamesState, engine: &EngineState, game_id: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_game` [INFO] [stdout] --> shakmat-server/src/handlers.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn delete_game(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config_engine` [INFO] [stdout] --> shakmat-server/src/handlers.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn config_engine(engine: &EngineState, config: Json) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shakmat-server/src/state.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut game_state = self.get_game_mut(key); [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 4m 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5fdd5ea4560e499656a05e82953aa4be98915f8600556fe4f82ee778502e49c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fdd5ea4560e499656a05e82953aa4be98915f8600556fe4f82ee778502e49c7", kill_on_drop: false }` [INFO] [stdout] 5fdd5ea4560e499656a05e82953aa4be98915f8600556fe4f82ee778502e49c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad1d0de99321db5a382f22e9ccf7d6bb3953172ba3ea06bd4e5fcdfb3c3c0062 [INFO] running `Command { std: "docker" "start" "-a" "ad1d0de99321db5a382f22e9ccf7d6bb3953172ba3ea06bd4e5fcdfb3c3c0062", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/shakmat-wasm/Cargo.toml: dependency (getrandom) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: the item `Result` is imported redundantly [INFO] [stderr] --> shakmat-core/src/board/chess_board.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Result` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Result` is imported redundantly [INFO] [stderr] --> shakmat-core/src/fen/fen_utils.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Result` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `Result` is imported redundantly [INFO] [stderr] --> shakmat-core/src/game_elements/position.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Result` is already defined here [INFO] [stderr] [INFO] [stderr] warning: `shakmat-core` (lib) generated 3 warnings [INFO] [stderr] warning: `shakmat-core` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: the item `drop` is imported redundantly [INFO] [stderr] --> shakmat-server/src/handlers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::mem::drop; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `drop` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `_all_options` [INFO] [stderr] --> shakmat-server/src/handlers.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn _all_options() { /* Intentionally left empty */ } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `create_game` [INFO] [stderr] --> shakmat-server/src/handlers.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn create_game(state: &GamesState, fen: Option>) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_turn_info` [INFO] [stderr] --> shakmat-server/src/handlers.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get_turn_info(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `make_move` [INFO] [stderr] --> shakmat-server/src/handlers.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn make_move(state: &GamesState, game_id: &str, r#move: Json) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_computer_move` [INFO] [stderr] --> shakmat-server/src/handlers.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn get_computer_move(state: &GamesState, engine: &EngineState, game_id: &str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_game` [INFO] [stderr] --> shakmat-server/src/handlers.rs:105:8 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn delete_game(state: &GamesState, game_id: &str) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `config_engine` [INFO] [stderr] --> shakmat-server/src/handlers.rs:114:8 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn config_engine(engine: &EngineState, config: Json) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> shakmat-server/src/state.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let mut game_state = self.get_game_mut(key); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `shakmat-server` (bin "shakmat-server" test) generated 9 warnings (run `cargo fix --bin "shakmat-server" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shakmat_core-7aff3103d8c204b7) [INFO] [stderr] Running tests/test_board.rs (/opt/rustwide/target/debug/deps/test_board-46e7d3945729efdf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test default_pos has been running for over 60 seconds [INFO] [stdout] test pos2 has been running for over 60 seconds [INFO] [stdout] test pos3 has been running for over 60 seconds [INFO] [stdout] test pos4 has been running for over 60 seconds [INFO] [stdout] test pos4_mirrored has been running for over 60 seconds [INFO] [stdout] test pos5 has been running for over 60 seconds [INFO] [stdout] test pos6 has been running for over 60 seconds [INFO] [stdout] test pos4 ... ok [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "ad1d0de99321db5a382f22e9ccf7d6bb3953172ba3ea06bd4e5fcdfb3c3c0062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad1d0de99321db5a382f22e9ccf7d6bb3953172ba3ea06bd4e5fcdfb3c3c0062", kill_on_drop: false }` [INFO] [stdout] ad1d0de99321db5a382f22e9ccf7d6bb3953172ba3ea06bd4e5fcdfb3c3c0062