[INFO] cloning repository https://github.com/pgkgone/Mansa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pgkgone/Mansa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgkgone%2FMansa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgkgone%2FMansa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbf6c5db8cb37d5608d832e6f69c56b2245c5a28 [INFO] building pgkgone/Mansa against master#3266c36624e804f9f086ebd40db19039b55a4ec1 for pr-111698 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgkgone%2FMansa" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pgkgone/Mansa on toolchain 3266c36624e804f9f086ebd40db19039b55a4ec1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/pgkgone/Mansa [INFO] finished tweaking git repo https://github.com/pgkgone/Mansa [INFO] tweaked toml for git repo https://github.com/pgkgone/Mansa written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pgkgone/Mansa 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" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: env [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seize v0.2.5 [INFO] [stderr] Downloaded flurry v0.4.0 [INFO] [stderr] Downloaded console_engine v2.5.0 [INFO] [stderr] Downloaded bson v2.3.0 [INFO] [stderr] Downloaded scc v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86e73ea33ef38dbf74aff42b8ae0d40d9a7ac9873d44227dfb8666cd00a5c0d9 [INFO] running `Command { std: "docker" "start" "-a" "86e73ea33ef38dbf74aff42b8ae0d40d9a7ac9873d44227dfb8666cd00a5c0d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86e73ea33ef38dbf74aff42b8ae0d40d9a7ac9873d44227dfb8666cd00a5c0d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e73ea33ef38dbf74aff42b8ae0d40d9a7ac9873d44227dfb8666cd00a5c0d9", kill_on_drop: false }` [INFO] [stdout] 86e73ea33ef38dbf74aff42b8ae0d40d9a7ac9873d44227dfb8666cd00a5c0d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c20e12152371ba9f4878811b469311e2cd67cc860ebcd5a7036c3c11d7c4c0d5 [INFO] running `Command { std: "docker" "start" "-a" "c20e12152371ba9f4878811b469311e2cd67cc860ebcd5a7036c3c11d7c4c0d5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: env [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling priority-queue v1.2.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling seize v0.2.5 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling arc-swap v1.5.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling flurry v0.4.0 [INFO] [stderr] Compiling scc v0.11.1 [INFO] [stderr] Compiling async_once v0.2.6 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling os_info v3.4.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.24.0 [INFO] [stderr] Compiling bson v2.3.0 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling console_engine v2.5.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v2.3.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling mansa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice::Split` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::slice::Split; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{io, env}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::append::console::ConsoleAppender` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use log4rs::append::console::ConsoleAppender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::encode::pattern::PatternEncoder` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use log4rs::encode::pattern::PatternEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> src/client/db/client.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | use mongodb::error::{UNKNOWN_TRANSACTION_COMMIT_RESULT, TRANSIENT_TRANSACTION_ERROR, self}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DATABASE_COLLECTIONS` should have an upper camel case name [INFO] [stdout] --> src/client/db/client.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum DATABASE_COLLECTIONS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DatabaseCollections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PARSING_TASKS` should have an upper camel case name [INFO] [stdout] --> src/client/db/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | PARSING_TASKS [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ParsingTasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/client/db/client.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | .inspect(|v| info!("successfully connects to db")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/db/client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut options = ClientOptions::parse(format!("mongodb://{}:{}@localhost:{}", login, password, port)) [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: value assigned to `commit_result` is never read [INFO] [stdout] --> src/client/db/client.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut commit_result = Ok(()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/client/db/client.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | ... ErrorKind::InvalidArgument { message , .. } => info!("try to insert empty collection in db: {}-{}", database, database_collection), [INFO] [stdout] | ^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `queue_account_referesh` is never read [INFO] [stdout] --> src/client/parser_v2/account_manager/account_pool.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut queue_account_referesh: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/reddit/reddit.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut token = String::from(""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/reddit/reddit.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | ResponseBody::Comments(comments) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reddit/reddit.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let mut comments = comments.unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commons/parsing_tasks.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!("wrong method dispatch") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commons/parsing_tasks.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | _ => panic!("wrong method dispatch") [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let handle = log4rs::init_config(config).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_json_from_file` is never used [INFO] [stdout] --> src/utils/file_reader.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_json_from_file(path: &Path) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClientSessionPtr` is never used [INFO] [stdout] --> src/client/db/client.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ClientSessionPtr = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TRANSACTION` is never used [INFO] [stdout] --> src/client/db/client.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn TRANSACTION(func: F ) -> R [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoLimit` is never constructed [INFO] [stdout] --> src/client/db/tasks_db.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Limit { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 23 | Limit(u64), [INFO] [stdout] 24 | NoLimit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Limit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_hashmap` is never used [INFO] [stdout] --> src/client/db/tasks_db.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl GroupedTasks { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 107 | pub fn to_hashmap(vec: Vec) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tasks_grouped_by_social_network` is never used [INFO] [stdout] --> src/client/db/tasks_db.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn get_tasks_grouped_by_social_network() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_entities` is never used [INFO] [stdout] --> src/client/db/entities_db.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn insert_entities(entities: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client/parser_v2/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ParserThreadCounter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | limit: usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Recovery` is never constructed [INFO] [stdout] --> src/client/parser_v2/task_publisher.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum TaskPublisherMod { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 29 | Recovery, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskPublisherMod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_other_errors`, `decrease_total_number_of_accounts`, `increase_threads_waiting_for_refresh`, and `decrease_threads_waiting_for_refresh` are never used [INFO] [stdout] --> src/client/parser_v2/statistics.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Statistics { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn increase_other_errors(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn decrease_total_number_of_accounts(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn increase_threads_waiting_for_refresh(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn decrease_threads_waiting_for_refresh(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_social_network` is never used [INFO] [stdout] --> src/commons/social_network.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn dispatch_social_network( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_social_network_async` is never used [INFO] [stdout] --> src/commons/social_network.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn dispatch_social_network_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_reddit` is never used [INFO] [stdout] --> src/commons/parsing_tasks.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ParsingTaskParameters { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 39 | pub fn as_reddit(self) -> RedditParsingTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TRANSACTION` should have a snake case name [INFO] [stdout] --> src/client/db/client.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn TRANSACTION(func: F ) -> R [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.32s [INFO] running `Command { std: "docker" "inspect" "c20e12152371ba9f4878811b469311e2cd67cc860ebcd5a7036c3c11d7c4c0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c20e12152371ba9f4878811b469311e2cd67cc860ebcd5a7036c3c11d7c4c0d5", kill_on_drop: false }` [INFO] [stdout] c20e12152371ba9f4878811b469311e2cd67cc860ebcd5a7036c3c11d7c4c0d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e0717206032ee8bb57ec76b6f84df8a22d7b0f42ac4685b38e06fa3bde04d98 [INFO] running `Command { std: "docker" "start" "-a" "4e0717206032ee8bb57ec76b6f84df8a22d7b0f42ac4685b38e06fa3bde04d98", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: env [INFO] [stderr] Compiling mansa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice::Split` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::slice::Split; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{io, env}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::append::console::ConsoleAppender` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use log4rs::append::console::ConsoleAppender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::encode::pattern::PatternEncoder` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use log4rs::encode::pattern::PatternEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> src/client/db/client.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | use mongodb::error::{UNKNOWN_TRANSACTION_COMMIT_RESULT, TRANSIENT_TRANSACTION_ERROR, self}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DATABASE_COLLECTIONS` should have an upper camel case name [INFO] [stdout] --> src/client/db/client.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum DATABASE_COLLECTIONS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DatabaseCollections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PARSING_TASKS` should have an upper camel case name [INFO] [stdout] --> src/client/db/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | PARSING_TASKS [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ParsingTasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/client/db/client.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | .inspect(|v| info!("successfully connects to db")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/db/client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut options = ClientOptions::parse(format!("mongodb://{}:{}@localhost:{}", login, password, port)) [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: value assigned to `commit_result` is never read [INFO] [stdout] --> src/client/db/client.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut commit_result = Ok(()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/client/db/client.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | ... ErrorKind::InvalidArgument { message , .. } => info!("try to insert empty collection in db: {}-{}", database, database_collection), [INFO] [stdout] | ^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `queue_account_referesh` is never read [INFO] [stdout] --> src/client/parser_v2/account_manager/account_pool.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut queue_account_referesh: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/reddit/reddit.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut token = String::from(""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/reddit/reddit.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | ResponseBody::Comments(comments) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reddit/reddit.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let mut comments = comments.unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commons/parsing_tasks.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!("wrong method dispatch") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commons/parsing_tasks.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | _ => panic!("wrong method dispatch") [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let handle = log4rs::init_config(config).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_json_from_file` is never used [INFO] [stdout] --> src/utils/file_reader.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_json_from_file(path: &Path) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClientSessionPtr` is never used [INFO] [stdout] --> src/client/db/client.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ClientSessionPtr = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TRANSACTION` is never used [INFO] [stdout] --> src/client/db/client.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn TRANSACTION(func: F ) -> R [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoLimit` is never constructed [INFO] [stdout] --> src/client/db/tasks_db.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Limit { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 23 | Limit(u64), [INFO] [stdout] 24 | NoLimit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Limit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_hashmap` is never used [INFO] [stdout] --> src/client/db/tasks_db.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl GroupedTasks { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 107 | pub fn to_hashmap(vec: Vec) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tasks_grouped_by_social_network` is never used [INFO] [stdout] --> src/client/db/tasks_db.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn get_tasks_grouped_by_social_network() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_entities` is never used [INFO] [stdout] --> src/client/db/entities_db.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn insert_entities(entities: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client/parser_v2/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ParserThreadCounter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | limit: usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Recovery` is never constructed [INFO] [stdout] --> src/client/parser_v2/task_publisher.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum TaskPublisherMod { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 29 | Recovery, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskPublisherMod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_other_errors`, `decrease_total_number_of_accounts`, `increase_threads_waiting_for_refresh`, and `decrease_threads_waiting_for_refresh` are never used [INFO] [stdout] --> src/client/parser_v2/statistics.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Statistics { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn increase_other_errors(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn decrease_total_number_of_accounts(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn increase_threads_waiting_for_refresh(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn decrease_threads_waiting_for_refresh(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_social_network` is never used [INFO] [stdout] --> src/commons/social_network.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn dispatch_social_network( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_social_network_async` is never used [INFO] [stdout] --> src/commons/social_network.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn dispatch_social_network_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_reddit` is never used [INFO] [stdout] --> src/commons/parsing_tasks.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ParsingTaskParameters { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 39 | pub fn as_reddit(self) -> RedditParsingTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TRANSACTION` should have a snake case name [INFO] [stdout] --> src/client/db/client.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn TRANSACTION(func: F ) -> R [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.34s [INFO] running `Command { std: "docker" "inspect" "4e0717206032ee8bb57ec76b6f84df8a22d7b0f42ac4685b38e06fa3bde04d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0717206032ee8bb57ec76b6f84df8a22d7b0f42ac4685b38e06fa3bde04d98", kill_on_drop: false }` [INFO] [stdout] 4e0717206032ee8bb57ec76b6f84df8a22d7b0f42ac4685b38e06fa3bde04d98