[INFO] cloning repository https://github.com/sammdot/rtfcre [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sammdot/rtfcre" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammdot%2Frtfcre", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammdot%2Frtfcre'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12464efb3a70b1be9795b977fdd47c93fdce169d [INFO] checking sammdot/rtfcre against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammdot%2Frtfcre" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sammdot/rtfcre on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/sammdot/rtfcre [INFO] finished tweaking git repo https://github.com/sammdot/rtfcre [INFO] tweaked toml for git repo https://github.com/sammdot/rtfcre written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sammdot/rtfcre 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Gelbpunkt/rust-lexical` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.17 [INFO] [stderr] Downloaded pyo3cls v0.12.4 [INFO] [stderr] Downloaded pyo3-file v0.3.3 [INFO] [stderr] Downloaded tap v1.0.0 [INFO] [stderr] Downloaded pyo3-derive-backend v0.12.4 [INFO] [stderr] Downloaded pyo3 v0.12.4 [INFO] [stderr] Downloaded nom v6.0.1 [INFO] [stderr] Downloaded bitvec v0.19.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04d0de5dd36462f4995e55a3786fe2709e9aa5eedb0be0da2d94331a0b516330 [INFO] running `Command { std: "docker" "start" "-a" "04d0de5dd36462f4995e55a3786fe2709e9aa5eedb0be0da2d94331a0b516330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04d0de5dd36462f4995e55a3786fe2709e9aa5eedb0be0da2d94331a0b516330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04d0de5dd36462f4995e55a3786fe2709e9aa5eedb0be0da2d94331a0b516330", kill_on_drop: false }` [INFO] [stdout] 04d0de5dd36462f4995e55a3786fe2709e9aa5eedb0be0da2d94331a0b516330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65c8c36474d1456e52a5ed23ae59844ce5afa491774241188ce2d61cb480937c [INFO] running `Command { std: "docker" "start" "-a" "65c8c36474d1456e52a5ed23ae59844ce5afa491774241188ce2d61cb480937c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling lexical-core v0.7.4 (https://github.com/Gelbpunkt/rust-lexical?branch=fix-warnings-and-update-deps#601c9bfe) [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling pyo3-file v0.3.3 [INFO] [stderr] Checking rtfcre v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/dict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/dict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/dict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/dict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/bench.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, sink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/dict.rs:190:47 [INFO] [stdout] | [INFO] [stdout] 190 | $dict.remove_entry(String::from($outline)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bench.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | b.iter(|| remove_entry!(d, "RTF/RTF")); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `remove_entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/dict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/dict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/dict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/dict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/dict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/dict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/dict.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | &entry.write(writer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = &entry.write(writer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RtfWriteError` is never constructed [INFO] [stdout] --> src/main.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 94 | enum RtfCreError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | RtfWriteError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `comment`, `add_comment`, and `remove_comment` are never used [INFO] [stdout] --> src/dict.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn comment(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_comment(&mut self, comment: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn remove_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_entry`, `contains_key`, `lookup`, `rev_lookup`, `entry`, and `entry_mut` are never used [INFO] [stdout] --> src/dict.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 74 | impl Dictionary { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn remove_entry(&mut self, steno: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn contains_key(&self, steno: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn lookup(&self, steno: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn rev_lookup(&self, translation: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn entry(&self, steno: &str) -> Option<&Entry> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn entry_mut(&mut self, steno: &str) -> Option<&mut Entry> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_rtf` is never used [INFO] [stdout] --> src/rtf.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn parse_rtf(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/dict.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | &entry.write(writer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = &entry.write(writer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `comment`, `add_comment`, and `remove_comment` are never used [INFO] [stdout] --> src/dict.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn comment(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_comment(&mut self, comment: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn remove_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_key`, `entry`, and `entry_mut` are never used [INFO] [stdout] --> src/dict.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 74 | impl Dictionary { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn contains_key(&self, steno: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn entry(&self, steno: &str) -> Option<&Entry> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn entry_mut(&mut self, steno: &str) -> Option<&mut Entry> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/dict.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | &entry.write(writer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = &entry.write(writer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RtfWriteError` is never constructed [INFO] [stdout] --> src/main.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 94 | enum RtfCreError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | RtfWriteError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `comment`, `add_comment`, and `remove_comment` are never used [INFO] [stdout] --> src/dict.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn comment(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_comment(&mut self, comment: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn remove_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_entry`, `contains_key`, `lookup`, `rev_lookup`, `entry`, and `entry_mut` are never used [INFO] [stdout] --> src/dict.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 74 | impl Dictionary { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn remove_entry(&mut self, steno: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn contains_key(&self, steno: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn lookup(&self, steno: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn rev_lookup(&self, translation: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn entry(&self, steno: &str) -> Option<&Entry> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn entry_mut(&mut self, steno: &str) -> Option<&mut Entry> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_rtf` is never used [INFO] [stdout] --> src/rtf.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn parse_rtf(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/dict.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | &entry.write(writer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = &entry.write(writer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/dict.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | &entry.write(writer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = &entry.write(writer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3, nom v6.0.1, pyo3 v0.12.4, pyo3-derive-backend v0.12.4, rtfcre v2.0.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "65c8c36474d1456e52a5ed23ae59844ce5afa491774241188ce2d61cb480937c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c8c36474d1456e52a5ed23ae59844ce5afa491774241188ce2d61cb480937c", kill_on_drop: false }` [INFO] [stdout] 65c8c36474d1456e52a5ed23ae59844ce5afa491774241188ce2d61cb480937c