[INFO] cloning repository https://github.com/Natyalemu/DittoKV [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Natyalemu/DittoKV" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatyalemu%2FDittoKV", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatyalemu%2FDittoKV'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e60ad9237158c18a0ed4d7a8fda252a7a2314865 [INFO] checking Natyalemu/DittoKV against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatyalemu%2FDittoKV" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Natyalemu/DittoKV [INFO] finished tweaking git repo https://github.com/Natyalemu/DittoKV [INFO] tweaked toml for git repo https://github.com/Natyalemu/DittoKV written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Natyalemu/DittoKV on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Natyalemu/DittoKV 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085 [INFO] running `Command { std: "docker" "start" "63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking ditto-kv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinError` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::task::JoinError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/peer.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::id::{self, Id}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/peer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinError` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::task::JoinError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/peer.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::id::{self, Id}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/peer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/state_machine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Delete` and `Set` [INFO] [stdout] --> src/state_machine.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::log::cmd::{Command, Delete, Set}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/state_machine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Delete` and `Set` [INFO] [stdout] --> src/state_machine.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::log::cmd::{Command, Delete, Set}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let (tx_to_node, mut rx_from_client) = mpsc::channel::(256); [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/client.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let (tx_to_node, mut rx_from_client) = mpsc::channel::(256); [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/server.rs:549:17 [INFO] [stdout] | [INFO] [stdout] 549 | let mut timeout = tokio::time::sleep(self.random_election_timeout_duration()); [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/server.rs:549:17 [INFO] [stdout] | [INFO] [stdout] 549 | let mut timeout = tokio::time::sleep(self.random_election_timeout_duration()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | ... if let Err(e) = tx_to_client.send(rpc).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = writer.write_all(serialized.as_bytes()).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(e) = serde_json::to_string(&rpc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | if let Err(e) = tx_to_leader.send(rpc).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | ... if let Err(e) = tx_to_client.send(rpc).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = writer.write_all(serialized.as_bytes()).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(e) = serde_json::to_string(&rpc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | if let Err(e) = tx_to_leader.send(rpc).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_to_clients` [INFO] [stdout] --> src/server.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 834 | tx_to_clients: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_to_clients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_to_server` [INFO] [stdout] --> src/server.rs:836:5 [INFO] [stdout] | [INFO] [stdout] 836 | cmd_to_server: mpsc::Sender<(u64, RPC)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_to_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `tx_to_client`, and `rx_from_nodes` are never read [INFO] [stdout] --> src/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RaftClient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | leader: Option, [INFO] [stdout] 18 | nodes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | tx_to_nodes: HashMap>, [INFO] [stdout] 20 | tx_to_client: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | rx_from_nodes: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/log/cmd.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn key(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/log/cmd.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl Delete { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 74 | fn new(key: impl ToString) -> Delete { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u64` [INFO] [stdout] --> src/id.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let id = id.into(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 12 - let id = id.into(); [INFO] [stdout] 12 + let id = id; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 12 - let id = id.into(); [INFO] [stdout] 12 + let id = >::into(id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_to_clients` [INFO] [stdout] --> src/server.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 834 | tx_to_clients: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_to_clients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_to_server` [INFO] [stdout] --> src/server.rs:836:5 [INFO] [stdout] | [INFO] [stdout] 836 | cmd_to_server: mpsc::Sender<(u64, RPC)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_to_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `tx_to_client`, and `rx_from_nodes` are never read [INFO] [stdout] --> src/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RaftClient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | leader: Option, [INFO] [stdout] 18 | nodes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | tx_to_nodes: HashMap>, [INFO] [stdout] 20 | tx_to_client: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | rx_from_nodes: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/log/cmd.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn key(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/log/cmd.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl Delete { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 74 | fn new(key: impl ToString) -> Delete { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u64` [INFO] [stdout] --> src/id.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let id = id.into(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 12 - let id = id.into(); [INFO] [stdout] 12 + let id = id; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 12 - let id = id.into(); [INFO] [stdout] 12 + let id = >::into(id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ditto-kv` (lib) due to 1 previous error; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ditto-kv` (lib test) due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085", kill_on_drop: false }` [INFO] [stdout] 63de61bf5d444d04e7d5280d319dd10bb89cbc51d29d2be64a219379905d4085