[INFO] cloning repository https://github.com/triangle-rustaceans/hicard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/triangle-rustaceans/hicard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriangle-rustaceans%2Fhicard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriangle-rustaceans%2Fhicard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70f83e8bc9f44ee44bd7cc6f91205f8d097c18ad [INFO] checking triangle-rustaceans/hicard against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriangle-rustaceans%2Fhicard" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/triangle-rustaceans/hicard on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/triangle-rustaceans/hicard [INFO] finished tweaking git repo https://github.com/triangle-rustaceans/hicard [INFO] tweaked toml for git repo https://github.com/triangle-rustaceans/hicard written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/triangle-rustaceans/hicard 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking triangle-rustaceans/hicard against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriangle-rustaceans%2Fhicard" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/triangle-rustaceans/hicard on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/triangle-rustaceans/hicard [INFO] finished tweaking git repo https://github.com/triangle-rustaceans/hicard [INFO] tweaked toml for git repo https://github.com/triangle-rustaceans/hicard written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/triangle-rustaceans/hicard 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking triangle-rustaceans/hicard against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriangle-rustaceans%2Fhicard" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/triangle-rustaceans/hicard on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/triangle-rustaceans/hicard [INFO] finished tweaking git repo https://github.com/triangle-rustaceans/hicard [INFO] tweaked toml for git repo https://github.com/triangle-rustaceans/hicard written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/triangle-rustaceans/hicard 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.58 [INFO] [stderr] Downloaded urlencoding v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.58 [INFO] [stderr] Downloaded headers v0.3.1 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded yew v0.12.0 [INFO] [stderr] Downloaded h2 v0.2.1 [INFO] [stderr] Downloaded hyper v0.13.2 [INFO] [stderr] Downloaded warp v0.2.1 [INFO] [stderr] Downloaded deckofcards v0.4.0 [INFO] [stderr] Downloaded anyhow v1.0.26 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded base-x v0.2.6 [INFO] [stderr] Downloaded thiserror-impl v1.0.11 [INFO] [stderr] Downloaded thiserror v1.0.11 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.58 [INFO] [stderr] Downloaded yew-macro v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e803489d53d59cce8a5c529e4b92711d3f11997675ec7be9aaa753bf1d88ff84 [INFO] running `Command { std: "docker" "start" "-a" "e803489d53d59cce8a5c529e4b92711d3f11997675ec7be9aaa753bf1d88ff84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e803489d53d59cce8a5c529e4b92711d3f11997675ec7be9aaa753bf1d88ff84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e803489d53d59cce8a5c529e4b92711d3f11997675ec7be9aaa753bf1d88ff84", kill_on_drop: false }` [INFO] [stdout] e803489d53d59cce8a5c529e4b92711d3f11997675ec7be9aaa753bf1d88ff84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59dcb012393d54ca59b2cf255e1b9c7f97086c3b1dc7d80e26a729d9993de9e5 [INFO] running `Command { std: "docker" "start" "-a" "59dcb012393d54ca59b2cf255e1b9c7f97086c3b1dc7d80e26a729d9993de9e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.58 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking deckofcards v0.4.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling bumpalo v3.2.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling base-x v0.2.6 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling yew v0.12.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.58 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking headers v0.3.1 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Compiling yew-macro v0.12.0 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> game/src/lib.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Player` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> game/src/lib.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Player` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Checking warp v0.2.1 [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> game/src/lib.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Player` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> game/src/lib.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Player` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Checking hicard-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] error[E0596]: cannot borrow `aGame` as mutable, as it is not declared as mutable [INFO] [stdout] --> backend/src/main.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | let mut response = warp::reply::json(aGame.join(&player.name)).into_response(); [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn join_game(player: Player, mut aGame: Game) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `aGame` as mutable, as it is not declared as mutable [INFO] [stdout] --> backend/src/main.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | let mut response = warp::reply::json(aGame.join(&player.name)).into_response(); [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn join_game(player: Player, mut aGame: Game) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> backend/src/main.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | let mut response = warp::reply::json(aGame.play(player_id)).into_response(); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^ expected `&_`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.2.1/src/reply.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn json(val: &T) -> Json [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 30 | let mut response = warp::reply::json(&aGame.play(player_id)).into_response(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> backend/src/main.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | let mut response = warp::reply::json(aGame.play(player_id)).into_response(); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^ expected `&_`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.2.1/src/reply.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn json(val: &T) -> Json [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 30 | let mut response = warp::reply::json(&aGame.play(player_id)).into_response(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `show` found for struct `Game` in the current scope [INFO] [stdout] --> backend/src/main.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | let mut response = warp::reply::json(aGame.show()).into_response(); [INFO] [stdout] | ^^^^ method not found in `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `show` found for struct `Game` in the current scope [INFO] [stdout] --> backend/src/main.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | let mut response = warp::reply::json(aGame.show()).into_response(); [INFO] [stdout] | ^^^^ method not found in `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Game` in the current scope [INFO] [stdout] --> backend/src/main.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let game_filter = warp::any().map(move || game.clone()); [INFO] [stdout] | ^^^^^ method not found in `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Game` in the current scope [INFO] [stdout] --> backend/src/main.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let game_filter = warp::any().map(move || game.clone()); [INFO] [stdout] | ^^^^^ method not found in `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hicard-backend` (bin "hicard-backend" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hicard-backend` (bin "hicard-backend") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "59dcb012393d54ca59b2cf255e1b9c7f97086c3b1dc7d80e26a729d9993de9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59dcb012393d54ca59b2cf255e1b9c7f97086c3b1dc7d80e26a729d9993de9e5", kill_on_drop: false }` [INFO] [stdout] 59dcb012393d54ca59b2cf255e1b9c7f97086c3b1dc7d80e26a729d9993de9e5