[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] building cachance7/fuzzy5e against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachance7%2Ffuzzy5e" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cachance7/fuzzy5e on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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-4/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" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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 atomicwrites v0.2.5 [INFO] [stderr] Downloaded fail v0.3.0 [INFO] [stderr] Downloaded simplelog v0.7.5 [INFO] [stderr] Downloaded envconfig_derive v0.8.0 [INFO] [stderr] Downloaded owned-read v0.4.1 [INFO] [stderr] Downloaded levenshtein_automata v0.1.1 [INFO] [stderr] Downloaded mongodb v0.9.2 [INFO] [stderr] Downloaded serde_with v1.4.0 [INFO] [stderr] Downloaded err-derive v0.2.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.14 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] [stderr] Downloaded thiserror v1.0.14 [INFO] [stderr] Downloaded envconfig v0.8.0 [INFO] [stderr] Downloaded tantivy-query-grammar v0.12.0 [INFO] [stderr] Downloaded os_info v1.3.3 [INFO] [stderr] Downloaded tantivy v0.12.0 [INFO] [stderr] Downloaded combine v4.1.0 [INFO] [stderr] Downloaded trust-dns-proto v0.19.3 [INFO] [stderr] Downloaded tokio v0.2.16 [INFO] [stderr] Downloaded ordinal v0.2.2 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] [stderr] Downloaded snap v1.0.0 [INFO] [stderr] Downloaded tantivy-fst v0.2.1 [INFO] [stderr] Downloaded serde_with_macros v1.1.0 [INFO] [stderr] Downloaded unicode-linebreak v0.1.0 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfec87d4df7902fdb12548d730787d79c4e5a115d0e8f947e8622c853235af20 [INFO] running `Command { std: "docker" "start" "-a" "dfec87d4df7902fdb12548d730787d79c4e5a115d0e8f947e8622c853235af20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfec87d4df7902fdb12548d730787d79c4e5a115d0e8f947e8622c853235af20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfec87d4df7902fdb12548d730787d79c4e5a115d0e8f947e8622c853235af20", kill_on_drop: false }` [INFO] [stdout] dfec87d4df7902fdb12548d730787d79c4e5a115d0e8f947e8622c853235af20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 612375b4f47c021622b358668d3f7dd15e3ea4be9e40a5c438bb3c6a4cbdebb5 [INFO] running `Command { std: "docker" "start" "-a" "612375b4f47c021622b358668d3f7dd15e3ea4be9e40a5c438bb3c6a4cbdebb5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling owned-read v0.4.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling combine v4.1.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [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 rand v0.4.6 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling bitpacking v0.8.2 [INFO] [stderr] Compiling fst v0.3.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling levenshtein_automata v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [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 term v0.6.1 [INFO] [stderr] Compiling tantivy-fst v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling ordinal v0.2.2 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling tuikit v0.3.2 (https://github.com/cachance7/tuikit#0e06982e) [INFO] [stderr] Compiling tantivy-query-grammar v0.12.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling simplelog v0.7.5 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling derivative v1.0.4 [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 async-trait v0.1.29 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling envconfig_derive v0.8.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling err-derive v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling envconfig v0.8.0 [INFO] [stderr] Compiling pin-project v0.4.16 [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 serde_json v1.0.51 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.3 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling tantivy v0.12.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.3 [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: variants `Control` and `Ingest` are never constructed [INFO] [stdout] --> src/client.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 39 | Search, [INFO] [stdout] 40 | Control, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | Ingest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start`, `Ping` and `Quit` are never constructed [INFO] [stdout] --> src/client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum RequestMessage<'a> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 59 | Start(Mode, &'a str), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/client.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Event { [INFO] [stdout] | ----- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `raw` are never read [INFO] [stdout] --> src/client.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Pending { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 158 | id: String, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `connect` is never used [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 `disconnect` is never used [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 `desc` is never read [INFO] [stdout] --> src/model.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1208 | pub struct Class { [INFO] [stdout] | ----- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/model.rs:1219:5 [INFO] [stdout] | [INFO] [stdout] 1216 | pub struct Monster { [INFO] [stdout] | ------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name` and `desc` are never read [INFO] [stdout] --> src/model.rs:1225:5 [INFO] [stdout] | [INFO] [stdout] 1224 | pub struct Race { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 1225 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 1226 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/model.rs:1235:5 [INFO] [stdout] | [INFO] [stdout] 1232 | pub struct Subclass { [INFO] [stdout] | -------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: variants `ProcessingError`, `ChannelClosedError` and `ThreadError` are never constructed [INFO] [stdout] --> src/worker.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum WorkerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 21 | // ConnectionError, [INFO] [stdout] 22 | ProcessingError(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | ChannelClosedError, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tx`, `r_thread`, `w_thread` and `socket` are never read [INFO] [stdout] --> src/worker.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct InnerWorker { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | tx: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | r_thread: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | w_thread: Option>, [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] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/worker.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TcpStreamWorker { [INFO] [stdout] | --------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `connect` is never used [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 `start_writer` is never used [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 `start_reader` is never used [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 `write` is never used [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 `disconnect` is never used [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 `disconnect` is never used [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "612375b4f47c021622b358668d3f7dd15e3ea4be9e40a5c438bb3c6a4cbdebb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "612375b4f47c021622b358668d3f7dd15e3ea4be9e40a5c438bb3c6a4cbdebb5", kill_on_drop: false }` [INFO] [stdout] 612375b4f47c021622b358668d3f7dd15e3ea4be9e40a5c438bb3c6a4cbdebb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c29a54cc24d26c50374ef34121f7d882803c97c21b49645b6084ffd25729c152 [INFO] running `Command { std: "docker" "start" "-a" "c29a54cc24d26c50374ef34121f7d882803c97c21b49645b6084ffd25729c152", 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: variants `Control` and `Ingest` are never constructed [INFO] [stdout] --> src/client.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 39 | Search, [INFO] [stdout] 40 | Control, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | Ingest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start`, `Ping` and `Quit` are never constructed [INFO] [stdout] --> src/client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum RequestMessage<'a> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 59 | Start(Mode, &'a str), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/client.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Event { [INFO] [stdout] | ----- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `raw` are never read [INFO] [stdout] --> src/client.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Pending { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 158 | id: String, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `connect` is never used [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 `disconnect` is never used [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 `desc` is never read [INFO] [stdout] --> src/model.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1208 | pub struct Class { [INFO] [stdout] | ----- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/model.rs:1219:5 [INFO] [stdout] | [INFO] [stdout] 1216 | pub struct Monster { [INFO] [stdout] | ------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name` and `desc` are never read [INFO] [stdout] --> src/model.rs:1225:5 [INFO] [stdout] | [INFO] [stdout] 1224 | pub struct Race { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 1225 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 1226 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/model.rs:1235:5 [INFO] [stdout] | [INFO] [stdout] 1232 | pub struct Subclass { [INFO] [stdout] | -------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: variants `ProcessingError`, `ChannelClosedError` and `ThreadError` are never constructed [INFO] [stdout] --> src/worker.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum WorkerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 21 | // ConnectionError, [INFO] [stdout] 22 | ProcessingError(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | ChannelClosedError, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tx`, `r_thread`, `w_thread` and `socket` are never read [INFO] [stdout] --> src/worker.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct InnerWorker { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | tx: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | r_thread: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | w_thread: Option>, [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] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/worker.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TcpStreamWorker { [INFO] [stdout] | --------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `connect` is never used [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 `start_writer` is never used [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 `start_reader` is never used [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 `write` is never used [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 `disconnect` is never used [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 `disconnect` is never used [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "c29a54cc24d26c50374ef34121f7d882803c97c21b49645b6084ffd25729c152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29a54cc24d26c50374ef34121f7d882803c97c21b49645b6084ffd25729c152", kill_on_drop: false }` [INFO] [stdout] c29a54cc24d26c50374ef34121f7d882803c97c21b49645b6084ffd25729c152