[INFO] cloning repository https://github.com/gregcline/grok-list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gregcline/grok-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregcline%2Fgrok-list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregcline%2Fgrok-list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74036e709ad5eab713801ae7ec58e4e0cf90821d [INFO] checking gregcline/grok-list against master#dd9a7bf848e412c81e3045245acbd5a01641a610 for pr-111245 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregcline%2Fgrok-list" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregcline/grok-list on toolchain dd9a7bf848e412c81e3045245acbd5a01641a610 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd9a7bf848e412c81e3045245acbd5a01641a610" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gregcline/grok-list [INFO] finished tweaking git repo https://github.com/gregcline/grok-list [INFO] tweaked toml for git repo https://github.com/gregcline/grok-list written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gregcline/grok-list 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" "+dd9a7bf848e412c81e3045245acbd5a01641a610" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref-cast-impl v1.0.3 [INFO] [stderr] Downloaded indenter v0.3.1 [INFO] [stderr] Downloaded ref-cast v1.0.3 [INFO] [stderr] Downloaded os_info v3.0.6 [INFO] [stderr] Downloaded bson v1.2.2 [INFO] [stderr] Downloaded mongodb v1.2.2 [INFO] [stderr] Downloaded tokio v1.8.0 [INFO] [stderr] Downloaded tokio-macros v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+dd9a7bf848e412c81e3045245acbd5a01641a610" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60a850eb9099c7f471450d5d02ae6dde0a82b2409259f50984c38ce8961e995d [INFO] running `Command { std: "docker" "start" "-a" "60a850eb9099c7f471450d5d02ae6dde0a82b2409259f50984c38ce8961e995d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60a850eb9099c7f471450d5d02ae6dde0a82b2409259f50984c38ce8961e995d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a850eb9099c7f471450d5d02ae6dde0a82b2409259f50984c38ce8961e995d", kill_on_drop: false }` [INFO] [stdout] 60a850eb9099c7f471450d5d02ae6dde0a82b2409259f50984c38ce8961e995d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+dd9a7bf848e412c81e3045245acbd5a01641a610" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa63b4ec9a3b47c88d7a2d74882085cf0d90231653e472d4ac426ecb230166c2 [INFO] running `Command { std: "docker" "start" "-a" "aa63b4ec9a3b47c88d7a2d74882085cf0d90231653e472d4ac426ecb230166c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling tokio v1.8.0 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking sharded-slab v0.1.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling eyre v0.6.3 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Checking spin v0.9.1 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking indenter v0.3.1 [INFO] [stderr] Checking owo-colors v1.2.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking version_check v0.9.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling ref-cast v1.0.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking os_info v3.0.6 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking color-eyre v0.5.10 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_with v1.6.0 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking bson v1.2.2 [INFO] [stderr] Checking mongodb v1.2.2 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking grok_list v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RepoError` [INFO] [stdout] --> src/user_handlers.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::repo::{Repo, RepoError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RepoError` [INFO] [stdout] --> src/user_handlers.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::repo::{Repo, RepoError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace_result` [INFO] [stdout] --> src/repo.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let replace_result = db_collection [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replace_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace_result` [INFO] [stdout] --> src/repo.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let replace_result = db_collection [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replace_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `builder` and `add_item` are never used [INFO] [stdout] --> src/list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn builder(name: String, user_id: ObjectId) -> ListBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_item(&mut self, item: ListItem) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build`, and `add_item` are never used [INFO] [stdout] --> src/list.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ListBuilder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(name: String, user_id: ObjectId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn build(&self) -> List { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn add_item(&mut self, item: ListItem) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/list.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl ListItem { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 65 | pub fn builder(name: &str) -> ListItemBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `category`, and `amount` are never read [INFO] [stdout] --> src/list.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ListItemBuilder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 72 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | category: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListItemBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `category`, `amount`, and `build` are never used [INFO] [stdout] --> src/list.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl ListItemBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 78 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn category<'a>(&'a mut self, category: &str) -> &'a mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn amount<'a>(&'a mut self, amount: &str) -> &'a mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn build(&self) -> ListItem { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ObjectNotFound` is never constructed [INFO] [stdout] --> src/repo.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum RepoError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | ObjectNotFound(ObjectId, Collections) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Lists` and `Stores` are never constructed [INFO] [stdout] --> src/repo.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Collections { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 30 | Lists, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Stores, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collections` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/repo.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl Repo { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | async fn replace_document_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | async fn delete_document_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn add_list(&self, list: &List) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn get_list_by_id(&self, id: &ObjectId) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn delete_list_by_id(&self, id: &ObjectId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn add_store(&self, store: &Store) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn get_store_by_id(&self, id: &ObjectId) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn delete_store_by_id(&self, id: &ObjectId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn get_user_by_name(&self, name: &str) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn get_lists_by_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn add_list_item( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_category` are never used [INFO] [stdout] --> src/store.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_category(&mut self, category: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inserted_user` [INFO] [stdout] --> src/repo.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let inserted_user = repo [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inserted_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v1.2.2, ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "aa63b4ec9a3b47c88d7a2d74882085cf0d90231653e472d4ac426ecb230166c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa63b4ec9a3b47c88d7a2d74882085cf0d90231653e472d4ac426ecb230166c2", kill_on_drop: false }` [INFO] [stdout] aa63b4ec9a3b47c88d7a2d74882085cf0d90231653e472d4ac426ecb230166c2