[INFO] cloning repository https://github.com/pastelite/unnamedfo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pastelite/unnamedfo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastelite%2Funnamedfo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastelite%2Funnamedfo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33bbd5daaf8c41279fb628bdf74121d8e7be9ff5 [INFO] checking pastelite/unnamedfo against 1.95.0-beta.7 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastelite%2Funnamedfo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pastelite/unnamedfo [INFO] finished tweaking git repo https://github.com/pastelite/unnamedfo [INFO] tweaked toml for git repo https://github.com/pastelite/unnamedfo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pastelite/unnamedfo on toolchain 1.95.0-beta.7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pastelite/unnamedfo 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" "+1.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68baa91c681ef902e50af7cb5f2994eacd05dc038cdd105a94c7a099371587e0 [INFO] running `Command { std: "docker" "start" "-a" "68baa91c681ef902e50af7cb5f2994eacd05dc038cdd105a94c7a099371587e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68baa91c681ef902e50af7cb5f2994eacd05dc038cdd105a94c7a099371587e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68baa91c681ef902e50af7cb5f2994eacd05dc038cdd105a94c7a099371587e0", kill_on_drop: false }` [INFO] [stdout] 68baa91c681ef902e50af7cb5f2994eacd05dc038cdd105a94c7a099371587e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ed3dfdce68601e409666ebaa9b8f84899bd998b4fa970138d7b9cd302b6ec28 [INFO] running `Command { std: "docker" "start" "-a" "1ed3dfdce68601e409666ebaa9b8f84899bd998b4fa970138d7b9cd302b6ec28", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling polling v2.5.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling async-process v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling concurrent-queue v2.1.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling atomic-waker v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking async-lock v2.6.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Checking blocking v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking async-executor v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking unsafe-libyaml v0.2.5 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Checking clap_lex v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking base64ct v1.5.3 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stderr] Compiling async-recursion v1.0.2 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking clap v4.1.4 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling futures-executor v0.3.26 [INFO] [stderr] Checking async-native-tls v0.4.0 [INFO] [stderr] Checking sqlx-rt v0.6.2 [INFO] [stderr] Checking serde_yaml v0.9.17 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Checking sqlx v0.6.2 [INFO] [stderr] Checking picofo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_std::fs::read_dir` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::IndexDB` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use db::IndexDB; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/config_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter::Peekable` and `str::Chars` [INFO] [stdout] --> src/format.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{iter::Peekable, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/helper.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | if (match_text(&schema_notation, &self.schema_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - if (match_text(&schema_notation, &self.schema_name)) { [INFO] [stdout] 256 + if match_text(&schema_notation, &self.schema_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::max`, `ffi::OsStr`, and `hash::Hash` [INFO] [stdout] --> src/indexer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::max, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] 4 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | fs, [INFO] [stdout] 6 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `flat_map`, `separated_pair`, `space1`, `take_till1`, `take_until1`, and `take_until` [INFO] [stdout] --> src/parser/format.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::{escaped, tag, take_till1, take_until, take_until1, take_while1}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 5 | character::complete::{none_of, one_of, space0, space1}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | combinator::{flat_map, map, opt}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | multi::{many1, separated_list1}, [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, separated_pair, terminated}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, `borrow::BorrowMut`, `hash::Hash`, `rc::Rc`, and `sync::Arc` [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::BorrowMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | mem::replace, [INFO] [stdout] 8 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Captures` [INFO] [stdout] --> src/schema.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use regex::{Captures, Regex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::fs::read_dir` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::IndexDB` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use db::IndexDB; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/config_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter::Peekable` and `str::Chars` [INFO] [stdout] --> src/format.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{iter::Peekable, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/helper.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | if (match_text(&schema_notation, &self.schema_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - if (match_text(&schema_notation, &self.schema_name)) { [INFO] [stdout] 256 + if match_text(&schema_notation, &self.schema_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::max`, `ffi::OsStr`, and `hash::Hash` [INFO] [stdout] --> src/indexer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::max, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] 4 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | fs, [INFO] [stdout] 6 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `flat_map`, `separated_pair`, `space1`, `take_till1`, `take_until1`, and `take_until` [INFO] [stdout] --> src/parser/format.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::{escaped, tag, take_till1, take_until, take_until1, take_while1}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 5 | character::complete::{none_of, one_of, space0, space1}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | combinator::{flat_map, map, opt}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | multi::{many1, separated_list1}, [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, separated_pair, terminated}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, `borrow::BorrowMut`, `hash::Hash`, `rc::Rc`, and `sync::Arc` [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::BorrowMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | mem::replace, [INFO] [stdout] 8 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Captures` [INFO] [stdout] --> src/schema.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use regex::{Captures, Regex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexer::Indexer` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use indexer::Indexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `S` [INFO] [stdout] --> src/schema.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | macro_rules! S { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `collections::HashMap` [INFO] [stdout] --> src/mover.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | fmt::{Debug, Display, Formatter}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mover.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | schema::{self, Schema, SchemaList}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexer::Indexer` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use indexer::Indexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `collections::HashMap` [INFO] [stdout] --> src/mover.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | fmt::{Debug, Display, Formatter}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mover.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | schema::{self, Schema, SchemaList}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `string` [INFO] [stdout] --> src/mover.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | macro_rules! string { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config_reader.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let mut config1: Config = serde_yaml::from_str( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | let mut db = IndexDB::open("./testdir").await.unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/format.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | StringPart::Variable(var) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/format.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | StringPart::Variable(var) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/helper.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let mut helper = FieldHashMapBuilder::new("abc").insert(&data); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/schema.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | _ => return false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/schema.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 89 | (&ConfigDatatype::String(_), _) => (), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 90 | (&ConfigDatatype::Integer(_), s) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 95 | (&ConfigDatatype::Float(_), s) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | (&ConfigDatatype::Tags(_), s) => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 106 | _ => return false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/schema.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | _ => return false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/schema.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 89 | (&ConfigDatatype::String(_), _) => (), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 90 | (&ConfigDatatype::Integer(_), s) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 95 | (&ConfigDatatype::Float(_), s) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | (&ConfigDatatype::Tags(_), s) => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 106 | _ => return false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `re` [INFO] [stdout] --> src/schema.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let re = Regex::new(r"^(\w+)(?:\((\w+)\))?(!)?$").unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_re` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `re` [INFO] [stdout] --> src/schema.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let re = Regex::new(r"^(\w+)(?:\((\w+)\))?(!)?$").unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_re` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mover.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let mut data = data.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mover.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let mut data = data.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> src/main.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | Subcommand::Search { search } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `search: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> src/config_reader.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl SchemaConfigItem { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 125 | fn combine(&self, other: &SchemaConfigItem) -> SchemaConfigItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/db.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ChildItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | pub id: i32, [INFO] [stdout] 21 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `exists`, and `save_schema` are never used [INFO] [stdout] --> src/db.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl IndexDB { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 30 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn exists(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn save_schema(&self, schema: &Schema) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseResult` is never used [INFO] [stdout] --> src/format.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | enum ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/helper.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PathHelper { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 35 | fn to_string(&self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StringHelper` is never used [INFO] [stdout] --> src/helper.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait StringHelper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_format` is never used [INFO] [stdout] --> src/schema.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Schema { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 29 | pub fn to_format(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_format` is never used [INFO] [stdout] --> src/schema.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 62 | pub fn to_format(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/schema.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl ConfigDatatype { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/schema.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 207 | impl SchemaList { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | fn insert(&mut self, schema: Schema) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/search.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> src/main.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | Subcommand::Search { search } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `search: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SchemaError` is never constructed [INFO] [stdout] --> src/error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum FOError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | SchemaError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FOError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/format.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | dbg!(result); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = dbg!(result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/format.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | dbg!(result); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = dbg!(result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/format.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | dbg!(result); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = dbg!(result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/format.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | dbg!(result); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 131 | let _ = dbg!(result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> src/config_reader.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl SchemaConfigItem { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 125 | fn combine(&self, other: &SchemaConfigItem) -> SchemaConfigItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexDB` is never constructed [INFO] [stdout] --> src/db.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IndexDB { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChildItem` is never constructed [INFO] [stdout] --> src/db.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ChildItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ChildrenList` is never used [INFO] [stdout] --> src/db.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type ChildrenList = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl IndexDB { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 30 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn open>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn setup(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn add_file>(&self, path: P, parent: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub async fn add_folder>(&self, path: P, parent: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub async fn delete(&self, id: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub async fn children(&self, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn exists(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn get_path_new(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn save_schema(&self, schema: &Schema) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseResult` is never used [INFO] [stdout] --> src/format.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | enum ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cut_path` is never used [INFO] [stdout] --> src/helper.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn cut_path, Q: AsRef>(full: P, cut: Q) -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PathHelper` is never used [INFO] [stdout] --> src/helper.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PathHelper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StringHelper` is never used [INFO] [stdout] --> src/helper.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait StringHelper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name` and `last_mod` are never used [INFO] [stdout] --> src/helper.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl FileHelper { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn last_mod(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Indexer` is never constructed [INFO] [stdout] --> src/indexer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Indexer<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open` and `indexing` are never used [INFO] [stdout] --> src/indexer.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> Indexer<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn open(db: &'a mut IndexDB) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn indexing + std::marker::Send>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_format` is never used [INFO] [stdout] --> src/schema.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Schema { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 29 | pub fn to_format(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_format` is never used [INFO] [stdout] --> src/schema.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 62 | pub fn to_format(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/schema.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl ConfigDatatype { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_format` and `insert` are never used [INFO] [stdout] --> src/schema.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl SchemaList { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn parse_format(&mut self, name: String, format: &str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | fn insert(&mut self, schema: Schema) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/search.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SchemaError` is never constructed [INFO] [stdout] --> src/error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum FOError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | SchemaError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FOError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45 [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" "1ed3dfdce68601e409666ebaa9b8f84899bd998b4fa970138d7b9cd302b6ec28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed3dfdce68601e409666ebaa9b8f84899bd998b4fa970138d7b9cd302b6ec28", kill_on_drop: false }` [INFO] [stdout] 1ed3dfdce68601e409666ebaa9b8f84899bd998b4fa970138d7b9cd302b6ec28