[INFO] cloning repository https://github.com/fr0stylo/cachetcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fr0stylo/cachetcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffr0stylo%2Fcachetcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffr0stylo%2Fcachetcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1be4b73e1e443d15fb094d6942be92ee50cb1571 [INFO] checking fr0stylo/cachetcp against master#9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffr0stylo%2Fcachetcp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fr0stylo/cachetcp on toolchain 9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fr0stylo/cachetcp [INFO] finished tweaking git repo https://github.com/fr0stylo/cachetcp [INFO] tweaked toml for git repo https://github.com/fr0stylo/cachetcp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fr0stylo/cachetcp 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" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 281072b184a34d294be4ac4ca8bcf5f29396e1a9873fe9108f93010c447bf9d0 [INFO] running `Command { std: "docker" "start" "-a" "281072b184a34d294be4ac4ca8bcf5f29396e1a9873fe9108f93010c447bf9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "281072b184a34d294be4ac4ca8bcf5f29396e1a9873fe9108f93010c447bf9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281072b184a34d294be4ac4ca8bcf5f29396e1a9873fe9108f93010c447bf9d0", kill_on_drop: false }` [INFO] [stdout] 281072b184a34d294be4ac4ca8bcf5f29396e1a9873fe9108f93010c447bf9d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bb4f4e349c15574f63be471a12f839cc4f04ba2f3b9c72873f2f9d6df0d5915 [INFO] running `Command { std: "docker" "start" "-a" "6bb4f4e349c15574f63be471a12f839cc4f04ba2f3b9c72873f2f9d6df0d5915", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking cachetcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `Error`, `Read`, `Write`, and `mem::size_of` [INFO] [stdout] --> src/proto/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{BufReader, BufWriter, Error, Read, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 4 | mem::size_of, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/proto/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/proto/nonblocking/mod.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Error, mem::size_of, pin::Pin, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/persistance/wal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/storage/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/storage/storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Poll` [INFO] [stdout] --> src/storage/storage.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cli/mod.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | #[clap(long, default_value_t = ("./wal.log".to_string()))] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - #[clap(long, default_value_t = ("./wal.log".to_string()))] [INFO] [stdout] 13 + #[clap(long, default_value_t = "./wal.log".to_string())] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cli/mod.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | #[clap(long, default_value_t = ("./storage.log".to_string()))] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - #[clap(long, default_value_t = ("./storage.log".to_string()))] [INFO] [stdout] 16 + #[clap(long, default_value_t = "./storage.log".to_string())] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `hash_extract_if` has been stable since 1.87.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(hash_extract_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `Error`, `Read`, `Write`, and `mem::size_of` [INFO] [stdout] --> src/proto/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{BufReader, BufWriter, Error, Read, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 4 | mem::size_of, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/proto/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/proto/nonblocking/mod.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Error, mem::size_of, pin::Pin, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/persistance/wal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/storage/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/storage/storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Poll` [INFO] [stdout] --> src/storage/storage.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cli/mod.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | #[clap(long, default_value_t = ("./wal.log".to_string()))] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - #[clap(long, default_value_t = ("./wal.log".to_string()))] [INFO] [stdout] 13 + #[clap(long, default_value_t = "./wal.log".to_string())] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cli/mod.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | #[clap(long, default_value_t = ("./storage.log".to_string()))] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - #[clap(long, default_value_t = ("./storage.log".to_string()))] [INFO] [stdout] 16 + #[clap(long, default_value_t = "./storage.log".to_string())] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `hash_extract_if` has been stable since 1.87.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(hash_extract_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/storage/storage.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ... let res = self.stash.lock().await.insert(key.to_owned(), Entry { key: key.clone().to_owned(), value: data.clone(), expires_at: Some... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/storage/storage.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ... let res = self.stash.lock().await.insert(key.to_owned(), Entry { key: key.clone().to_owned(), value: data.clone(), expires_at: Some... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/persistance/snapshot.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | ... Some(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/persistance/wal.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | ... Some(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/persistance/wal.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut result = 0u64; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/persistance/snapshot.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | ... Some(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/storage/storage.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | let res = g.extract_if(|x, entry| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/storage.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn expire(&self, mut tx: &UnboundedSender) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/persistance/wal.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | ... Some(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/persistance/wal.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut result = 0u64; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/storage/storage.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | let res = g.extract_if(|x, entry| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/storage.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn expire(&self, mut tx: &UnboundedSender) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cc` is never read [INFO] [stdout] --> src/storage/storage.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Storage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 45 | cc: CacheStorage, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Storage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/storage/storage.rs:59:82 [INFO] [stdout] | [INFO] [stdout] 59 | ... let res = self.stash.lock().await.insert(key.to_owned(), Entry { key: key.clone().to_owned(), value: data.clone(), expires_at: None... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/storage/storage.rs:65:82 [INFO] [stdout] | [INFO] [stdout] 65 | ... let res = self.stash.lock().await.insert(key.to_owned(), Entry { key: key.clone().to_owned(), value: data.clone(), expires_at: Some... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/storage/storage.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | match self.stash.lock().await.get(key.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/storage/storage.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | match self.stash.lock().await.remove(key.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cc` is never read [INFO] [stdout] --> src/storage/storage.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Storage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 45 | cc: CacheStorage, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Storage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/storage/storage.rs:59:82 [INFO] [stdout] | [INFO] [stdout] 59 | ... let res = self.stash.lock().await.insert(key.to_owned(), Entry { key: key.clone().to_owned(), value: data.clone(), expires_at: None... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/cachetcp-dff5cd30e497f5d4.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/cachetcp-dff5cd30e497f5d4/dep-lib-cachetcp` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cachetcp` (lib test); 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/bin/rustc --crate-name cachetcp --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3c9624a7df57a3c5 -C extra-filename=-c6e2519bdb23e0d2 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bcf5599150873505.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-4f6be04d9aaea8d2.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-2799c60fe5a8a20b.rmeta --extern rmp_serde=/opt/rustwide/target/debug/deps/librmp_serde-64f797af7ed9787d.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-a8ab334eaa9bebd4.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-cb43e0ec8c64e623.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-75dcc07cafcb5127.rmeta --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "6bb4f4e349c15574f63be471a12f839cc4f04ba2f3b9c72873f2f9d6df0d5915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb4f4e349c15574f63be471a12f839cc4f04ba2f3b9c72873f2f9d6df0d5915", kill_on_drop: false }` [INFO] [stdout] 6bb4f4e349c15574f63be471a12f839cc4f04ba2f3b9c72873f2f9d6df0d5915