[INFO] cloning repository https://github.com/grzech/web_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grzech/web_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrzech%2Fweb_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrzech%2Fweb_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9282badbb279d8b6085aeb2ae5ffeaec9bb8ebd3 [INFO] testing grzech/web_game against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrzech%2Fweb_game" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grzech/web_game on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/grzech/web_game [INFO] finished tweaking git repo https://github.com/grzech/web_game [INFO] tweaked toml for git repo https://github.com/grzech/web_game written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/grzech/web_game 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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20a40b02472ebc0a3ee582d112e0514bb0e305f2a777e265fd43949658e86ea2 [INFO] running `Command { std: "docker" "start" "-a" "20a40b02472ebc0a3ee582d112e0514bb0e305f2a777e265fd43949658e86ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20a40b02472ebc0a3ee582d112e0514bb0e305f2a777e265fd43949658e86ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a40b02472ebc0a3ee582d112e0514bb0e305f2a777e265fd43949658e86ea2", kill_on_drop: false }` [INFO] [stdout] 20a40b02472ebc0a3ee582d112e0514bb0e305f2a777e265fd43949658e86ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7077f1507f865f45263e928380200c59e6a7bfde9a2d6a1cbcc39502fc028c4f [INFO] running `Command { std: "docker" "start" "-a" "7077f1507f865f45263e928380200c59e6a7bfde9a2d6a1cbcc39502fc028c4f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling xxhash-rust v0.8.6 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling const_format v0.2.31 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling yansi v1.0.0-rc [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling self_cell v1.0.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling inventory v0.3.11 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling pad-adapter v0.1.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling server_fn_macro v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling typed-builder v0.14.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling derive-where v1.2.1 [INFO] [stderr] Compiling syn_derive v0.1.6 [INFO] [stderr] Compiling server_fn_macro_default v0.4.5 [INFO] [stderr] Compiling enum-ordinalize v3.1.13 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling educe v0.4.22 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling quote-use v0.7.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling pest v2.7.1 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling rstml v0.10.6 [INFO] [stderr] Compiling leptos_hot_reload v0.4.5 [INFO] [stderr] Compiling attribute-derive-macro v0.6.1 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling pest_meta v2.7.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.37 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling attribute-derive v0.6.1 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling pest_generator v2.7.1 [INFO] [stderr] Compiling leptos_macro v0.4.5 [INFO] [stderr] Compiling pest_derive v2.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling config v0.13.3 [INFO] [stderr] Compiling leptos_config v0.4.5 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling server_fn v0.4.5 [INFO] [stderr] Compiling leptos_reactive v0.4.5 [INFO] [stderr] Compiling leptos_server v0.4.5 [INFO] [stderr] Compiling leptos_dom v0.4.5 [INFO] [stderr] Compiling leptos v0.4.5 [INFO] [stderr] Compiling web_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | {move || { view! { cx, } } } [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 54 - {move || { view! { cx, } } } [INFO] [stdout] 54 + move || { view! { cx, } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_boundaries` is never used [INFO] [stdout] --> src/game_board.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GameBoard { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_boundaries(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `put_food` is never used [INFO] [stdout] --> src/snake.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Snake { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn put_food(&self, brd: &mut GameBoard) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7077f1507f865f45263e928380200c59e6a7bfde9a2d6a1cbcc39502fc028c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7077f1507f865f45263e928380200c59e6a7bfde9a2d6a1cbcc39502fc028c4f", kill_on_drop: false }` [INFO] [stdout] 7077f1507f865f45263e928380200c59e6a7bfde9a2d6a1cbcc39502fc028c4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce0a3ef1eea6ddd5a3c558fb52bab8b7991dc8994a0cc61e550c3d025114d5bc [INFO] running `Command { std: "docker" "start" "-a" "ce0a3ef1eea6ddd5a3c558fb52bab8b7991dc8994a0cc61e550c3d025114d5bc", kill_on_drop: false }` [INFO] [stderr] Compiling web_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | {move || { view! { cx, } } } [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 54 - {move || { view! { cx, } } } [INFO] [stdout] 54 + move || { view! { cx, } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.67s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ce0a3ef1eea6ddd5a3c558fb52bab8b7991dc8994a0cc61e550c3d025114d5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce0a3ef1eea6ddd5a3c558fb52bab8b7991dc8994a0cc61e550c3d025114d5bc", kill_on_drop: false }` [INFO] [stdout] ce0a3ef1eea6ddd5a3c558fb52bab8b7991dc8994a0cc61e550c3d025114d5bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10d1c72f2836d142bda98e1eebdae42e29d547d0e3255e6a856756eafaa6bcc5 [INFO] running `Command { std: "docker" "start" "-a" "10d1c72f2836d142bda98e1eebdae42e29d547d0e3255e6a856756eafaa6bcc5", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | {move || { view! { cx, } } } [INFO] [stderr] | ^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 54 - {move || { view! { cx, } } } [INFO] [stderr] 54 + move || { view! { cx, } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `web_game` (bin "web_game" test) generated 1 warning (run `cargo fix --bin "web_game" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web_game-f6f5bb8d96541db9) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test game_board::tests::get_token_should_return_error_if_boundaries_are_exceeded ... ok [INFO] [stdout] test snake::tests::afted_first_move_snake_should_have_no_body ... ok [INFO] [stdout] test game_board::tests::put_token_should_return_error_if_boundaries_are_exceeded ... ok [INFO] [stdout] test snake::tests::first_move_should_place_head_on_board ... ok [INFO] [stdout] test game_board::tests::check_put_and_get_token ... ok [INFO] [stdout] test snake::tests::constructor_should_create_snake_with_head_only ... ok [INFO] [stdout] test snake::tests::play_should_print_snake_on_board ... ok [INFO] [stdout] test snake::tests::put_food_should_place_food_in_random_empty_field ... ok [INFO] [stdout] test snake::tests::get_next_head_position_should_increment_head_properly ... ok [INFO] [stdout] test snake::tests::head_should_return_last_element_of_snake_body ... ok [INFO] [stdout] test snake::tests::play_should_move_head_in_correct_direction ... ok [INFO] [stdout] test snake::tests::first_move_should_place_food_on_board ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- snake::tests::first_move_should_place_food_on_board stdout ---- [INFO] [stdout] thread 'snake::tests::first_move_should_place_food_on_board' panicked at src/snake.rs:190:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 0 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57d2bfaf218a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x57d2bfaf218a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x57d2bfaf218a - std::sys::backtrace::_print_fmt::h8588b0f62410823f [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57d2bfaf218a - ::fmt::h98c26ac25ffe89bb [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57d2bfb17c13 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x57d2bfb17c13 - core::fmt::write::h0dd5f6e2238c7982 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21 [INFO] [stdout] 6: 0x57d2bfaef323 - std::io::Write::write_fmt::h03bb0ca26e6faf8c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15 [INFO] [stdout] 7: 0x57d2bfaf1fd2 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x57d2bfaf360d - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x57d2bfaf3417 - std::panicking::default_hook::he5f8e3b203ccddba [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x57d2bfa82017 - as core::ops::function::Fn>::call::h7a3c7b4a1ae77f2f [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 11: 0x57d2bfa82017 - test::test_main::{{closure}}::hf0d3b69ae9b353d1 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x57d2bfaf3cb8 - as core::ops::function::Fn>::call::h6332e82e7b189abd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 13: 0x57d2bfaf3cb8 - std::panicking::rust_panic_with_hook::h53863d4e9018df39 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x57d2bfaf3a7a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x57d2bfaf2669 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x57d2bfaf370c - rust_begin_unwind [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x57d2bfa40020 - core::panicking::panic_fmt::h6792bd1b2bf01041 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14 [INFO] [stdout] 18: 0x57d2bfa403eb - core::panicking::assert_failed_inner::hf2c17e6d30928787 [INFO] [stdout] 19: 0x57d2bfac3d3e - core::panicking::assert_failed::h813e3b036dc191e6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:373:5 [INFO] [stdout] 20: 0x57d2bfa48205 - web_game::snake::tests::first_move_should_place_food_on_board::h1bf68a70a030614f [INFO] [stdout] at /opt/rustwide/workdir/src/snake.rs:190:9 [INFO] [stdout] 21: 0x57d2bfa48057 - web_game::snake::tests::first_move_should_place_food_on_board::{{closure}}::haba29469cf716572 [INFO] [stdout] at /opt/rustwide/workdir/src/snake.rs:185:47 [INFO] [stdout] 22: 0x57d2bfa419b6 - core::ops::function::FnOnce::call_once::h412f1eaef3ef8e78 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x57d2bfa86b3b - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57d2bfa86b3b - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x57d2bfa86528 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x57d2bfa86528 - as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x57d2bfa86528 - std::panicking::try::do_call::hc79d0fc888a0bd30 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x57d2bfa86528 - std::panicking::try::hb8a7878e3a8589d6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x57d2bfa86528 - std::panic::catch_unwind::hb8e4600ff0ff5cfa [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x57d2bfa86528 - test::run_test_in_process::hc2900b0b18688dd6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x57d2bfa86528 - test::run_test::{{closure}}::hac2a9cb07be3d48d [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x57d2bfa49fca - test::run_test::{{closure}}::h4a5b729e66a38cd8 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x57d2bfa49fca - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x57d2bfa4d944 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 35: 0x57d2bfa4d944 - as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x57d2bfa4d944 - std::panicking::try::do_call::h2625a51b667bfb64 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x57d2bfa4d944 - std::panicking::try::hb956a59a1973aa4c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x57d2bfa4d944 - std::panic::catch_unwind::h64f3b9d1067ef6a0 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x57d2bfa4d944 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 40: 0x57d2bfa4d944 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x57d2bfaf7bfb - as core::ops::function::FnOnce>::call_once::h42f0ba71002a1b2c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 42: 0x57d2bfaf7bfb - as core::ops::function::FnOnce>::call_once::had9e47d7a3dcecb8 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 43: 0x57d2bfaf7bfb - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x70da7bb74ac3 - [INFO] [stdout] 45: 0x70da7bc05a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] snake::tests::first_move_should_place_food_on_board [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin web_game` [INFO] running `Command { std: "docker" "inspect" "10d1c72f2836d142bda98e1eebdae42e29d547d0e3255e6a856756eafaa6bcc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d1c72f2836d142bda98e1eebdae42e29d547d0e3255e6a856756eafaa6bcc5", kill_on_drop: false }` [INFO] [stdout] 10d1c72f2836d142bda98e1eebdae42e29d547d0e3255e6a856756eafaa6bcc5