[INFO] cloning repository https://github.com/cachance7/fuzzy5e [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cachance7/fuzzy5e" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachance7%2Ffuzzy5e", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachance7%2Ffuzzy5e'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0cee7ebdce94d6b174a2f5f3c91dc60bf169df8 [INFO] testing cachance7/fuzzy5e against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachance7%2Ffuzzy5e" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cachance7/fuzzy5e on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cachance7/fuzzy5e [INFO] finished tweaking git repo https://github.com/cachance7/fuzzy5e [INFO] tweaked toml for git repo https://github.com/cachance7/fuzzy5e written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/cachance7/fuzzy5e already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/cachance7/tuikit` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-resolver v0.19.3 [INFO] [stderr] Downloaded os_info v1.3.3 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded fail v0.3.0 [INFO] [stderr] Downloaded tantivy-query-grammar v0.12.0 [INFO] [stderr] Downloaded owned-read v0.4.1 [INFO] [stderr] Downloaded combine v4.1.0 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] [stderr] Downloaded mongodb v0.9.2 [INFO] [stderr] Downloaded trust-dns-proto v0.19.3 [INFO] [stderr] Downloaded tantivy v0.12.0 [INFO] [stderr] Downloaded snap v1.0.0 [INFO] [stderr] Downloaded envconfig v0.8.0 [INFO] [stderr] Downloaded envconfig_derive v0.8.0 [INFO] [stderr] Downloaded tantivy-fst v0.2.1 [INFO] [stderr] Downloaded simplelog v0.7.5 [INFO] [stderr] Downloaded unicode-linebreak v0.1.0 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 749bd78857cd86657d75903c01f099e976f26afa3dc7e138e09454f3bc731886 [INFO] running `Command { std: "docker" "start" "-a" "749bd78857cd86657d75903c01f099e976f26afa3dc7e138e09454f3bc731886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "749bd78857cd86657d75903c01f099e976f26afa3dc7e138e09454f3bc731886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749bd78857cd86657d75903c01f099e976f26afa3dc7e138e09454f3bc731886", kill_on_drop: false }` [INFO] [stdout] 749bd78857cd86657d75903c01f099e976f26afa3dc7e138e09454f3bc731886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f33fe6c29ac28e3c429c0e23c2843732c81ae7df1cd8c6138eb9d7db9a957ba5 [INFO] running `Command { std: "docker" "start" "-a" "f33fe6c29ac28e3c429c0e23c2843732c81ae7df1cd8c6138eb9d7db9a957ba5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling owned-read v0.4.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling fst v0.3.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling combine v4.1.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling levenshtein_automata v0.1.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tantivy-fst v0.2.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling ordinal v0.2.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling tuikit v0.3.2 (https://github.com/cachance7/tuikit#0e06982e) [INFO] [stderr] Compiling simplelog v0.7.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling tantivy-query-grammar v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.29 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling envconfig_derive v0.8.0 [INFO] [stderr] Compiling err-derive v0.2.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling envconfig v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling structopt v0.3.12 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.3 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.3 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling tantivy v0.12.0 [INFO] [stderr] Compiling mongodb v0.9.2 [INFO] [stderr] Compiling fuzzy5e v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/model.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use bson::{doc, oid::ObjectId, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/tantivy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/client.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | fn query(&self, col: &str, query: &str) -> Result)>, IndexError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/client.rs:465:32 [INFO] [stdout] | [INFO] [stdout] 465 | fn query(&self, col: &str, query: &str) -> Result)>, IndexError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/model.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | fn indexed_query(s: impl Indexer, qs: &str) -> Result>> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qs` [INFO] [stdout] --> src/model.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | fn indexed_query(s: impl Indexer, qs: &str) -> Result>> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | row += print_with_title( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1200:13 [INFO] [stdout] | [INFO] [stdout] 1200 | row += draw_actions(canvas, actions, width, row).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1325:9 [INFO] [stdout] | [INFO] [stdout] 1325 | row += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/model.rs:1426:14 [INFO] [stdout] | [INFO] [stdout] 1426 | let (width, _height) = canvas.size()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1516:9 [INFO] [stdout] | [INFO] [stdout] 1516 | row += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1535:9 [INFO] [stdout] | [INFO] [stdout] 1535 | row += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/tantivy.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let t = schema.get_field("mtype").unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/tantivy.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | fn index(&self, idx: Box) -> Result<(), index::IndexError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/tantivy.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | fn flush_all(&self, col: &str) -> Result<(), index::IndexError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Control` [INFO] [stdout] --> src/client.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Control, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ingest` [INFO] [stdout] --> src/client.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Ingest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Start(Mode, &'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/client.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/client.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raw` [INFO] [stdout] --> src/client.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | raw: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/client.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pending` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raw` [INFO] [stdout] --> src/client.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | raw: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pending` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/client.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn connect(options: ClientOptions) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/client.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn disconnect(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Class` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1207:10 [INFO] [stdout] | [INFO] [stdout] 1207 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1219:5 [INFO] [stdout] | [INFO] [stdout] 1219 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Monster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1215:10 [INFO] [stdout] | [INFO] [stdout] 1215 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/model.rs:1225:5 [INFO] [stdout] | [INFO] [stdout] 1225 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1223:10 [INFO] [stdout] | [INFO] [stdout] 1223 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/model.rs:1226:5 [INFO] [stdout] | [INFO] [stdout] 1226 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1223:10 [INFO] [stdout] | [INFO] [stdout] 1223 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1227:5 [INFO] [stdout] | [INFO] [stdout] 1227 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1223:10 [INFO] [stdout] | [INFO] [stdout] 1223 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1235:5 [INFO] [stdout] | [INFO] [stdout] 1235 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subclass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1231:10 [INFO] [stdout] | [INFO] [stdout] 1231 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ProcessingError` [INFO] [stdout] --> src/worker.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ProcessingError(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChannelClosedError` [INFO] [stdout] --> src/worker.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ChannelClosedError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadError` [INFO] [stdout] --> src/worker.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ThreadError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tx` [INFO] [stdout] --> src/worker.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | tx: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `r_thread` [INFO] [stdout] --> src/worker.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | r_thread: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w_thread` [INFO] [stdout] --> src/worker.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | w_thread: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `socket` [INFO] [stdout] --> src/worker.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/worker.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | inner: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStreamWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/worker.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn connect(addr: SocketAddr, results: Sender) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_writer` [INFO] [stdout] --> src/worker.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn start_writer(socket: TcpStream, rx: Receiver) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_reader` [INFO] [stdout] --> src/worker.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn start_reader(socket: TcpStream, out: Sender) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/worker.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&self, msg: &str) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/worker.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/worker.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | s => unreachable!(s), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 187 | s => unreachable!("{}", s), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/model.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | s.index_bulk(f(database)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.54s [INFO] running `Command { std: "docker" "inspect" "f33fe6c29ac28e3c429c0e23c2843732c81ae7df1cd8c6138eb9d7db9a957ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33fe6c29ac28e3c429c0e23c2843732c81ae7df1cd8c6138eb9d7db9a957ba5", kill_on_drop: false }` [INFO] [stdout] f33fe6c29ac28e3c429c0e23c2843732c81ae7df1cd8c6138eb9d7db9a957ba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca7be657f28f7cfa00064333ae832986bffb7c0341120ca99569676eeba83d22 [INFO] running `Command { std: "docker" "start" "-a" "ca7be657f28f7cfa00064333ae832986bffb7c0341120ca99569676eeba83d22", kill_on_drop: false }` [INFO] [stderr] Compiling fuzzy5e v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/model.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use bson::{doc, oid::ObjectId, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/tantivy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/client.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | fn query(&self, col: &str, query: &str) -> Result)>, IndexError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/client.rs:465:32 [INFO] [stdout] | [INFO] [stdout] 465 | fn query(&self, col: &str, query: &str) -> Result)>, IndexError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/model.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | fn indexed_query(s: impl Indexer, qs: &str) -> Result>> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qs` [INFO] [stdout] --> src/model.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | fn indexed_query(s: impl Indexer, qs: &str) -> Result>> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | row += print_with_title( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1200:13 [INFO] [stdout] | [INFO] [stdout] 1200 | row += draw_actions(canvas, actions, width, row).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1325:9 [INFO] [stdout] | [INFO] [stdout] 1325 | row += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/model.rs:1426:14 [INFO] [stdout] | [INFO] [stdout] 1426 | let (width, _height) = canvas.size()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1516:9 [INFO] [stdout] | [INFO] [stdout] 1516 | row += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/model.rs:1535:9 [INFO] [stdout] | [INFO] [stdout] 1535 | row += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/tantivy.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let t = schema.get_field("mtype").unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/tantivy.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | fn index(&self, idx: Box) -> Result<(), index::IndexError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/tantivy.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | fn flush_all(&self, col: &str) -> Result<(), index::IndexError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Control` [INFO] [stdout] --> src/client.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Control, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ingest` [INFO] [stdout] --> src/client.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Ingest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Start(Mode, &'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/client.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/client.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raw` [INFO] [stdout] --> src/client.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | raw: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/client.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pending` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raw` [INFO] [stdout] --> src/client.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | raw: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pending` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/client.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn connect(options: ClientOptions) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/client.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn disconnect(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Class` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1207:10 [INFO] [stdout] | [INFO] [stdout] 1207 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1219:5 [INFO] [stdout] | [INFO] [stdout] 1219 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Monster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1215:10 [INFO] [stdout] | [INFO] [stdout] 1215 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/model.rs:1225:5 [INFO] [stdout] | [INFO] [stdout] 1225 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1223:10 [INFO] [stdout] | [INFO] [stdout] 1223 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/model.rs:1226:5 [INFO] [stdout] | [INFO] [stdout] 1226 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1223:10 [INFO] [stdout] | [INFO] [stdout] 1223 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1227:5 [INFO] [stdout] | [INFO] [stdout] 1227 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1223:10 [INFO] [stdout] | [INFO] [stdout] 1223 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/model.rs:1235:5 [INFO] [stdout] | [INFO] [stdout] 1235 | desc: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subclass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:1231:10 [INFO] [stdout] | [INFO] [stdout] 1231 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ProcessingError` [INFO] [stdout] --> src/worker.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ProcessingError(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChannelClosedError` [INFO] [stdout] --> src/worker.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ChannelClosedError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadError` [INFO] [stdout] --> src/worker.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ThreadError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tx` [INFO] [stdout] --> src/worker.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | tx: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `r_thread` [INFO] [stdout] --> src/worker.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | r_thread: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w_thread` [INFO] [stdout] --> src/worker.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | w_thread: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `socket` [INFO] [stdout] --> src/worker.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/worker.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | inner: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStreamWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/worker.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/worker.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn connect(addr: SocketAddr, results: Sender) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_writer` [INFO] [stdout] --> src/worker.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn start_writer(socket: TcpStream, rx: Receiver) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_reader` [INFO] [stdout] --> src/worker.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn start_reader(socket: TcpStream, out: Sender) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/worker.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&self, msg: &str) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/worker.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/worker.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | s => unreachable!(s), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 187 | s => unreachable!("{}", s), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/model.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | s.index_bulk(f(database)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "ca7be657f28f7cfa00064333ae832986bffb7c0341120ca99569676eeba83d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7be657f28f7cfa00064333ae832986bffb7c0341120ca99569676eeba83d22", kill_on_drop: false }` [INFO] [stdout] ca7be657f28f7cfa00064333ae832986bffb7c0341120ca99569676eeba83d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05521735dc052fbc96a169d7e4979b191102fbf52a9e7e66e1967526618a723f [INFO] running `Command { std: "docker" "start" "-a" "05521735dc052fbc96a169d7e4979b191102fbf52a9e7e66e1967526618a723f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `oid::ObjectId` [INFO] [stderr] --> src/model.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use bson::{doc, oid::ObjectId, Document}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `hex::ToHex` [INFO] [stderr] --> src/tantivy.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use hex::ToHex; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `col` [INFO] [stderr] --> src/client.rs:465:21 [INFO] [stderr] | [INFO] [stderr] 465 | fn query(&self, col: &str, query: &str) -> Result)>, IndexError> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `query` [INFO] [stderr] --> src/client.rs:465:32 [INFO] [stderr] | [INFO] [stderr] 465 | fn query(&self, col: &str, query: &str) -> Result)>, IndexError> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/model.rs:150:22 [INFO] [stderr] | [INFO] [stderr] 150 | fn indexed_query(s: impl Indexer, qs: &str) -> Result>> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `qs` [INFO] [stderr] --> src/model.rs:150:39 [INFO] [stderr] | [INFO] [stderr] 150 | fn indexed_query(s: impl Indexer, qs: &str) -> Result>> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_qs` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `row` is never read [INFO] [stderr] --> src/model.rs:763:13 [INFO] [stderr] | [INFO] [stderr] 763 | row += print_with_title( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `row` is never read [INFO] [stderr] --> src/model.rs:1200:13 [INFO] [stderr] | [INFO] [stderr] 1200 | row += draw_actions(canvas, actions, width, row).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `row` is never read [INFO] [stderr] --> src/model.rs:1325:9 [INFO] [stderr] | [INFO] [stderr] 1325 | row += 1; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/model.rs:1426:14 [INFO] [stderr] | [INFO] [stderr] 1426 | let (width, _height) = canvas.size()?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `row` is never read [INFO] [stderr] --> src/model.rs:1516:9 [INFO] [stderr] | [INFO] [stderr] 1516 | row += 1; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `row` is never read [INFO] [stderr] --> src/model.rs:1535:9 [INFO] [stderr] | [INFO] [stderr] 1535 | row += 1; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/tantivy.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | let t = schema.get_field("mtype").unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/tantivy.rs:167:38 [INFO] [stderr] | [INFO] [stderr] 167 | fn index(&self, idx: Box) -> Result<(), index::IndexError> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `col` [INFO] [stderr] --> src/tantivy.rs:227:25 [INFO] [stderr] | [INFO] [stderr] 227 | fn flush_all(&self, col: &str) -> Result<(), index::IndexError> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Control` [INFO] [stderr] --> src/client.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | Control, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ingest` [INFO] [stderr] --> src/client.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | Ingest, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Start` [INFO] [stderr] --> src/client.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | Start(Mode, &'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ping` [INFO] [stderr] --> src/client.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | Ping, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Quit` [INFO] [stderr] --> src/client.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | Quit, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `raw` [INFO] [stderr] --> src/client.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | raw: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client.rs:148:10 [INFO] [stderr] | [INFO] [stderr] 148 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/client.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pending` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client.rs:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `raw` [INFO] [stderr] --> src/client.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | raw: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pending` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client.rs:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `connect` [INFO] [stderr] --> src/client.rs:242:12 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn connect(options: ClientOptions) -> Result> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `disconnect` [INFO] [stderr] --> src/client.rs:416:12 [INFO] [stderr] | [INFO] [stderr] 416 | pub fn disconnect(&mut self) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `desc` [INFO] [stderr] --> src/model.rs:1211:5 [INFO] [stderr] | [INFO] [stderr] 1211 | desc: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Class` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:1207:10 [INFO] [stderr] | [INFO] [stderr] 1207 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `desc` [INFO] [stderr] --> src/model.rs:1219:5 [INFO] [stderr] | [INFO] [stderr] 1219 | desc: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Monster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:1215:10 [INFO] [stderr] | [INFO] [stderr] 1215 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/model.rs:1225:5 [INFO] [stderr] | [INFO] [stderr] 1225 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:1223:10 [INFO] [stderr] | [INFO] [stderr] 1223 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/model.rs:1226:5 [INFO] [stderr] | [INFO] [stderr] 1226 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:1223:10 [INFO] [stderr] | [INFO] [stderr] 1223 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `desc` [INFO] [stderr] --> src/model.rs:1227:5 [INFO] [stderr] | [INFO] [stderr] 1227 | desc: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Race` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:1223:10 [INFO] [stderr] | [INFO] [stderr] 1223 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `desc` [INFO] [stderr] --> src/model.rs:1235:5 [INFO] [stderr] | [INFO] [stderr] 1235 | desc: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Subclass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:1231:10 [INFO] [stderr] | [INFO] [stderr] 1231 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ProcessingError` [INFO] [stderr] --> src/worker.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | ProcessingError(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ChannelClosedError` [INFO] [stderr] --> src/worker.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | ChannelClosedError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ThreadError` [INFO] [stderr] --> src/worker.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | ThreadError, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WorkerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tx` [INFO] [stderr] --> src/worker.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | tx: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `r_thread` [INFO] [stderr] --> src/worker.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | r_thread: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `w_thread` [INFO] [stderr] --> src/worker.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | w_thread: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `socket` [INFO] [stderr] --> src/worker.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | socket: TcpStream, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InnerWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner` [INFO] [stderr] --> src/worker.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | inner: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TcpStreamWorker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/worker.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `connect` [INFO] [stderr] --> src/worker.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn connect(addr: SocketAddr, results: Sender) -> Result> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `start_writer` [INFO] [stderr] --> src/worker.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | fn start_writer(socket: TcpStream, rx: Receiver) -> JoinHandle<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `start_reader` [INFO] [stderr] --> src/worker.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | fn start_reader(socket: TcpStream, out: Sender) -> JoinHandle<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write` [INFO] [stderr] --> src/worker.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn write(&self, msg: &str) -> Result<(), WorkerError> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `disconnect` [INFO] [stderr] --> src/worker.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `disconnect` [INFO] [stderr] --> src/worker.rs:139:8 [INFO] [stderr] | [INFO] [stderr] 139 | fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/client.rs:187:31 [INFO] [stderr] | [INFO] [stderr] 187 | s => unreachable!(s), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 187 | s => unreachable!("{}", s), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/model.rs:493:13 [INFO] [stderr] | [INFO] [stderr] 493 | s.index_bulk(f(database)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `fuzzy5e` (bin "fuzzy5e" test) generated 47 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fuzzy5e-dd9f8d156d404f1a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05521735dc052fbc96a169d7e4979b191102fbf52a9e7e66e1967526618a723f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05521735dc052fbc96a169d7e4979b191102fbf52a9e7e66e1967526618a723f", kill_on_drop: false }` [INFO] [stdout] 05521735dc052fbc96a169d7e4979b191102fbf52a9e7e66e1967526618a723f