[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] checking cachance7/fuzzy5e/f0cee7ebdce94d6b174a2f5f3c91dc60bf169df8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachance7%2Ffuzzy5e" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cachance7/fuzzy5e on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83d55a59c1ae4073a9227cb4c4c6740bc978d49ca176a8cc6e5f93826fc5d199 [INFO] running `Command { std: "docker" "start" "-a" "83d55a59c1ae4073a9227cb4c4c6740bc978d49ca176a8cc6e5f93826fc5d199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83d55a59c1ae4073a9227cb4c4c6740bc978d49ca176a8cc6e5f93826fc5d199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83d55a59c1ae4073a9227cb4c4c6740bc978d49ca176a8cc6e5f93826fc5d199", kill_on_drop: false }` [INFO] [stdout] 83d55a59c1ae4073a9227cb4c4c6740bc978d49ca176a8cc6e5f93826fc5d199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88264687fb2962ef4f817be549f301050d9577f38360390ff863a06e97874d4a [INFO] running `Command { std: "docker" "start" "-a" "88264687fb2962ef4f817be549f301050d9577f38360390ff863a06e97874d4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking 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 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] Checking rand_core v0.4.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking tokio v0.2.16 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fst v0.3.5 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking levenshtein_automata v0.1.1 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [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 err-derive v0.2.3 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Checking thiserror v1.0.14 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking combine v4.1.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.0 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking tantivy-fst v0.2.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.19.3 [INFO] [stderr] Checking fail v0.3.0 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Checking bitpacking v0.8.2 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking owned-read v0.4.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking murmurhash32 v0.2.0 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking census v0.4.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking trust-dns-resolver v0.19.3 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking envconfig v0.8.0 [INFO] [stderr] Checking simplelog v0.7.5 [INFO] [stderr] Checking tuikit v0.3.2 (https://github.com/cachance7/tuikit#0e06982e) [INFO] [stderr] Compiling envconfig_derive v0.8.0 [INFO] [stderr] Checking ordinal v0.2.2 [INFO] [stderr] Checking tantivy-query-grammar v0.12.0 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking serde_with v1.4.0 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking bson v0.14.1 [INFO] [stderr] Checking mongodb v0.9.2 [INFO] [stderr] Checking tantivy v0.12.0 [INFO] [stderr] Checking 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 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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: 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: 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 `0` is never read [INFO] [stdout] --> src/client.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Pending(Pending), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 85 | Pending(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `kind`, and `raw` are never read [INFO] [stdout] --> src/client.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 150 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 151 | pub kind: EventKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | pub data: Vec, [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: fields `addr`, `password`, `mode`, and `ping_interval` are never read [INFO] [stdout] --> src/client.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct ClientOptions<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 224 | pub addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | pub password: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 226 | pub mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 227 | pub ping_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect` and `disconnect` are never used [INFO] [stdout] --> src/client.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 242 | pub fn connect(options: ClientOptions) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn disconnect(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_ids` is never used [INFO] [stdout] --> src/index.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Indexer : Clone { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn query_ids(&self, col: &str, query: &str) -> Result, IndexError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `search` is never used [INFO] [stdout] --> src/model.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait ModelQuery { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 116 | fn search(d: &DB, qs: &str) -> Result>> { [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: struct `InnerWorker` is never constructed [INFO] [stdout] --> src/worker.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct InnerWorker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpStreamWorker` is never constructed [INFO] [stdout] --> src/worker.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TcpStreamWorker { [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 items `connect`, `start_writer`, `start_reader`, `write`, and `disconnect` are never used [INFO] [stdout] --> src/worker.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl TcpStreamWorker { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 50 | pub fn connect(addr: SocketAddr, results: Sender) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn start_writer(socket: TcpStream, rx: Receiver) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn start_reader(socket: TcpStream, out: Sender) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn write(&self, msg: &str) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/worker.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl InnerWorker { [INFO] [stdout] | ---------------- method in this implementation [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: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn send(&self, m: impl Message) -> Result, Box> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Ok({ [INFO] [stdout] | ____________^ [INFO] [stdout] 389 | | let inner = self.inner.lock().unwrap(); [INFO] [stdout] 390 | | let res: String = inner.results_rx.recv()?; [INFO] [stdout] 391 | | Box::new(ResponseMessage::from(res)) [INFO] [stdout] 392 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | let client_options = ClientOptions::parse(&url)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let client = Client::with_options(client_options)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(DB { client }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 123 | fn find(d: &DB, query: bson::Document) -> Result>> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let res = d [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Ok(res [INFO] [stdout] | ____________^ [INFO] [stdout] 133 | | .iter() [INFO] [stdout] 134 | | .map(|d: &Document| Box::new(Self::Item::from(d.clone()))) [INFO] [stdout] 135 | | .collect()) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn find(d: &DB, query: bson::Document) -> Result>> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | / db.collection(&Self::Item::collection()) [INFO] [stdout] 127 | | .find(query, FindOptions::builder().build()) [INFO] [stdout] 128 | | .unwrap() [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:134:42 [INFO] [stdout] | [INFO] [stdout] 134 | .map(|d: &Document| Box::new(Self::Item::from(d.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 144 | fn index_all(s: impl Indexer, db: &DB) -> std::result::Result<(), IndexError> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | s.index_bulk(Self::all(db).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:446:39 [INFO] [stdout] | [INFO] [stdout] 446 | .map(|s| Box::new(Model::Spell(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:453:39 [INFO] [stdout] | [INFO] [stdout] 453 | .map(|s| Box::new(Model::Monster(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:460:39 [INFO] [stdout] | [INFO] [stdout] 460 | .map(|s| Box::new(Model::Class(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:467:39 [INFO] [stdout] | [INFO] [stdout] 467 | .map(|s| Box::new(Model::Condition(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:474:39 [INFO] [stdout] | [INFO] [stdout] 474 | .map(|s| Box::new(Model::MagicSchool(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | .map(|s| Box::new(Model::Equipment(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:488:39 [INFO] [stdout] | [INFO] [stdout] 488 | .map(|s| Box::new(Model::Feature(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 493 | let _ = s.index_bulk(f(database)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:543:37 [INFO] [stdout] | [INFO] [stdout] 537 | fn from(d: Document) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | .unwrap_or(&Vec::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1594 | impl_From!(for Spell, Monster, Condition, Class, Subclass, Race, Feature); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_From` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn connect(addr: SocketAddr, results: Sender) -> Result> { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let socket = TcpStream::connect(addr)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(TcpStreamWorker { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | inner: Arc::new(Mutex::new(InnerWorker { [INFO] [stdout] 57 | | tx: Some(tx), [INFO] [stdout] 58 | | w_thread: Some(TcpStreamWorker::start_writer(socket.try_clone()?, rx)), [INFO] [stdout] ... | [INFO] [stdout] 61 | | })), [INFO] [stdout] 62 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 66 | fn start_writer(socket: TcpStream, rx: Receiver) -> JoinHandle<()> { [INFO] [stdout] | ----------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut writer = BufWriter::new(socket); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | spawn(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 69 | | // Start an event loop. [INFO] [stdout] 70 | | trace!("[tcpstream-send] event_loop start"); [INFO] [stdout] 71 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 86 | | trace!("[tcpstream-send] event_loop end"); [INFO] [stdout] 87 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 91 | fn start_reader(socket: TcpStream, out: Sender) -> JoinHandle<()> { [INFO] [stdout] | ----------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let mut reader = BufReader::new(socket); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | spawn(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 94 | | trace!("[tcpstream-recv] event_loop start"); [INFO] [stdout] 95 | | loop { [INFO] [stdout] 96 | | let mut buf = String::default(); [INFO] [stdout] ... | [INFO] [stdout] 117 | | trace!("[tcpstream-recv] event_loop end"); [INFO] [stdout] 118 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tantivy.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 106 | let searcher = self.reader.searcher(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | match self.qp.parse_query(qs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: aborting due to 18 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fuzzy5e` (bin "fuzzy5e" test) due to 19 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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 `0` is never read [INFO] [stdout] --> src/client.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Pending(Pending), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 85 | Pending(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `kind`, and `raw` are never read [INFO] [stdout] --> src/client.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 150 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 151 | pub kind: EventKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | pub data: Vec, [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: fields `addr`, `password`, `mode`, and `ping_interval` are never read [INFO] [stdout] --> src/client.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct ClientOptions<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 224 | pub addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | pub password: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 226 | pub mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 227 | pub ping_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect` and `disconnect` are never used [INFO] [stdout] --> src/client.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 242 | pub fn connect(options: ClientOptions) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn disconnect(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_ids` is never used [INFO] [stdout] --> src/index.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Indexer : Clone { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn query_ids(&self, col: &str, query: &str) -> Result, IndexError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `search` is never used [INFO] [stdout] --> src/model.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait ModelQuery { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 116 | fn search(d: &DB, qs: &str) -> Result>> { [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: struct `InnerWorker` is never constructed [INFO] [stdout] --> src/worker.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct InnerWorker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpStreamWorker` is never constructed [INFO] [stdout] --> src/worker.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TcpStreamWorker { [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 items `connect`, `start_writer`, `start_reader`, `write`, and `disconnect` are never used [INFO] [stdout] --> src/worker.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl TcpStreamWorker { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 50 | pub fn connect(addr: SocketAddr, results: Sender) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn start_writer(socket: TcpStream, rx: Receiver) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn start_reader(socket: TcpStream, out: Sender) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn write(&self, msg: &str) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn disconnect(&mut self) -> Result<(), WorkerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/worker.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl InnerWorker { [INFO] [stdout] | ---------------- method in this implementation [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: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn send(&self, m: impl Message) -> Result, Box> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Ok({ [INFO] [stdout] | ____________^ [INFO] [stdout] 389 | | let inner = self.inner.lock().unwrap(); [INFO] [stdout] 390 | | let res: String = inner.results_rx.recv()?; [INFO] [stdout] 391 | | Box::new(ResponseMessage::from(res)) [INFO] [stdout] 392 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | let client_options = ClientOptions::parse(&url)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let client = Client::with_options(client_options)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(DB { client }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 123 | fn find(d: &DB, query: bson::Document) -> Result>> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let res = d [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Ok(res [INFO] [stdout] | ____________^ [INFO] [stdout] 133 | | .iter() [INFO] [stdout] 134 | | .map(|d: &Document| Box::new(Self::Item::from(d.clone()))) [INFO] [stdout] 135 | | .collect()) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn find(d: &DB, query: bson::Document) -> Result>> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | / db.collection(&Self::Item::collection()) [INFO] [stdout] 127 | | .find(query, FindOptions::builder().build()) [INFO] [stdout] 128 | | .unwrap() [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:134:42 [INFO] [stdout] | [INFO] [stdout] 134 | .map(|d: &Document| Box::new(Self::Item::from(d.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 144 | fn index_all(s: impl Indexer, db: &DB) -> std::result::Result<(), IndexError> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | s.index_bulk(Self::all(db).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:446:39 [INFO] [stdout] | [INFO] [stdout] 446 | .map(|s| Box::new(Model::Spell(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:453:39 [INFO] [stdout] | [INFO] [stdout] 453 | .map(|s| Box::new(Model::Monster(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:460:39 [INFO] [stdout] | [INFO] [stdout] 460 | .map(|s| Box::new(Model::Class(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:467:39 [INFO] [stdout] | [INFO] [stdout] 467 | .map(|s| Box::new(Model::Condition(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:474:39 [INFO] [stdout] | [INFO] [stdout] 474 | .map(|s| Box::new(Model::MagicSchool(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | .map(|s| Box::new(Model::Equipment(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:488:39 [INFO] [stdout] | [INFO] [stdout] 488 | .map(|s| Box::new(Model::Feature(*s.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 493 | let _ = s.index_bulk(f(database)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/model.rs:543:37 [INFO] [stdout] | [INFO] [stdout] 537 | fn from(d: Document) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | .unwrap_or(&Vec::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1594 | impl_From!(for Spell, Monster, Condition, Class, Subclass, Race, Feature); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_From` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn connect(addr: SocketAddr, results: Sender) -> Result> { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let socket = TcpStream::connect(addr)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(TcpStreamWorker { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | inner: Arc::new(Mutex::new(InnerWorker { [INFO] [stdout] 57 | | tx: Some(tx), [INFO] [stdout] 58 | | w_thread: Some(TcpStreamWorker::start_writer(socket.try_clone()?, rx)), [INFO] [stdout] ... | [INFO] [stdout] 61 | | })), [INFO] [stdout] 62 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 66 | fn start_writer(socket: TcpStream, rx: Receiver) -> JoinHandle<()> { [INFO] [stdout] | ----------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut writer = BufWriter::new(socket); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | spawn(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 69 | | // Start an event loop. [INFO] [stdout] 70 | | trace!("[tcpstream-send] event_loop start"); [INFO] [stdout] 71 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 86 | | trace!("[tcpstream-send] event_loop end"); [INFO] [stdout] 87 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/worker.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 91 | fn start_reader(socket: TcpStream, out: Sender) -> JoinHandle<()> { [INFO] [stdout] | ----------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let mut reader = BufReader::new(socket); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | spawn(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 94 | | trace!("[tcpstream-recv] event_loop start"); [INFO] [stdout] 95 | | loop { [INFO] [stdout] 96 | | let mut buf = String::default(); [INFO] [stdout] ... | [INFO] [stdout] 117 | | trace!("[tcpstream-recv] event_loop end"); [INFO] [stdout] 118 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tantivy.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 106 | let searcher = self.reader.searcher(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | match self.qp.parse_query(qs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fuzzy5e` (bin "fuzzy5e") due to 19 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88264687fb2962ef4f817be549f301050d9577f38360390ff863a06e97874d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88264687fb2962ef4f817be549f301050d9577f38360390ff863a06e97874d4a", kill_on_drop: false }` [INFO] [stdout] 88264687fb2962ef4f817be549f301050d9577f38360390ff863a06e97874d4a