[INFO] cloning repository https://github.com/iafisher/popquiz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iafisher/popquiz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d45b6a26b954c28b7e1acc7e6e677eff00dc868 [INFO] checking iafisher/popquiz against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz" "/workspace/builds/worker-75/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iafisher/popquiz on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iafisher/popquiz [INFO] finished tweaking git repo https://github.com/iafisher/popquiz [INFO] tweaked toml for git repo https://github.com/iafisher/popquiz written to /workspace/builds/worker-75/source/Cargo.toml [INFO] crate git repo https://github.com/iafisher/popquiz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.13.1 [INFO] [stderr] Downloaded rustyline v4.1.0 [INFO] [stderr] Downloaded termimage v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bd2ab1cece6fbabbb90d4ae6d95c16820e32f6da0888b8d9c69162c56aedcfb [INFO] running `Command { std: "docker" "start" "-a" "5bd2ab1cece6fbabbb90d4ae6d95c16820e32f6da0888b8d9c69162c56aedcfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bd2ab1cece6fbabbb90d4ae6d95c16820e32f6da0888b8d9c69162c56aedcfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd2ab1cece6fbabbb90d4ae6d95c16820e32f6da0888b8d9c69162c56aedcfb", kill_on_drop: false }` [INFO] [stdout] 5bd2ab1cece6fbabbb90d4ae6d95c16820e32f6da0888b8d9c69162c56aedcfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e5df0ebf152a423233e0759d886e9749da487582d28dbd7e4ef8607bde2cb5d [INFO] running `Command { std: "docker" "start" "-a" "7e5df0ebf152a423233e0759d886e9749da487582d28dbd7e4ef8607bde2cb5d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.65: extra_traits [INFO] [stderr] syn v0.15.35 (as host dependency): extra-traits [INFO] [stderr] winapi v0.3.7: errhandlingapi, handleapi, knownfolders, minwinbase, ntdef, ntsecapi, objbase, profileapi, shlobj, std, sysinfoapi, timezoneapi, winerror [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking rusqlite v0.25.3 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking rustyline v4.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking termimage v1.1.0 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking drill v1.0.0 (/tmp/fixit) [INFO] [stderr] Migrating tests/e2e_tests.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed tests/e2e_tests.rs (3 fixes) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Fixed src/persistence2.rs (2 fixes) [INFO] [stderr] Fixed src/repetition2.rs (3 fixes) [INFO] [stdout] warning: function is never used: `load_quiz` [INFO] [stdout] --> src/persistence2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn load_quiz(_fullname: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShortAnswer` [INFO] [stdout] --> src/quiz2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ShortAnswer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ordered` [INFO] [stdout] --> src/quiz2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Ordered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unordered` [INFO] [stdout] --> src/quiz2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Unordered, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultipleChoice` [INFO] [stdout] --> src/quiz2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | MultipleChoice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flashcard` [INFO] [stdout] --> src/quiz2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Flashcard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take` [INFO] [stdout] --> src/quiz2.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask` [INFO] [stdout] --> src/quiz2.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn ask(&self, ui: &mut CmdUI) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresult` [INFO] [stdout] --> src/quiz2.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresultlist` [INFO] [stdout] --> src/quiz2.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_one` [INFO] [stdout] --> src/quiz2.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec, guess: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check` [INFO] [stdout] --> src/quiz2.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn check(ans: &Answer2, guess: &str) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normalize` [INFO] [stdout] --> src/quiz2.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn normalize(guess: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUCKET_ALLOCATION` [INFO] [stdout] --> src/repetition2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UP_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const UP_THRESHOLD: u64 = 900; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DOWN_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const DOWN_THRESHOLD: u64 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `choose_questions` [INFO] [stdout] --> src/repetition2.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn choose_questions<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CmdUI` [INFO] [stdout] --> src/ui2.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CmdUI { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ui2.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/ui2.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/ui2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prompt` [INFO] [stdout] --> src/ui2.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn prompt(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `incorrect` [INFO] [stdout] --> src/ui2.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `correct` [INFO] [stdout] --> src/ui2.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn correct(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/ui2.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn status(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/ui2.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn score(&mut self, score: u64) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `missed` [INFO] [stdout] --> src/ui2.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `choices` [INFO] [stdout] --> src/ui2.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instructions` [INFO] [stdout] --> src/ui2.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn instructions(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `results` [INFO] [stdout] --> src/ui2.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn results(&mut self, results: &QuizResult2) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `launch_editor` [INFO] [stdout] --> src/ui2.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn launch_editor(&mut self, location: &Location) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_v2` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn main_v2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_results_v2` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn main_results_v2(_options: &common::ResultsOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_take_v2` [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn main_take_v2(options: &common::TakeOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_quiz` [INFO] [stdout] --> src/persistence2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn load_quiz(_fullname: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShortAnswer` [INFO] [stdout] --> src/quiz2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ShortAnswer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ordered` [INFO] [stdout] --> src/quiz2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Ordered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unordered` [INFO] [stdout] --> src/quiz2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Unordered, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultipleChoice` [INFO] [stdout] --> src/quiz2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | MultipleChoice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flashcard` [INFO] [stdout] --> src/quiz2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Flashcard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take` [INFO] [stdout] --> src/quiz2.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask` [INFO] [stdout] --> src/quiz2.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn ask(&self, ui: &mut CmdUI) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresult` [INFO] [stdout] --> src/quiz2.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresultlist` [INFO] [stdout] --> src/quiz2.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_one` [INFO] [stdout] --> src/quiz2.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec, guess: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check` [INFO] [stdout] --> src/quiz2.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn check(ans: &Answer2, guess: &str) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normalize` [INFO] [stdout] --> src/quiz2.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn normalize(guess: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUCKET_ALLOCATION` [INFO] [stdout] --> src/repetition2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UP_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const UP_THRESHOLD: u64 = 900; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DOWN_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const DOWN_THRESHOLD: u64 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `choose_questions` [INFO] [stdout] --> src/repetition2.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn choose_questions<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CmdUI` [INFO] [stdout] --> src/ui2.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CmdUI { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ui2.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/ui2.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/ui2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prompt` [INFO] [stdout] --> src/ui2.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn prompt(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `incorrect` [INFO] [stdout] --> src/ui2.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `correct` [INFO] [stdout] --> src/ui2.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn correct(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/ui2.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn status(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/ui2.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn score(&mut self, score: u64) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `missed` [INFO] [stdout] --> src/ui2.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `choices` [INFO] [stdout] --> src/ui2.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instructions` [INFO] [stdout] --> src/ui2.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn instructions(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `results` [INFO] [stdout] --> src/ui2.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn results(&mut self, results: &QuizResult2) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `launch_editor` [INFO] [stdout] --> src/ui2.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn launch_editor(&mut self, location: &Location) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_v2` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn main_v2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_results_v2` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn main_results_v2(_options: &common::ResultsOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_take_v2` [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn main_take_v2(options: &common::TakeOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.17s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking drill v1.0.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `load_quiz` [INFO] [stdout] --> src/persistence2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn load_quiz(_fullname: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShortAnswer` [INFO] [stdout] --> src/quiz2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ShortAnswer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ordered` [INFO] [stdout] --> src/quiz2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Ordered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unordered` [INFO] [stdout] --> src/quiz2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Unordered, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultipleChoice` [INFO] [stdout] --> src/quiz2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | MultipleChoice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flashcard` [INFO] [stdout] --> src/quiz2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Flashcard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take` [INFO] [stdout] --> src/quiz2.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask` [INFO] [stdout] --> src/quiz2.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn ask(&self, ui: &mut CmdUI) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresult` [INFO] [stdout] --> src/quiz2.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresultlist` [INFO] [stdout] --> src/quiz2.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_one` [INFO] [stdout] --> src/quiz2.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec, guess: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check` [INFO] [stdout] --> src/quiz2.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn check(ans: &Answer2, guess: &str) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normalize` [INFO] [stdout] --> src/quiz2.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn normalize(guess: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUCKET_ALLOCATION` [INFO] [stdout] --> src/repetition2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UP_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const UP_THRESHOLD: u64 = 900; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DOWN_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const DOWN_THRESHOLD: u64 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `choose_questions` [INFO] [stdout] --> src/repetition2.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn choose_questions<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CmdUI` [INFO] [stdout] --> src/ui2.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CmdUI { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ui2.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/ui2.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/ui2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prompt` [INFO] [stdout] --> src/ui2.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn prompt(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `incorrect` [INFO] [stdout] --> src/ui2.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `correct` [INFO] [stdout] --> src/ui2.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn correct(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/ui2.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn status(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/ui2.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn score(&mut self, score: u64) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `missed` [INFO] [stdout] --> src/ui2.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `choices` [INFO] [stdout] --> src/ui2.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instructions` [INFO] [stdout] --> src/ui2.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn instructions(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `results` [INFO] [stdout] --> src/ui2.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn results(&mut self, results: &QuizResult2) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `launch_editor` [INFO] [stdout] --> src/ui2.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn launch_editor(&mut self, location: &Location) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_v2` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn main_v2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_results_v2` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn main_results_v2(_options: &common::ResultsOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_take_v2` [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn main_take_v2(options: &common::TakeOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_quiz` [INFO] [stdout] --> src/persistence2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn load_quiz(_fullname: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShortAnswer` [INFO] [stdout] --> src/quiz2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ShortAnswer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ordered` [INFO] [stdout] --> src/quiz2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Ordered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unordered` [INFO] [stdout] --> src/quiz2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Unordered, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultipleChoice` [INFO] [stdout] --> src/quiz2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | MultipleChoice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flashcard` [INFO] [stdout] --> src/quiz2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Flashcard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take` [INFO] [stdout] --> src/quiz2.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ask` [INFO] [stdout] --> src/quiz2.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn ask(&self, ui: &mut CmdUI) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresult` [INFO] [stdout] --> src/quiz2.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkresultlist` [INFO] [stdout] --> src/quiz2.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec, score: u64) -> QuestionResult2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_one` [INFO] [stdout] --> src/quiz2.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec, guess: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check` [INFO] [stdout] --> src/quiz2.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn check(ans: &Answer2, guess: &str) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normalize` [INFO] [stdout] --> src/quiz2.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn normalize(guess: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUCKET_ALLOCATION` [INFO] [stdout] --> src/repetition2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UP_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const UP_THRESHOLD: u64 = 900; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DOWN_THRESHOLD` [INFO] [stdout] --> src/repetition2.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const DOWN_THRESHOLD: u64 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `choose_questions` [INFO] [stdout] --> src/repetition2.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn choose_questions<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CmdUI` [INFO] [stdout] --> src/ui2.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CmdUI { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ui2.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/ui2.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/ui2.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prompt` [INFO] [stdout] --> src/ui2.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn prompt(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `incorrect` [INFO] [stdout] --> src/ui2.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `correct` [INFO] [stdout] --> src/ui2.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn correct(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/ui2.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn status(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/ui2.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn score(&mut self, score: u64) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `missed` [INFO] [stdout] --> src/ui2.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `choices` [INFO] [stdout] --> src/ui2.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instructions` [INFO] [stdout] --> src/ui2.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn instructions(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `results` [INFO] [stdout] --> src/ui2.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn results(&mut self, results: &QuizResult2) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `launch_editor` [INFO] [stdout] --> src/ui2.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn launch_editor(&mut self, location: &Location) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_v2` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn main_v2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_results_v2` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn main_results_v2(_options: &common::ResultsOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_take_v2` [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn main_take_v2(options: &common::TakeOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.51s [INFO] running `Command { std: "docker" "inspect" "7e5df0ebf152a423233e0759d886e9749da487582d28dbd7e4ef8607bde2cb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5df0ebf152a423233e0759d886e9749da487582d28dbd7e4ef8607bde2cb5d", kill_on_drop: false }` [INFO] [stdout] 7e5df0ebf152a423233e0759d886e9749da487582d28dbd7e4ef8607bde2cb5d