[INFO] cloning repository https://github.com/TiredEspressoBean/RustDMBS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TiredEspressoBean/RustDMBS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiredEspressoBean%2FRustDMBS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiredEspressoBean%2FRustDMBS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d97bba64d4f806c91bea9091ae53f3cd6de52f45 [INFO] checking TiredEspressoBean/RustDMBS against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiredEspressoBean%2FRustDMBS" "/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/TiredEspressoBean/RustDMBS [INFO] finished tweaking git repo https://github.com/TiredEspressoBean/RustDMBS [INFO] tweaked toml for git repo https://github.com/TiredEspressoBean/RustDMBS written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TiredEspressoBean/RustDMBS on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TiredEspressoBean/RustDMBS 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b1fc6bfde63cf8bd0c0d54fe4d403664830a0fdac29c6d6188f73eb4313a218 [INFO] running `Command { std: "docker" "start" "-a" "8b1fc6bfde63cf8bd0c0d54fe4d403664830a0fdac29c6d6188f73eb4313a218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b1fc6bfde63cf8bd0c0d54fe4d403664830a0fdac29c6d6188f73eb4313a218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1fc6bfde63cf8bd0c0d54fe4d403664830a0fdac29c6d6188f73eb4313a218", kill_on_drop: false }` [INFO] [stdout] 8b1fc6bfde63cf8bd0c0d54fe4d403664830a0fdac29c6d6188f73eb4313a218 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e0058169fd24bc7d78487e6ccfcbba5a9aeef47f44ac9084fff35d357ef10e0 [INFO] running `Command { std: "docker" "start" "-a" "4e0058169fd24bc7d78487e6ccfcbba5a9aeef47f44ac9084fff35d357ef10e0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking RustDBMS v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> src/utils/logger.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use::log::{debug, warn, error, info}; [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 imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> src/utils/logger.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use::log::{debug, warn, error, info}; [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 imports: `Router`, `get`, and `post` [INFO] [stdout] --> src/API.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{routing::{get, post}, Router}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `get`, and `post` [INFO] [stdout] --> src/API.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{routing::{get, post}, Router}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | use std::{env, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | use std::{env, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value::String` [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | use serde_json::Value::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value::String` [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | use serde_json::Value::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/main.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | use crate::db::schema::{Record, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/main.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | use crate::db::schema::{Record, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | /// Init logging functionality [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | init_logger(); [INFO] [stdout] | ------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | /// Init logging functionality [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | init_logger(); [INFO] [stdout] | ------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDate: Serialize` is not satisfied [INFO] [stdout] --> src/db/schema.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `NaiveDate` [INFO] [stdout] ... [INFO] [stdout] 41 | Date(NaiveDate) [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NaiveDate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 137 others [INFO] [stdout] note: required by a bound in `serialize_newtype_variant` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.208/src/ser/mod.rs:943:21 [INFO] [stdout] | [INFO] [stdout] 935 | fn serialize_newtype_variant( [INFO] [stdout] | ------------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 943 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_variant` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDate: Serialize` is not satisfied [INFO] [stdout] --> src/db/schema.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `NaiveDate` [INFO] [stdout] ... [INFO] [stdout] 41 | Date(NaiveDate) [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NaiveDate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 137 others [INFO] [stdout] note: required by a bound in `serialize_newtype_variant` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.208/src/ser/mod.rs:943:21 [INFO] [stdout] | [INFO] [stdout] 935 | fn serialize_newtype_variant( [INFO] [stdout] | ------------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 943 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_variant` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDate: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/db/schema.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | Date(NaiveDate) [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDate` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 154 others [INFO] [stdout] note: required by a bound in `newtype_variant` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.208/src/de/mod.rs:2126:12 [INFO] [stdout] | [INFO] [stdout] 2124 | fn newtype_variant(self) -> Result [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 2125 | where [INFO] [stdout] 2126 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDate: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/db/schema.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | Date(NaiveDate) [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDate` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 154 others [INFO] [stdout] note: required by a bound in `newtype_variant` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.208/src/de/mod.rs:2126:12 [INFO] [stdout] | [INFO] [stdout] 2124 | fn newtype_variant(self) -> Result [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 2125 | where [INFO] [stdout] 2126 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/db/storage.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/db/storage.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/db/storage.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | } else if let Ok(string_val) = s.parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/db/storage.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | } else if let Ok(string_val) = s.parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db/storage.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let mut data = collection.data.write().map_err(|_| DBError::StorageError("Failed to create record".into())); [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/db/storage.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let mut data = collection.data.write().map_err(|_| DBError::StorageError("Failed to create record".into())); [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/db/storage.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut record = collection.data.write().map_err(|_| DBError::StorageError("Failed to find record to delete".into())); [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/db/storage.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut record = collection.data.write().map_err(|_| DBError::StorageError("Failed to find record to delete".into())); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | if let Err(e) = storage.load_from_file("Db.json"){ [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/main.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | if let Err(e) = storage.load_from_file("Db.json"){ [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/main.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | ... Err(e) => eprintln!("Unable to create new record") [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/main.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | ... Err(e) => eprintln!("Unable to create new record") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustDBMS` (bin "RustDBMS" test) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `RustDBMS` (bin "RustDBMS") due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e0058169fd24bc7d78487e6ccfcbba5a9aeef47f44ac9084fff35d357ef10e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0058169fd24bc7d78487e6ccfcbba5a9aeef47f44ac9084fff35d357ef10e0", kill_on_drop: false }` [INFO] [stdout] 4e0058169fd24bc7d78487e6ccfcbba5a9aeef47f44ac9084fff35d357ef10e0