[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] building gregcline/grok-list against master#c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 for pr-97334-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregcline%2Fgrok-list" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregcline/grok-list on toolchain c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "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-6-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" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref-cast v1.0.3 [INFO] [stderr] Downloaded owo-colors v1.2.1 [INFO] [stderr] Downloaded devise v0.3.0 [INFO] [stderr] Downloaded devise_core v0.3.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.3 [INFO] [stderr] Downloaded serde_with_macros v1.3.0 [INFO] [stderr] Downloaded indenter v0.3.1 [INFO] [stderr] Downloaded serde_with v1.6.0 [INFO] [stderr] Downloaded devise_codegen v0.3.0 [INFO] [stderr] Downloaded tokio v1.8.0 [INFO] [stderr] Downloaded bson v1.2.2 [INFO] [stderr] Downloaded tokio-macros v0.3.2 [INFO] [stderr] Downloaded mongodb v1.2.2 [INFO] [stderr] Downloaded color-eyre v0.5.10 [INFO] [stderr] Downloaded tokio v0.3.6 [INFO] [stderr] Downloaded os_info v3.0.6 [INFO] [stderr] Downloaded spin v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6681beb4b8cb9691b418ae7f00c4c2834f26526a7841cd494c8d4701b93a661 [INFO] running `Command { std: "docker" "start" "-a" "b6681beb4b8cb9691b418ae7f00c4c2834f26526a7841cd494c8d4701b93a661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6681beb4b8cb9691b418ae7f00c4c2834f26526a7841cd494c8d4701b93a661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6681beb4b8cb9691b418ae7f00c4c2834f26526a7841cd494c8d4701b93a661", kill_on_drop: false }` [INFO] [stdout] b6681beb4b8cb9691b418ae7f00c4c2834f26526a7841cd494c8d4701b93a661 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cc37f676e165e04a192f9a7b2216bb57218077fc4c7b5d9d74a31a81aa4522b [INFO] running `Command { std: "docker" "start" "-a" "7cc37f676e165e04a192f9a7b2216bb57218077fc4c7b5d9d74a31a81aa4522b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling tokio v1.8.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling sharded-slab v0.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling eyre v0.6.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling spin v0.9.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling owo-colors v1.2.1 [INFO] [stderr] Compiling indenter v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.3 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling ref-cast v1.0.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling os_info v3.0.6 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling color-eyre v0.5.10 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling serde_with v1.6.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling mongodb v1.2.2 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling 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 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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn builder(name: String, user_id: ObjectId) -> ListBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_item` is never used [INFO] [stdout] --> src/list.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_item(&mut self, item: ListItem) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/list.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(name: String, user_id: ObjectId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/list.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build(&self) -> List { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_item` is never used [INFO] [stdout] --> src/list.rs:51:12 [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] 65 | pub fn builder(name: &str) -> ListItemBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/list.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `category` is never used [INFO] [stdout] --> src/list.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn category<'a>(&'a mut self, category: &str) -> &'a mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `amount` is never used [INFO] [stdout] --> src/list.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn amount<'a>(&'a mut self, amount: &str) -> &'a mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/list.rs:96:12 [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: associated function `replace_document_by_id` is never used [INFO] [stdout] --> src/repo.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | async fn replace_document_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_document_by_id` is never used [INFO] [stdout] --> src/repo.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | async fn delete_document_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_list` is never used [INFO] [stdout] --> src/repo.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | pub async fn add_list(&self, list: &List) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_list_by_id` is never used [INFO] [stdout] --> src/repo.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn get_list_by_id(&self, id: &ObjectId) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_list_by_id` is never used [INFO] [stdout] --> src/repo.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn delete_list_by_id(&self, id: &ObjectId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_store` is never used [INFO] [stdout] --> src/repo.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn add_store(&self, store: &Store) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_store_by_id` is never used [INFO] [stdout] --> src/repo.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub async fn get_store_by_id(&self, id: &ObjectId) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_store_by_id` is never used [INFO] [stdout] --> src/repo.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | pub async fn delete_store_by_id(&self, id: &ObjectId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_user_by_name` is never used [INFO] [stdout] --> src/repo.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn get_user_by_name(&self, name: &str) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_lists_by_user` is never used [INFO] [stdout] --> src/repo.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn get_lists_by_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_list_item` is never used [INFO] [stdout] --> src/repo.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn add_list_item( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/store.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_category` is never used [INFO] [stdout] --> src/store.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn add_category(&mut self, category: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [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 3` [INFO] running `Command { std: "docker" "inspect" "7cc37f676e165e04a192f9a7b2216bb57218077fc4c7b5d9d74a31a81aa4522b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc37f676e165e04a192f9a7b2216bb57218077fc4c7b5d9d74a31a81aa4522b", kill_on_drop: false }` [INFO] [stdout] 7cc37f676e165e04a192f9a7b2216bb57218077fc4c7b5d9d74a31a81aa4522b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45aee11fdfac7fa861b0b6b5bd55eef81df57b2fcda9bf3a23701532e9e8e685 [INFO] running `Command { std: "docker" "start" "-a" "45aee11fdfac7fa861b0b6b5bd55eef81df57b2fcda9bf3a23701532e9e8e685", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: `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 test [unoptimized + debuginfo] target(s) in 8.96s [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] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "45aee11fdfac7fa861b0b6b5bd55eef81df57b2fcda9bf3a23701532e9e8e685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45aee11fdfac7fa861b0b6b5bd55eef81df57b2fcda9bf3a23701532e9e8e685", kill_on_drop: false }` [INFO] [stdout] 45aee11fdfac7fa861b0b6b5bd55eef81df57b2fcda9bf3a23701532e9e8e685