[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#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [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 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking TiredEspressoBean/RustDMBS against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [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 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f226e67fd62822e665a1ab9818ecc4b0c34d8cc932866acd4f764288f0f8774 [INFO] running `Command { std: "docker" "start" "-a" "2f226e67fd62822e665a1ab9818ecc4b0c34d8cc932866acd4f764288f0f8774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f226e67fd62822e665a1ab9818ecc4b0c34d8cc932866acd4f764288f0f8774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f226e67fd62822e665a1ab9818ecc4b0c34d8cc932866acd4f764288f0f8774", kill_on_drop: false }` [INFO] [stdout] 2f226e67fd62822e665a1ab9818ecc4b0c34d8cc932866acd4f764288f0f8774 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4df121fe222846b7ea33723662aea69e58460830c3165ab8466bb980d12026d [INFO] running `Command { std: "docker" "start" "-a" "f4df121fe222846b7ea33723662aea69e58460830c3165ab8466bb980d12026d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking http-body-util v0.1.2 [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)]` 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)]` 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: `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: `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: `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)]` on by default [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)]` 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)]` 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)]` 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)]` 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: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)]` 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] 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" "f4df121fe222846b7ea33723662aea69e58460830c3165ab8466bb980d12026d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4df121fe222846b7ea33723662aea69e58460830c3165ab8466bb980d12026d", kill_on_drop: false }` [INFO] [stdout] f4df121fe222846b7ea33723662aea69e58460830c3165ab8466bb980d12026d