[INFO] cloning repository https://github.com/WToma/missingparts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WToma/missingparts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWToma%2Fmissingparts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWToma%2Fmissingparts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82255bef746971ff86b145d4425793dd0fdb43b2 [INFO] checking WToma/missingparts against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWToma%2Fmissingparts" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WToma/missingparts [INFO] finished tweaking git repo https://github.com/WToma/missingparts [INFO] tweaked toml for git repo https://github.com/WToma/missingparts written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WToma/missingparts on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WToma/missingparts 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45300ea776464075c54b74b5aeb68e3301cf629a59a8495e76e2cb0cc68d9a4c [INFO] running `Command { std: "docker" "start" "-a" "45300ea776464075c54b74b5aeb68e3301cf629a59a8495e76e2cb0cc68d9a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45300ea776464075c54b74b5aeb68e3301cf629a59a8495e76e2cb0cc68d9a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45300ea776464075c54b74b5aeb68e3301cf629a59a8495e76e2cb0cc68d9a4c", kill_on_drop: false }` [INFO] [stdout] 45300ea776464075c54b74b5aeb68e3301cf629a59a8495e76e2cb0cc68d9a4c [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f0822c269d22f2e55fbf13478f3d74e1a22578225f4b3e299e88203c1fca78e [INFO] running `Command { std: "docker" "start" "-a" "4f0822c269d22f2e55fbf13478f3d74e1a22578225f4b3e299e88203c1fca78e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-core v0.3.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking futures-sink v0.3.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking httparse v1.3.4 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking futures-util v0.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling pest_generator v2.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Compiling pest_derive v2.1.0 [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 json5 v0.2.5 [INFO] [stderr] Checking serde_json v1.0.46 [INFO] [stderr] Checking missingparts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/actionerror.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:161:62 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(PartialEq, Debug, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:739:10 [INFO] [stdout] | [INFO] [stdout] 739 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:818:10 [INFO] [stdout] | [INFO] [stdout] 818 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:274:10 [INFO] [stdout] | [INFO] [stdout] 274 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/playeraction.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/playeraction.rs:281:41 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/playeraction.rs:281:52 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unnecessary parentheses around closure body [INFO] [stdout] --> src/gameplay.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | let has_moves_left = self.moves_left.map_or(true, |x| (x > 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - let has_moves_left = self.moves_left.map_or(true, |x| (x > 0)); [INFO] [stdout] 81 + let has_moves_left = self.moves_left.map_or(true, |x| x > 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/actionerror.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/actionerror.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cards.rs:161:62 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(PartialEq, Debug, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:739:10 [INFO] [stdout] | [INFO] [stdout] 739 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:740:25 [INFO] [stdout] | [INFO] [stdout] 740 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:758:25 [INFO] [stdout] | [INFO] [stdout] 758 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/gameplay.rs:818:10 [INFO] [stdout] | [INFO] [stdout] 818 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:274:10 [INFO] [stdout] | [INFO] [stdout] 274 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/handlers.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/playeraction.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/playeraction.rs:281:41 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/playeraction.rs:281:52 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unnecessary parentheses around closure body [INFO] [stdout] --> src/gameplay.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | let has_moves_left = self.moves_left.map_or(true, |x| (x > 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - let has_moves_left = self.moves_left.map_or(true, |x| (x > 0)); [INFO] [stdout] 81 + let has_moves_left = self.moves_left.map_or(true, |x| x > 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/actionerror.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionError` [INFO] [stdout] 18 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 19 | pub enum ActionError { [INFO] [stdout] | ----------- `ActionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Suit` [INFO] [stdout] 13 | pub enum Suit { [INFO] [stdout] | ---- `Suit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Suit` [INFO] [stdout] 13 | pub enum Suit { [INFO] [stdout] | ---- `Suit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Rank` [INFO] [stdout] 69 | pub enum Rank { [INFO] [stdout] | ---- `Rank` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Rank` [INFO] [stdout] 69 | pub enum Rank { [INFO] [stdout] | ---- `Rank` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Card` [INFO] [stdout] 162 | pub struct Card { [INFO] [stdout] | ---- `Card` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:161:62 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Card` [INFO] [stdout] 162 | pub struct Card { [INFO] [stdout] | ---- `Card` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(PartialEq, Debug, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameState` [INFO] [stdout] 112 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 113 | pub enum GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:739:10 [INFO] [stdout] | [INFO] [stdout] 739 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PlayerDescription` [INFO] [stdout] 740 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] 741 | pub struct PlayerDescription { [INFO] [stdout] | ----------------- `PlayerDescription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameDescription` [INFO] [stdout] 758 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] 759 | pub struct GameDescription { [INFO] [stdout] | --------------- `GameDescription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:818:10 [INFO] [stdout] | [INFO] [stdout] 818 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameResults` [INFO] [stdout] 819 | pub struct GameResults { [INFO] [stdout] | ----------- `GameResults` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 27 | | // TODO: add cache headers and content type into response! this should probably be in server_utils [INFO] [stdout] 28 | | let (parts, body) = req.into_parts(); [INFO] [stdout] 29 | | let rich_parts = RichParts::from(&parts); [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 27 | | // TODO: add cache headers and content type into response! this should probably be in server_utils [INFO] [stdout] 28 | | let (parts, body) = req.into_parts(); [INFO] [stdout] 29 | | let rich_parts = RichParts::from(&parts); [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | return Ok(Response::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 34 | | .status(StatusCode::NOT_ACCEPTABLE) [INFO] [stdout] 35 | | .body(Body::from("no compatible Accept value found. supported application/json and application/json5")) [INFO] [stdout] 36 | | .unwrap()); [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / if rich_parts.does_match(&Method::POST, "/lobby") { [INFO] [stdout] 40 | | let body: Result = [INFO] [stdout] 41 | | rich_parts.deserialize_by_content_type(body, 1024).await; [INFO] [stdout] 42 | | match body { [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:39:55 [INFO] [stdout] | [INFO] [stdout] 39 | if rich_parts.does_match(&Method::POST, "/lobby") { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 40 | | let body: Result = [INFO] [stdout] 41 | | rich_parts.deserialize_by_content_type(body, 1024).await; [INFO] [stdout] 42 | | match body { [INFO] [stdout] ... | [INFO] [stdout] 51 | | } else if let Ok(TupleWrapper1(player_id_in_lobby)) = [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / match body { [INFO] [stdout] 43 | | Ok(body) => Ok(process_join_lobby( [INFO] [stdout] 44 | | body, [INFO] [stdout] 45 | | &response_mime_type, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Err(e) => Ok(e.into()), [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(body) => Ok(process_join_lobby( [INFO] [stdout] | _________________________^ [INFO] [stdout] 44 | | body, [INFO] [stdout] 45 | | &response_mime_type, [INFO] [stdout] 46 | | lobby, [INFO] [stdout] 47 | | game_manager, [INFO] [stdout] 48 | | )), [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | Err(e) => Ok(e.into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | } else if let Ok(TupleWrapper1(player_id_in_lobby)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | rich_parts.try_match(&Method::GET, "/lobby/players/{}/game") [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | let player_id_in_lobby = PlayerIdInLobby(player_id_in_lobby); [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / { [INFO] [stdout] 54 | | let player_id_in_lobby = PlayerIdInLobby(player_id_in_lobby); [INFO] [stdout] 55 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 56 | | let verified = match maybe_token { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / if verified { [INFO] [stdout] 61 | | Ok(process_get_lobby_player( [INFO] [stdout] 62 | | player_id_in_lobby, [INFO] [stdout] 63 | | &response_mime_type, [INFO] [stdout] ... | [INFO] [stdout] 70 | | .unwrap()) [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | if verified { [INFO] [stdout] | _____________________^ [INFO] [stdout] 61 | | Ok(process_get_lobby_player( [INFO] [stdout] 62 | | player_id_in_lobby, [INFO] [stdout] 63 | | &response_mime_type, [INFO] [stdout] 64 | | lobby, [INFO] [stdout] 65 | | )) [INFO] [stdout] 66 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / Ok(process_get_lobby_player( [INFO] [stdout] 62 | | player_id_in_lobby, [INFO] [stdout] 63 | | &response_mime_type, [INFO] [stdout] 64 | | lobby, [INFO] [stdout] 65 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | Ok(Response::builder() [INFO] [stdout] 68 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 69 | | .body(Body::empty()) [INFO] [stdout] 70 | | .unwrap()) [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / Ok(Response::builder() [INFO] [stdout] 68 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 69 | | .body(Body::empty()) [INFO] [stdout] 70 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | rich_parts.try_match(&Method::GET, "/games/{}/players/{}/private") [INFO] [stdout] 74 | | { [INFO] [stdout] 75 | | let game_id = GameId(game_id); [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / { [INFO] [stdout] 75 | | let game_id = GameId(game_id); [INFO] [stdout] 76 | | game_manager [INFO] [stdout] 77 | | .with_game(game_id, |g| { [INFO] [stdout] ... | [INFO] [stdout] 103 | | }) [INFO] [stdout] 104 | | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / game_manager [INFO] [stdout] 77 | | .with_game(game_id, |g| { [INFO] [stdout] 78 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 79 | | let verified = match maybe_token { [INFO] [stdout] ... | [INFO] [stdout] 102 | | .unwrap()) [INFO] [stdout] 103 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | .with_game(game_id, |g| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 78 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 79 | | let verified = match maybe_token { [INFO] [stdout] 80 | | Some(token) => g.verify(&player_id_in_game, &token), [INFO] [stdout] ... | [INFO] [stdout] 97 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers.rs:78:67 [INFO] [stdout] | [INFO] [stdout] 78 | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | / if verified { [INFO] [stdout] 84 | | let resp = PrivateCardResponse { [INFO] [stdout] 85 | | missing_part: g.get_private_card(player_id_in_game), [INFO] [stdout] 86 | | }; [INFO] [stdout] ... | [INFO] [stdout] 95 | | .unwrap()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | if verified { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 84 | | let resp = PrivateCardResponse { [INFO] [stdout] 85 | | missing_part: g.get_private_card(player_id_in_game), [INFO] [stdout] 86 | | }; [INFO] [stdout] ... | [INFO] [stdout] 90 | | .unwrap()) [INFO] [stdout] 91 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | / Ok(Response::builder() [INFO] [stdout] 88 | | .status(StatusCode::OK) [INFO] [stdout] 89 | | .body(response_mime_type.serialize(&resp)) [INFO] [stdout] 90 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 92 | | Ok(Response::builder() [INFO] [stdout] 93 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 94 | | .body(Body::empty()) [INFO] [stdout] 95 | | .unwrap()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | / Ok(Response::builder() [INFO] [stdout] 93 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 94 | | .body(Body::empty()) [INFO] [stdout] 95 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | .unwrap_or_else(|| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 99 | | Ok(Response::builder() [INFO] [stdout] 100 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 101 | | .body(Body::empty()) [INFO] [stdout] 102 | | .unwrap()) [INFO] [stdout] 103 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | / Ok(Response::builder() [INFO] [stdout] 100 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 101 | | .body(Body::empty()) [INFO] [stdout] 102 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | rich_parts.try_match(&Method::POST, "/games/{}/players/{}/moves") [INFO] [stdout] 106 | | { [INFO] [stdout] 107 | | let game_id = GameId(game_id); [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / { [INFO] [stdout] 107 | | let game_id = GameId(game_id); [INFO] [stdout] 108 | | let body: Result = [INFO] [stdout] 109 | | rich_parts.deserialize_by_content_type(body, 1024).await; [INFO] [stdout] ... | [INFO] [stdout] 145 | | } else if let Ok(TupleWrapper1(game_id)) = rich_parts.try_match(&Method::GET, "/games/{}") { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / match body { [INFO] [stdout] 111 | | Ok(player_action) => game_manager [INFO] [stdout] 112 | | .with_mut_game(game_id, |g| { [INFO] [stdout] 113 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] ... | [INFO] [stdout] 143 | | Err(e) => Ok(e.into()), [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(player_action) => game_manager [INFO] [stdout] | __________________________________^ [INFO] [stdout] 112 | | .with_mut_game(game_id, |g| { [INFO] [stdout] 113 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 114 | | let verified = match maybe_token { [INFO] [stdout] ... | [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] 142 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | .with_mut_game(game_id, |g| { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 114 | | let verified = match maybe_token { [INFO] [stdout] 115 | | Some(token) => g.verify(&player_id_in_game, &token), [INFO] [stdout] ... | [INFO] [stdout] 136 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers.rs:113:71 [INFO] [stdout] | [INFO] [stdout] 113 | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | / if verified { [INFO] [stdout] 119 | | let move_result = g.make_move(player_id_in_game, player_action.clone()); [INFO] [stdout] 120 | | match move_result { [INFO] [stdout] 121 | | Ok(_) => Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 134 | | .unwrap()) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | if verified { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 119 | | let move_result = g.make_move(player_id_in_game, player_action.clone()); [INFO] [stdout] 120 | | match move_result { [INFO] [stdout] 121 | | Ok(_) => Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 130 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | / match move_result { [INFO] [stdout] 121 | | Ok(_) => Ok(Response::builder() [INFO] [stdout] 122 | | .status(StatusCode::OK) [INFO] [stdout] 123 | | .body(Body::empty()) [INFO] [stdout] ... | [INFO] [stdout] 128 | | .unwrap()), [INFO] [stdout] 129 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | ... Ok(_) => Ok(Response::builder() [INFO] [stdout] | ________________________________^ [INFO] [stdout] 122 | | ... .status(StatusCode::OK) [INFO] [stdout] 123 | | ... .body(Body::empty()) [INFO] [stdout] 124 | | ... .unwrap()), [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | ... Err(action_error) => Ok(Response::builder() [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 126 | | ... .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 127 | | ... .body(response_mime_type.serialize(&action_error)) [INFO] [stdout] 128 | | ... .unwrap()), [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 131 | | Ok(Response::builder() [INFO] [stdout] 132 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 133 | | .body(Body::empty()) [INFO] [stdout] 134 | | .unwrap()) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | / Ok(Response::builder() [INFO] [stdout] 132 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 133 | | .body(Body::empty()) [INFO] [stdout] 134 | | .unwrap()) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:137:36 [INFO] [stdout] | [INFO] [stdout] 137 | .unwrap_or_else(|| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 138 | | Ok(Response::builder() [INFO] [stdout] 139 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 140 | | .body(Body::empty()) [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] 142 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | / Ok(Response::builder() [INFO] [stdout] 139 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 140 | | .body(Body::empty()) [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | Err(e) => Ok(e.into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | } else if let Ok(TupleWrapper1(game_id)) = rich_parts.try_match(&Method::GET, "/games/{}") { [INFO] [stdout] | ____________^ [INFO] [stdout] 146 | | let game_id = GameId(game_id); [INFO] [stdout] 147 | | game_manager [INFO] [stdout] 148 | | .with_game(game_id, |g| { [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:145:96 [INFO] [stdout] | [INFO] [stdout] 145 | } else if let Ok(TupleWrapper1(game_id)) = rich_parts.try_match(&Method::GET, "/games/{}") { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 146 | | let game_id = GameId(game_id); [INFO] [stdout] 147 | | game_manager [INFO] [stdout] 148 | | .with_game(game_id, |g| { [INFO] [stdout] ... | [INFO] [stdout] 160 | | }) [INFO] [stdout] 161 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | / game_manager [INFO] [stdout] 148 | | .with_game(game_id, |g| { [INFO] [stdout] 149 | | let game_description = g.describe(); [INFO] [stdout] 150 | | Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 159 | | .unwrap()) [INFO] [stdout] 160 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | .with_game(game_id, |g| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 149 | | let game_description = g.describe(); [INFO] [stdout] 150 | | Ok(Response::builder() [INFO] [stdout] 151 | | .status(StatusCode::OK) [INFO] [stdout] 152 | | .body(response_mime_type.serialize(&game_description)) [INFO] [stdout] 153 | | .unwrap()) [INFO] [stdout] 154 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | / Ok(Response::builder() [INFO] [stdout] 151 | | .status(StatusCode::OK) [INFO] [stdout] 152 | | .body(response_mime_type.serialize(&game_description)) [INFO] [stdout] 153 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | .unwrap_or_else(|| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 156 | | Ok(Response::builder() [INFO] [stdout] 157 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 158 | | .body(Body::empty()) [INFO] [stdout] 159 | | .unwrap()) [INFO] [stdout] 160 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | / Ok(Response::builder() [INFO] [stdout] 157 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 158 | | .body(Body::empty()) [INFO] [stdout] 159 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 162 | | Ok(Response::builder() [INFO] [stdout] 163 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 164 | | .body(Body::empty()) [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / Ok(Response::builder() [INFO] [stdout] 163 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 164 | | .body(Body::empty()) [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_JoinLobbyRequest` [INFO] [stdout] 262 | struct JoinLobbyRequest { [INFO] [stdout] | ---------------- `JoinLobbyRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_JoinedLobbyResponse` [INFO] [stdout] 268 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 269 | struct JoinedLobbyResponse { [INFO] [stdout] | ------------------- `JoinedLobbyResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:274:10 [INFO] [stdout] | [INFO] [stdout] 274 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InvalidGameSizePreference` [INFO] [stdout] 275 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 276 | struct InvalidGameSizePreference { [INFO] [stdout] | ------------------------- `InvalidGameSizePreference` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_JoinedGameResponse` [INFO] [stdout] 282 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 283 | struct JoinedGameResponse { [INFO] [stdout] | ------------------ `JoinedGameResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PrivateCardResponse` [INFO] [stdout] 292 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 293 | struct PrivateCardResponse { [INFO] [stdout] | ------------------- `PrivateCardResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/playeraction.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PlayerAction` [INFO] [stdout] 28 | pub enum PlayerAction { [INFO] [stdout] | ------------ `PlayerAction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/playeraction.rs:281:41 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TradeOffer` [INFO] [stdout] 282 | pub struct TradeOffer { [INFO] [stdout] | ---------- `TradeOffer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/playeraction.rs:281:52 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TradeOffer` [INFO] [stdout] 282 | pub struct TradeOffer { [INFO] [stdout] | ---------- `TradeOffer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/server_core_types.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 29 | | Ok(Token(String::from(s))) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/server_core_types.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(Token(String::from(s))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `missingparts` (lib) due to 55 previous errors; 39 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./gameplay_test.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | |mut g| g.state = state_scavenged(0, &["q c"]), // but it's player 0's turn to finish the scavenge [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./gameplay_test.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | |mut g| g.state = state_scavenged(0, &["k c"]), // but the scavenge only contained King of Clubs [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./gameplay_test.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | |mut g| g.state = state_trading(1, 0, "3 h", "2 h"), // that they started themselves [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./gameplay_test.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | |mut g| g.state = state_trading(1, 0, "3 h", "2 h"), // that they started themselves [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./gameplay_test.rs:598:10 [INFO] [stdout] | [INFO] [stdout] 598 | |mut g| g.state = GameState::WaitingForPlayerAction { player: 1 }, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./gameplay_test.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | |mut g| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./gameplay_test.rs:621:10 [INFO] [stdout] | [INFO] [stdout] 621 | |mut g| g.draw = empty_deck(), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/actionerror.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ActionError` [INFO] [stdout] 19 | pub enum ActionError { [INFO] [stdout] | ----------- `ActionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/actionerror.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionError` [INFO] [stdout] 18 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 19 | pub enum ActionError { [INFO] [stdout] | ----------- `ActionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Suit` [INFO] [stdout] 13 | pub enum Suit { [INFO] [stdout] | ---- `Suit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Suit` [INFO] [stdout] 13 | pub enum Suit { [INFO] [stdout] | ---- `Suit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Rank` [INFO] [stdout] 69 | pub enum Rank { [INFO] [stdout] | ---- `Rank` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Rank` [INFO] [stdout] 69 | pub enum Rank { [INFO] [stdout] | ---- `Rank` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Card` [INFO] [stdout] 162 | pub struct Card { [INFO] [stdout] | ---- `Card` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cards.rs:161:62 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, PartialEq, Clone, Copy, Eq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Card` [INFO] [stdout] 162 | pub struct Card { [INFO] [stdout] | ---- `Card` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GameState` [INFO] [stdout] 113 | pub enum GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(PartialEq, Debug, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameState` [INFO] [stdout] 112 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 113 | pub enum GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:740:25 [INFO] [stdout] | [INFO] [stdout] 740 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PlayerDescription` [INFO] [stdout] 741 | pub struct PlayerDescription { [INFO] [stdout] | ----------------- `PlayerDescription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:739:10 [INFO] [stdout] | [INFO] [stdout] 739 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PlayerDescription` [INFO] [stdout] 740 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] 741 | pub struct PlayerDescription { [INFO] [stdout] | ----------------- `PlayerDescription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:758:25 [INFO] [stdout] | [INFO] [stdout] 758 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GameDescription` [INFO] [stdout] 759 | pub struct GameDescription { [INFO] [stdout] | --------------- `GameDescription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameDescription` [INFO] [stdout] 758 | #[cfg_attr(test, derive(Deserialize, Debug, PartialEq))] [INFO] [stdout] 759 | pub struct GameDescription { [INFO] [stdout] | --------------- `GameDescription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gameplay.rs:818:10 [INFO] [stdout] | [INFO] [stdout] 818 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameResults` [INFO] [stdout] 819 | pub struct GameResults { [INFO] [stdout] | ----------- `GameResults` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 27 | | // TODO: add cache headers and content type into response! this should probably be in server_utils [INFO] [stdout] 28 | | let (parts, body) = req.into_parts(); [INFO] [stdout] 29 | | let rich_parts = RichParts::from(&parts); [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 27 | | // TODO: add cache headers and content type into response! this should probably be in server_utils [INFO] [stdout] 28 | | let (parts, body) = req.into_parts(); [INFO] [stdout] 29 | | let rich_parts = RichParts::from(&parts); [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | return Ok(Response::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 34 | | .status(StatusCode::NOT_ACCEPTABLE) [INFO] [stdout] 35 | | .body(Body::from("no compatible Accept value found. supported application/json and application/json5")) [INFO] [stdout] 36 | | .unwrap()); [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / if rich_parts.does_match(&Method::POST, "/lobby") { [INFO] [stdout] 40 | | let body: Result = [INFO] [stdout] 41 | | rich_parts.deserialize_by_content_type(body, 1024).await; [INFO] [stdout] 42 | | match body { [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:39:55 [INFO] [stdout] | [INFO] [stdout] 39 | if rich_parts.does_match(&Method::POST, "/lobby") { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 40 | | let body: Result = [INFO] [stdout] 41 | | rich_parts.deserialize_by_content_type(body, 1024).await; [INFO] [stdout] 42 | | match body { [INFO] [stdout] ... | [INFO] [stdout] 51 | | } else if let Ok(TupleWrapper1(player_id_in_lobby)) = [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / match body { [INFO] [stdout] 43 | | Ok(body) => Ok(process_join_lobby( [INFO] [stdout] 44 | | body, [INFO] [stdout] 45 | | &response_mime_type, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Err(e) => Ok(e.into()), [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(body) => Ok(process_join_lobby( [INFO] [stdout] | _________________________^ [INFO] [stdout] 44 | | body, [INFO] [stdout] 45 | | &response_mime_type, [INFO] [stdout] 46 | | lobby, [INFO] [stdout] 47 | | game_manager, [INFO] [stdout] 48 | | )), [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | Err(e) => Ok(e.into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | } else if let Ok(TupleWrapper1(player_id_in_lobby)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | rich_parts.try_match(&Method::GET, "/lobby/players/{}/game") [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | let player_id_in_lobby = PlayerIdInLobby(player_id_in_lobby); [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / { [INFO] [stdout] 54 | | let player_id_in_lobby = PlayerIdInLobby(player_id_in_lobby); [INFO] [stdout] 55 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 56 | | let verified = match maybe_token { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / if verified { [INFO] [stdout] 61 | | Ok(process_get_lobby_player( [INFO] [stdout] 62 | | player_id_in_lobby, [INFO] [stdout] 63 | | &response_mime_type, [INFO] [stdout] ... | [INFO] [stdout] 70 | | .unwrap()) [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | if verified { [INFO] [stdout] | _____________________^ [INFO] [stdout] 61 | | Ok(process_get_lobby_player( [INFO] [stdout] 62 | | player_id_in_lobby, [INFO] [stdout] 63 | | &response_mime_type, [INFO] [stdout] 64 | | lobby, [INFO] [stdout] 65 | | )) [INFO] [stdout] 66 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / Ok(process_get_lobby_player( [INFO] [stdout] 62 | | player_id_in_lobby, [INFO] [stdout] 63 | | &response_mime_type, [INFO] [stdout] 64 | | lobby, [INFO] [stdout] 65 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | Ok(Response::builder() [INFO] [stdout] 68 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 69 | | .body(Body::empty()) [INFO] [stdout] 70 | | .unwrap()) [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / Ok(Response::builder() [INFO] [stdout] 68 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 69 | | .body(Body::empty()) [INFO] [stdout] 70 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | rich_parts.try_match(&Method::GET, "/games/{}/players/{}/private") [INFO] [stdout] 74 | | { [INFO] [stdout] 75 | | let game_id = GameId(game_id); [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / { [INFO] [stdout] 75 | | let game_id = GameId(game_id); [INFO] [stdout] 76 | | game_manager [INFO] [stdout] 77 | | .with_game(game_id, |g| { [INFO] [stdout] ... | [INFO] [stdout] 103 | | }) [INFO] [stdout] 104 | | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / game_manager [INFO] [stdout] 77 | | .with_game(game_id, |g| { [INFO] [stdout] 78 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 79 | | let verified = match maybe_token { [INFO] [stdout] ... | [INFO] [stdout] 102 | | .unwrap()) [INFO] [stdout] 103 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | .with_game(game_id, |g| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 78 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 79 | | let verified = match maybe_token { [INFO] [stdout] 80 | | Some(token) => g.verify(&player_id_in_game, &token), [INFO] [stdout] ... | [INFO] [stdout] 97 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers.rs:78:67 [INFO] [stdout] | [INFO] [stdout] 78 | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | / if verified { [INFO] [stdout] 84 | | let resp = PrivateCardResponse { [INFO] [stdout] 85 | | missing_part: g.get_private_card(player_id_in_game), [INFO] [stdout] 86 | | }; [INFO] [stdout] ... | [INFO] [stdout] 95 | | .unwrap()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | if verified { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 84 | | let resp = PrivateCardResponse { [INFO] [stdout] 85 | | missing_part: g.get_private_card(player_id_in_game), [INFO] [stdout] 86 | | }; [INFO] [stdout] ... | [INFO] [stdout] 90 | | .unwrap()) [INFO] [stdout] 91 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | / Ok(Response::builder() [INFO] [stdout] 88 | | .status(StatusCode::OK) [INFO] [stdout] 89 | | .body(response_mime_type.serialize(&resp)) [INFO] [stdout] 90 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 92 | | Ok(Response::builder() [INFO] [stdout] 93 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 94 | | .body(Body::empty()) [INFO] [stdout] 95 | | .unwrap()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | / Ok(Response::builder() [INFO] [stdout] 93 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 94 | | .body(Body::empty()) [INFO] [stdout] 95 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | .unwrap_or_else(|| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 99 | | Ok(Response::builder() [INFO] [stdout] 100 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 101 | | .body(Body::empty()) [INFO] [stdout] 102 | | .unwrap()) [INFO] [stdout] 103 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | / Ok(Response::builder() [INFO] [stdout] 100 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 101 | | .body(Body::empty()) [INFO] [stdout] 102 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | } else if let Ok(TupleWrapper2(game_id, player_id_in_game)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | rich_parts.try_match(&Method::POST, "/games/{}/players/{}/moves") [INFO] [stdout] 106 | | { [INFO] [stdout] 107 | | let game_id = GameId(game_id); [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / { [INFO] [stdout] 107 | | let game_id = GameId(game_id); [INFO] [stdout] 108 | | let body: Result = [INFO] [stdout] 109 | | rich_parts.deserialize_by_content_type(body, 1024).await; [INFO] [stdout] ... | [INFO] [stdout] 145 | | } else if let Ok(TupleWrapper1(game_id)) = rich_parts.try_match(&Method::GET, "/games/{}") { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / match body { [INFO] [stdout] 111 | | Ok(player_action) => game_manager [INFO] [stdout] 112 | | .with_mut_game(game_id, |g| { [INFO] [stdout] 113 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] ... | [INFO] [stdout] 143 | | Err(e) => Ok(e.into()), [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(player_action) => game_manager [INFO] [stdout] | __________________________________^ [INFO] [stdout] 112 | | .with_mut_game(game_id, |g| { [INFO] [stdout] 113 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 114 | | let verified = match maybe_token { [INFO] [stdout] ... | [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] 142 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | .with_mut_game(game_id, |g| { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] 114 | | let verified = match maybe_token { [INFO] [stdout] 115 | | Some(token) => g.verify(&player_id_in_game, &token), [INFO] [stdout] ... | [INFO] [stdout] 136 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handlers.rs:113:71 [INFO] [stdout] | [INFO] [stdout] 113 | let maybe_token = rich_parts.token().and_then(|t| Token::from_str(t).ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | / if verified { [INFO] [stdout] 119 | | let move_result = g.make_move(player_id_in_game, player_action.clone()); [INFO] [stdout] 120 | | match move_result { [INFO] [stdout] 121 | | Ok(_) => Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 134 | | .unwrap()) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | if verified { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 119 | | let move_result = g.make_move(player_id_in_game, player_action.clone()); [INFO] [stdout] 120 | | match move_result { [INFO] [stdout] 121 | | Ok(_) => Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 130 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | / match move_result { [INFO] [stdout] 121 | | Ok(_) => Ok(Response::builder() [INFO] [stdout] 122 | | .status(StatusCode::OK) [INFO] [stdout] 123 | | .body(Body::empty()) [INFO] [stdout] ... | [INFO] [stdout] 128 | | .unwrap()), [INFO] [stdout] 129 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | ... Ok(_) => Ok(Response::builder() [INFO] [stdout] | ________________________________^ [INFO] [stdout] 122 | | ... .status(StatusCode::OK) [INFO] [stdout] 123 | | ... .body(Body::empty()) [INFO] [stdout] 124 | | ... .unwrap()), [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | ... Err(action_error) => Ok(Response::builder() [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 126 | | ... .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 127 | | ... .body(response_mime_type.serialize(&action_error)) [INFO] [stdout] 128 | | ... .unwrap()), [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 131 | | Ok(Response::builder() [INFO] [stdout] 132 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 133 | | .body(Body::empty()) [INFO] [stdout] 134 | | .unwrap()) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | / Ok(Response::builder() [INFO] [stdout] 132 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 133 | | .body(Body::empty()) [INFO] [stdout] 134 | | .unwrap()) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:137:36 [INFO] [stdout] | [INFO] [stdout] 137 | .unwrap_or_else(|| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 138 | | Ok(Response::builder() [INFO] [stdout] 139 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 140 | | .body(Body::empty()) [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] 142 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | / Ok(Response::builder() [INFO] [stdout] 139 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 140 | | .body(Body::empty()) [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | Err(e) => Ok(e.into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | } else if let Ok(TupleWrapper1(game_id)) = rich_parts.try_match(&Method::GET, "/games/{}") { [INFO] [stdout] | ____________^ [INFO] [stdout] 146 | | let game_id = GameId(game_id); [INFO] [stdout] 147 | | game_manager [INFO] [stdout] 148 | | .with_game(game_id, |g| { [INFO] [stdout] ... | [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:145:96 [INFO] [stdout] | [INFO] [stdout] 145 | } else if let Ok(TupleWrapper1(game_id)) = rich_parts.try_match(&Method::GET, "/games/{}") { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 146 | | let game_id = GameId(game_id); [INFO] [stdout] 147 | | game_manager [INFO] [stdout] 148 | | .with_game(game_id, |g| { [INFO] [stdout] ... | [INFO] [stdout] 160 | | }) [INFO] [stdout] 161 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | / game_manager [INFO] [stdout] 148 | | .with_game(game_id, |g| { [INFO] [stdout] 149 | | let game_description = g.describe(); [INFO] [stdout] 150 | | Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 159 | | .unwrap()) [INFO] [stdout] 160 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | .with_game(game_id, |g| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 149 | | let game_description = g.describe(); [INFO] [stdout] 150 | | Ok(Response::builder() [INFO] [stdout] 151 | | .status(StatusCode::OK) [INFO] [stdout] 152 | | .body(response_mime_type.serialize(&game_description)) [INFO] [stdout] 153 | | .unwrap()) [INFO] [stdout] 154 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | / Ok(Response::builder() [INFO] [stdout] 151 | | .status(StatusCode::OK) [INFO] [stdout] 152 | | .body(response_mime_type.serialize(&game_description)) [INFO] [stdout] 153 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | .unwrap_or_else(|| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 156 | | Ok(Response::builder() [INFO] [stdout] 157 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 158 | | .body(Body::empty()) [INFO] [stdout] 159 | | .unwrap()) [INFO] [stdout] 160 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | / Ok(Response::builder() [INFO] [stdout] 157 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 158 | | .body(Body::empty()) [INFO] [stdout] 159 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 162 | | Ok(Response::builder() [INFO] [stdout] 163 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 164 | | .body(Body::empty()) [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / Ok(Response::builder() [INFO] [stdout] 163 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 164 | | .body(Body::empty()) [INFO] [stdout] 165 | | .unwrap()) [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_JoinLobbyRequest` [INFO] [stdout] 262 | struct JoinLobbyRequest { [INFO] [stdout] | ---------------- `JoinLobbyRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_JoinedLobbyResponse` [INFO] [stdout] 269 | struct JoinedLobbyResponse { [INFO] [stdout] | ------------------- `JoinedLobbyResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_JoinedLobbyResponse` [INFO] [stdout] 268 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 269 | struct JoinedLobbyResponse { [INFO] [stdout] | ------------------- `JoinedLobbyResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InvalidGameSizePreference` [INFO] [stdout] 276 | struct InvalidGameSizePreference { [INFO] [stdout] | ------------------------- `InvalidGameSizePreference` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:274:10 [INFO] [stdout] | [INFO] [stdout] 274 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InvalidGameSizePreference` [INFO] [stdout] 275 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 276 | struct InvalidGameSizePreference { [INFO] [stdout] | ------------------------- `InvalidGameSizePreference` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_JoinedGameResponse` [INFO] [stdout] 283 | struct JoinedGameResponse { [INFO] [stdout] | ------------------ `JoinedGameResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_JoinedGameResponse` [INFO] [stdout] 282 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 283 | struct JoinedGameResponse { [INFO] [stdout] | ------------------ `JoinedGameResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PrivateCardResponse` [INFO] [stdout] 293 | struct PrivateCardResponse { [INFO] [stdout] | ------------------- `PrivateCardResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handlers.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PrivateCardResponse` [INFO] [stdout] 292 | #[cfg_attr(test, derive(Deserialize))] [INFO] [stdout] 293 | struct PrivateCardResponse { [INFO] [stdout] | ------------------- `PrivateCardResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | / Runtime::new() [INFO] [stdout] 792 | | .unwrap() [INFO] [stdout] 793 | | .block_on(missingparts_service(lobby, game_manager, req)) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 811 | / Runtime::new() [INFO] [stdout] 812 | | .unwrap() [INFO] [stdout] 813 | | .block_on(missingparts_service(lobby, game_manager, req)) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lobby.rs:462:24 [INFO] [stdout] | [INFO] [stdout] 462 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 463 | | "num_players expected={}, actual={}", [INFO] [stdout] 464 | | self.expected_game_size.unwrap(), [INFO] [stdout] 465 | | tokens.len() [INFO] [stdout] 466 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 462 ~ panic!( [INFO] [stdout] 463 | "num_players expected={}, actual={}", [INFO] [stdout] 464 | self.expected_game_size.unwrap(), [INFO] [stdout] 465 | tokens.len() [INFO] [stdout] 466 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/playeraction.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PlayerAction` [INFO] [stdout] 28 | pub enum PlayerAction { [INFO] [stdout] | ------------ `PlayerAction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/playeraction.rs:281:41 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TradeOffer` [INFO] [stdout] 282 | pub struct TradeOffer { [INFO] [stdout] | ---------- `TradeOffer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/playeraction.rs:281:52 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, PartialEq, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TradeOffer` [INFO] [stdout] 282 | pub struct TradeOffer { [INFO] [stdout] | ---------- `TradeOffer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/server_core_types.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 29 | | Ok(Token(String::from(s))) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/server_core_types.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(Token(String::from(s))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `missingparts` (lib test) due to 57 previous errors; 63 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f0822c269d22f2e55fbf13478f3d74e1a22578225f4b3e299e88203c1fca78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f0822c269d22f2e55fbf13478f3d74e1a22578225f4b3e299e88203c1fca78e", kill_on_drop: false }` [INFO] [stdout] 4f0822c269d22f2e55fbf13478f3d74e1a22578225f4b3e299e88203c1fca78e