[INFO] cloning repository https://github.com/lignyxg/02-simple-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lignyxg/02-simple-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flignyxg%2F02-simple-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flignyxg%2F02-simple-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7564fbb2b736fb0ba8a1b4cafa2bd78eac8e9fa0 [INFO] checking lignyxg/02-simple-redis 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%2Flignyxg%2F02-simple-redis" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lignyxg/02-simple-redis [INFO] finished tweaking git repo https://github.com/lignyxg/02-simple-redis [INFO] tweaked toml for git repo https://github.com/lignyxg/02-simple-redis written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lignyxg/02-simple-redis 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/lignyxg/02-simple-redis 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 879946802a66184fb9dbbe12f9ee05e57fc9d7e8445069f27277cd0d8eb98eb0 [INFO] running `Command { std: "docker" "start" "-a" "879946802a66184fb9dbbe12f9ee05e57fc9d7e8445069f27277cd0d8eb98eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "879946802a66184fb9dbbe12f9ee05e57fc9d7e8445069f27277cd0d8eb98eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879946802a66184fb9dbbe12f9ee05e57fc9d7e8445069f27277cd0d8eb98eb0", kill_on_drop: false }` [INFO] [stdout] 879946802a66184fb9dbbe12f9ee05e57fc9d7e8445069f27277cd0d8eb98eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 857e85aca1248c462378a03d990a14a76b0ffb25fb3ac35f475419dbac653a92 [INFO] running `Command { std: "docker" "start" "-a" "857e85aca1248c462378a03d990a14a76b0ffb25fb3ac35f475419dbac653a92", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling typed_floats_macros v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking typed_floats v1.0.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking simple-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/network/codec.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let encoded = item.encode()?; [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, EncodeErr> [INFO] [stdout] --> src/network/codec.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let encoded = item.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 25 | | let Some(arr) = self.0 else { [INFO] [stdout] 26 | | return Ok(Vec::from(b"*-1\r\n")); [INFO] [stdout] 27 | | }; [INFO] [stdout] ... | [INFO] [stdout] 35 | | Ok(ret) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | return Ok(Vec::from(b"*-1\r\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/array.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/boolean.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 7 | | let t_f = if self { "t" } else { "f" }; [INFO] [stdout] 8 | | Ok(format!("#{}\r\n", t_f).into_bytes()) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/boolean.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(format!("#{}\r\n", t_f).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/bulkstring.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 32 | | let Some(bulk_string) = self.0 else { [INFO] [stdout] 33 | | return Ok(Vec::from(b"$-1\r\n")); [INFO] [stdout] 34 | | }; [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(ret) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/bulkstring.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | return Ok(Vec::from(b"$-1\r\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/bulkstring.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/double.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 23 | | let ret = if self.abs() < 1e-8 || self.abs() > 1e+8 { [INFO] [stdout] 24 | | format!(",{:+e}\r\n", &self.get()) [INFO] [stdout] 25 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 29 | | Ok(ret.into_bytes()) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/double.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(ret.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[enum_dispatch(RespEncode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `enum_dispatch` (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, EncodeErr> [INFO] [stdout] --> src/resp/integer.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 7 | | Ok(format!(":{}\r\n", self).into_bytes()) [INFO] [stdout] 8 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/integer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Ok(format!(":{}\r\n", self).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 32 | | let n_elems = self.len(); [INFO] [stdout] 33 | | let mut ret = Vec::with_capacity(4096); [INFO] [stdout] 34 | | ret.extend_from_slice(&format!("%{}\r\n", n_elems).into_bytes()); [INFO] [stdout] ... | [INFO] [stdout] 41 | | Ok(ret) [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/map.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let en_key = key.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let en_key = key.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let en_key = key.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/map.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let en_val = value.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let en_val = value.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let en_val = value.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/null.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 9 | | Ok(b"_\r\n".to_vec()) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/null.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(b"_\r\n".to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 27 | | let n_elems = self.len(); [INFO] [stdout] 28 | | let mut ret = Vec::with_capacity(4096); [INFO] [stdout] 29 | | ret.extend_from_slice(&format!("~{}\r\n", n_elems).into_bytes()); [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(ret) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/set.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_error.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 25 | | Ok(format!("-{}\r\n", self.0).into_bytes()) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_error.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(format!("-{}\r\n", self.0).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_string.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 19 | | Ok(format!("+{}\r\n", self.0).into_bytes()) [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_string.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(format!("+{}\r\n", self.0).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-redis` (lib) due to 37 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/network/codec.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let encoded = item.encode()?; [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, EncodeErr> [INFO] [stdout] --> src/network/codec.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let encoded = item.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 25 | | let Some(arr) = self.0 else { [INFO] [stdout] 26 | | return Ok(Vec::from(b"*-1\r\n")); [INFO] [stdout] 27 | | }; [INFO] [stdout] ... | [INFO] [stdout] 35 | | Ok(ret) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | return Ok(Vec::from(b"*-1\r\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/array.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/array.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/boolean.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 7 | | let t_f = if self { "t" } else { "f" }; [INFO] [stdout] 8 | | Ok(format!("#{}\r\n", t_f).into_bytes()) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/boolean.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(format!("#{}\r\n", t_f).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/bulkstring.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 32 | | let Some(bulk_string) = self.0 else { [INFO] [stdout] 33 | | return Ok(Vec::from(b"$-1\r\n")); [INFO] [stdout] 34 | | }; [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(ret) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/bulkstring.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | return Ok(Vec::from(b"$-1\r\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/bulkstring.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/double.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 23 | | let ret = if self.abs() < 1e-8 || self.abs() > 1e+8 { [INFO] [stdout] 24 | | format!(",{:+e}\r\n", &self.get()) [INFO] [stdout] 25 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 29 | | Ok(ret.into_bytes()) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/double.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(ret.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[enum_dispatch(RespEncode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `enum_dispatch` (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: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(frame.encode()?, b"+OK\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(frame.encode()?, b"+OK\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(frame.encode()?, b"-Error message\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(frame.encode()?, b"-Error message\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(frame.encode()?, b":123\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(frame.encode()?, b":123\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(frame.encode()?, b":-123\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(frame.encode()?, b":-123\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(frame.encode()?, b"$5\r\nhello\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(frame.encode()?, b"$5\r\nhello\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(frame.encode()?, b"$0\r\n\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(frame.encode()?, b"$0\r\n\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | frame.encode()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | frame.encode()?, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | assert_eq!(frame.encode()?, b"#t\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | assert_eq!(frame.encode()?, b"#t\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | assert_eq!(frame.encode()?, b"#f\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | assert_eq!(frame.encode()?, b"#f\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(frame.encode()?, b",+123.456\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(frame.encode()?, b",+123.456\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(frame.encode()?, b",-123.456\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(frame.encode()?, b",-123.456\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(frame.encode()?, b",+1.23456e8\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(frame.encode()?, b",+1.23456e8\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(frame.encode()?, b",-1.23456e-9\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(frame.encode()?, b",-1.23456e-9\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | frame.encode()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | frame.encode()?, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | frame.encode()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | frame.encode()?, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | let encoded = RespFrame::encode(null.into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | let encoded = RespFrame::encode(null.into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/frame.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | let encoded = RespFrame::encode(null.into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/frame.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | let encoded = RespFrame::encode(null.into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/integer.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 7 | | Ok(format!(":{}\r\n", self).into_bytes()) [INFO] [stdout] 8 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/integer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Ok(format!(":{}\r\n", self).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 32 | | let n_elems = self.len(); [INFO] [stdout] 33 | | let mut ret = Vec::with_capacity(4096); [INFO] [stdout] 34 | | ret.extend_from_slice(&format!("%{}\r\n", n_elems).into_bytes()); [INFO] [stdout] ... | [INFO] [stdout] 41 | | Ok(ret) [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/map.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let en_key = key.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let en_key = key.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let en_key = key.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/map.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let en_val = value.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let en_val = value.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let en_val = value.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/map.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/null.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 9 | | Ok(b"_\r\n".to_vec()) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/null.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(b"_\r\n".to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 27 | | let n_elems = self.len(); [INFO] [stdout] 28 | | let mut ret = Vec::with_capacity(4096); [INFO] [stdout] 29 | | ret.extend_from_slice(&format!("~{}\r\n", n_elems).into_bytes()); [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(ret) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/resp/set.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let encoded = elem.encode()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/set.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(ret) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_error.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 25 | | Ok(format!("-{}\r\n", self.0).into_bytes()) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_error.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(format!("-{}\r\n", self.0).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_string.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn encode(self) -> Result, EncodeErr> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 19 | | Ok(format!("+{}\r\n", self.0).into_bytes()) [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, EncodeErr> [INFO] [stdout] --> src/resp/simple_string.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(format!("+{}\r\n", self.0).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-redis` (lib test) due to 71 previous errors [INFO] running `Command { std: "docker" "inspect" "857e85aca1248c462378a03d990a14a76b0ffb25fb3ac35f475419dbac653a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857e85aca1248c462378a03d990a14a76b0ffb25fb3ac35f475419dbac653a92", kill_on_drop: false }` [INFO] [stdout] 857e85aca1248c462378a03d990a14a76b0ffb25fb3ac35f475419dbac653a92