[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 master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/iafisher/popquiz on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.37
[INFO] [stderr]   Downloaded approx v0.1.1
[INFO] [stderr]   Downloaded pkg-config v0.3.19
[INFO] [stderr]   Downloaded rgb v0.8.13
[INFO] [stderr]   Downloaded colored v1.8.0
[INFO] [stderr]   Downloaded bytemuck v1.7.0
[INFO] [stderr]   Downloaded png v0.16.8
[INFO] [stderr]   Downloaded nix v0.15.0
[INFO] [stderr]   Downloaded unicode-segmentation v1.3.0
[INFO] [stderr]   Downloaded libc v0.2.65
[INFO] [stderr]   Downloaded nix v0.13.1
[INFO] [stderr]   Downloaded rusqlite v0.25.3
[INFO] [stderr]   Downloaded syn v0.15.35
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.22
[INFO] [stderr]   Downloaded image v0.23.14
[INFO] [stderr]   Downloaded vcpkg v0.2.14
[INFO] [stderr]   Downloaded backtrace v0.3.30
[INFO] [stderr]   Downloaded winconsole v0.10.0
[INFO] [stderr]   Downloaded cgmath v0.16.1
[INFO] [stderr]   Downloaded rustyline v4.1.0
[INFO] [stderr]   Downloaded hashlink v0.7.0
[INFO] [stderr]   Downloaded gif v0.11.2
[INFO] [stderr]   Downloaded term_size v0.3.2
[INFO] [stderr]   Downloaded termimage v1.1.0
[INFO] [stderr]   Downloaded num-rational v0.3.2
[INFO] [stderr]   Downloaded weezl v0.1.5
[INFO] [stderr]   Downloaded rustc-demangle v0.1.15
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.0
[INFO] [stderr]   Downloaded redox_users v0.3.0
[INFO] [stderr]   Downloaded utf8parse v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 19dac77517fd2f9fb0ec61819ef9ac86deabef1042560fcfe7dd61094e30fd67
[INFO] running `Command { std: "docker" "start" "-a" "19dac77517fd2f9fb0ec61819ef9ac86deabef1042560fcfe7dd61094e30fd67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19dac77517fd2f9fb0ec61819ef9ac86deabef1042560fcfe7dd61094e30fd67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19dac77517fd2f9fb0ec61819ef9ac86deabef1042560fcfe7dd61094e30fd67", kill_on_drop: false }`
[INFO] [stdout] 19dac77517fd2f9fb0ec61819ef9ac86deabef1042560fcfe7dd61094e30fd67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c57febbaddb7e4be17991f769778647115984570ca2773287b92fd02d5f7841d
[INFO] running `Command { std: "docker" "start" "-a" "c57febbaddb7e4be17991f769778647115984570ca2773287b92fd02d5f7841d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling syn v0.15.35
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking term_size v0.3.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rgb v0.8.13
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.7.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking hashlink v0.7.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]     Checking log v0.4.6
[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]     Checking unicode-segmentation v1.3.0
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking utf8parse v0.1.1
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking winconsole v0.10.0
[INFO] [stderr]     Checking colored v1.8.0
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]     Checking rusqlite v0.25.3
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]    Compiling serde_derive v1.0.92
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking rustyline v4.1.0
[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 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/repetition2.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::common`
[INFO] [stdout]   --> src/repetition2.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use super::common;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QuestionResult2`
[INFO] [stdout]   --> src/repetition2.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 | use super::quiz2::{Question2, QuestionResult2};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/e2e_tests.rs:454:9
[INFO] [stdout]     |
[INFO] [stdout] 454 |         format!("Exit code: {:?}", result.status.code())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 454 -         format!("Exit code: {:?}", result.status.code())
[INFO] [stdout] 454 +         "Exit code: {:?}", result.status.code()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/e2e_tests.rs:605:13
[INFO] [stdout]     |
[INFO] [stdout] 605 | /             format!(
[INFO] [stdout] 606 | |                 "\n\nFailed to match {:?} against pattern {:?}\n\n",
[INFO] [stdout] 607 | |                 got.trim(),
[INFO] [stdout] 608 | |                 expected,
[INFO] [stdout] 609 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 605 ~             
[INFO] [stdout] 606 |                 "\n\nFailed to match {:?} against pattern {:?}\n\n",
[INFO] [stdout] 607 |                 got.trim(),
[INFO] [stdout] 608 |                 expected,
[INFO] [stdout] 609 ~             
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/e2e_tests.rs:614:13
[INFO] [stdout]     |
[INFO] [stdout] 614 | /             format!(
[INFO] [stdout] 615 | |                 "\n\nExpected:\n  {:?}\n\ngot:\n  {:?}\n\n",
[INFO] [stdout] 616 | |                 expected.trim(),
[INFO] [stdout] 617 | |                 got.trim()
[INFO] [stdout] 618 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 614 ~             
[INFO] [stdout] 615 |                 "\n\nExpected:\n  {:?}\n\ngot:\n  {:?}\n\n",
[INFO] [stdout] 616 |                 expected.trim(),
[INFO] [stdout] 617 |                 got.trim()
[INFO] [stdout] 618 ~             ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/repetition2.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::common`
[INFO] [stdout]   --> src/repetition2.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use super::common;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QuestionResult2`
[INFO] [stdout]   --> src/repetition2.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 | use super::quiz2::{Question2, QuestionResult2};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fullname`
[INFO] [stdout]  --> src/persistence2.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fullname`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/persistence2.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut question = questions_map.get_mut(&id).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/main.rs:59:20
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn main_results_v2(options: &common::ResultsOptions) -> Result<()> {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let results = quiz.take(&mut ui, &options)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_v2` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main_v2() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_results_v2` is never used
[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 `main_take_v2` is never used
[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 `load_quiz` is never used
[INFO] [stdout]  --> src/persistence2.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShortAnswer`, `Ordered`, `Unordered`, `MultipleChoice`, and `Flashcard` are never constructed
[INFO] [stdout]   --> src/quiz2.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum QuestionType {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 24 |     ShortAnswer,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     Ordered,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     Unordered,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 27 |     MultipleChoice,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     Flashcard,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuestionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `take` is never used
[INFO] [stdout]   --> src/quiz2.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Quiz2 {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 70 |     pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result<QuizResult2> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ask` is never used
[INFO] [stdout]    --> src/quiz2.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Question2 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 143 |     fn ask(&self, ui: &mut CmdUI) -> Result<QuestionResult2> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresult` is never used
[INFO] [stdout]    --> src/quiz2.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresultlist` is never used
[INFO] [stdout]    --> src/quiz2.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one` is never used
[INFO] [stdout]    --> src/quiz2.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec<Answer2>, guess: &str) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[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 `normalize` is never used
[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 `BUCKET_ALLOCATION` is never used
[INFO] [stdout]   --> src/repetition2.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UP_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const UP_THRESHOLD: u64 = 900;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DOWN_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const DOWN_THRESHOLD: u64 = 400;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_questions` is never used
[INFO] [stdout]   --> src/repetition2.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn choose_questions<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CmdUI` is never constructed
[INFO] [stdout]   --> src/ui2.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct CmdUI {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ui2.rs:23:12
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl CmdUI {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 23  |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     pub fn next(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35  |     pub fn text(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42  |     pub fn prompt(&mut self) -> Result<Option<String>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     pub fn correct(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71  |     pub fn status(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     pub fn score(&mut self, score: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     pub fn instructions(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn results(&mut self, results: &QuizResult2) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn launch_editor(&mut self, location: &Location) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fullname`
[INFO] [stdout]  --> src/persistence2.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fullname`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/persistence2.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut question = questions_map.get_mut(&id).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/main.rs:59:20
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn main_results_v2(options: &common::ResultsOptions) -> Result<()> {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let results = quiz.take(&mut ui, &options)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_v2` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main_v2() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_results_v2` is never used
[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 `main_take_v2` is never used
[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 `load_quiz` is never used
[INFO] [stdout]  --> src/persistence2.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShortAnswer`, `Ordered`, `Unordered`, `MultipleChoice`, and `Flashcard` are never constructed
[INFO] [stdout]   --> src/quiz2.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum QuestionType {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 24 |     ShortAnswer,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     Ordered,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     Unordered,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 27 |     MultipleChoice,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     Flashcard,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuestionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `take` is never used
[INFO] [stdout]   --> src/quiz2.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Quiz2 {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 70 |     pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result<QuizResult2> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ask` is never used
[INFO] [stdout]    --> src/quiz2.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Question2 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 143 |     fn ask(&self, ui: &mut CmdUI) -> Result<QuestionResult2> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresult` is never used
[INFO] [stdout]    --> src/quiz2.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresultlist` is never used
[INFO] [stdout]    --> src/quiz2.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one` is never used
[INFO] [stdout]    --> src/quiz2.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec<Answer2>, guess: &str) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[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 `normalize` is never used
[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 `BUCKET_ALLOCATION` is never used
[INFO] [stdout]   --> src/repetition2.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UP_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const UP_THRESHOLD: u64 = 900;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DOWN_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const DOWN_THRESHOLD: u64 = 400;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_questions` is never used
[INFO] [stdout]   --> src/repetition2.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn choose_questions<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CmdUI` is never constructed
[INFO] [stdout]   --> src/ui2.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct CmdUI {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ui2.rs:23:12
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl CmdUI {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 23  |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     pub fn next(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35  |     pub fn text(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42  |     pub fn prompt(&mut self) -> Result<Option<String>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     pub fn correct(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71  |     pub fn status(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     pub fn score(&mut self, score: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     pub fn instructions(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn results(&mut self, results: &QuizResult2) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn launch_editor(&mut self, location: &Location) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 37.50s
[INFO] running `Command { std: "docker" "inspect" "c57febbaddb7e4be17991f769778647115984570ca2773287b92fd02d5f7841d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c57febbaddb7e4be17991f769778647115984570ca2773287b92fd02d5f7841d", kill_on_drop: false }`
[INFO] [stdout] c57febbaddb7e4be17991f769778647115984570ca2773287b92fd02d5f7841d
[INFO] checking iafisher/popquiz against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/iafisher/popquiz on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e9c57e0490b051a247568d20b8fc042eb1af039e0e16cdada7d328f836ccf3e
[INFO] running `Command { std: "docker" "start" "-a" "3e9c57e0490b051a247568d20b8fc042eb1af039e0e16cdada7d328f836ccf3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e9c57e0490b051a247568d20b8fc042eb1af039e0e16cdada7d328f836ccf3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e9c57e0490b051a247568d20b8fc042eb1af039e0e16cdada7d328f836ccf3e", kill_on_drop: false }`
[INFO] [stdout] 3e9c57e0490b051a247568d20b8fc042eb1af039e0e16cdada7d328f836ccf3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ab8154fba450d9cf4ccc2e96fd94b7b9be4ad033b83630ec0de2a7b837c39b6
[INFO] running `Command { std: "docker" "start" "-a" "7ab8154fba450d9cf4ccc2e96fd94b7b9be4ad033b83630ec0de2a7b837c39b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling syn v0.15.35
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.2
[INFO] [stderr]     Checking term_size v0.3.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.7.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking rgb v0.8.13
[INFO] [stderr]     Checking hashlink v0.7.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[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 rand_jitter v0.1.4
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking unicode-segmentation v1.3.0
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]     Checking utf8parse v0.1.1
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]     Checking winconsole v0.10.0
[INFO] [stderr]     Checking colored v1.8.0
[INFO] [stderr]     Checking rusqlite v0.25.3
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]    Compiling serde_derive v1.0.92
[INFO] [stderr]     Checking rustyline v4.1.0
[INFO] [stderr]     Checking termimage v1.1.0
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking drill v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/e2e_tests.rs:454:9
[INFO] [stdout]     |
[INFO] [stdout] 454 |         format!("Exit code: {:?}", result.status.code())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 454 -         format!("Exit code: {:?}", result.status.code())
[INFO] [stdout] 454 +         "Exit code: {:?}", result.status.code()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/e2e_tests.rs:605:13
[INFO] [stdout]     |
[INFO] [stdout] 605 | /             format!(
[INFO] [stdout] 606 | |                 "\n\nFailed to match {:?} against pattern {:?}\n\n",
[INFO] [stdout] 607 | |                 got.trim(),
[INFO] [stdout] 608 | |                 expected,
[INFO] [stdout] 609 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 605 ~             
[INFO] [stdout] 606 |                 "\n\nFailed to match {:?} against pattern {:?}\n\n",
[INFO] [stdout] 607 |                 got.trim(),
[INFO] [stdout] 608 |                 expected,
[INFO] [stdout] 609 ~             
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/e2e_tests.rs:614:13
[INFO] [stdout]     |
[INFO] [stdout] 614 | /             format!(
[INFO] [stdout] 615 | |                 "\n\nExpected:\n  {:?}\n\ngot:\n  {:?}\n\n",
[INFO] [stdout] 616 | |                 expected.trim(),
[INFO] [stdout] 617 | |                 got.trim()
[INFO] [stdout] 618 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 614 ~             
[INFO] [stdout] 615 |                 "\n\nExpected:\n  {:?}\n\ngot:\n  {:?}\n\n",
[INFO] [stdout] 616 |                 expected.trim(),
[INFO] [stdout] 617 |                 got.trim()
[INFO] [stdout] 618 ~             ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/repetition2.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::common`
[INFO] [stdout]   --> src/repetition2.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use super::common;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QuestionResult2`
[INFO] [stdout]   --> src/repetition2.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 | use super::quiz2::{Question2, QuestionResult2};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/repetition2.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::common`
[INFO] [stdout]   --> src/repetition2.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use super::common;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QuestionResult2`
[INFO] [stdout]   --> src/repetition2.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 | use super::quiz2::{Question2, QuestionResult2};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fullname`
[INFO] [stdout]  --> src/persistence2.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fullname`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/persistence2.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut question = questions_map.get_mut(&id).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fullname`
[INFO] [stdout]  --> src/persistence2.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fullname`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/persistence2.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut question = questions_map.get_mut(&id).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/main.rs:59:20
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn main_results_v2(options: &common::ResultsOptions) -> Result<()> {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let results = quiz.take(&mut ui, &options)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_v2` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main_v2() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_results_v2` is never used
[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 `main_take_v2` is never used
[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 `load_quiz` is never used
[INFO] [stdout]  --> src/persistence2.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShortAnswer`, `Ordered`, `Unordered`, `MultipleChoice`, and `Flashcard` are never constructed
[INFO] [stdout]   --> src/quiz2.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum QuestionType {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 24 |     ShortAnswer,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     Ordered,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     Unordered,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 27 |     MultipleChoice,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     Flashcard,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuestionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `take` is never used
[INFO] [stdout]   --> src/quiz2.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Quiz2 {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 70 |     pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result<QuizResult2> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ask` is never used
[INFO] [stdout]    --> src/quiz2.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Question2 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 143 |     fn ask(&self, ui: &mut CmdUI) -> Result<QuestionResult2> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresult` is never used
[INFO] [stdout]    --> src/quiz2.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresultlist` is never used
[INFO] [stdout]    --> src/quiz2.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one` is never used
[INFO] [stdout]    --> src/quiz2.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec<Answer2>, guess: &str) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[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 `normalize` is never used
[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 `BUCKET_ALLOCATION` is never used
[INFO] [stdout]   --> src/repetition2.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UP_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const UP_THRESHOLD: u64 = 900;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DOWN_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const DOWN_THRESHOLD: u64 = 400;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_questions` is never used
[INFO] [stdout]   --> src/repetition2.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn choose_questions<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CmdUI` is never constructed
[INFO] [stdout]   --> src/ui2.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct CmdUI {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ui2.rs:23:12
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl CmdUI {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 23  |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     pub fn next(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35  |     pub fn text(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42  |     pub fn prompt(&mut self) -> Result<Option<String>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     pub fn correct(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71  |     pub fn status(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     pub fn score(&mut self, score: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     pub fn instructions(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn results(&mut self, results: &QuizResult2) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn launch_editor(&mut self, location: &Location) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/quiz.rs:458:10
[INFO] [stdout]     |
[INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_QuestionResult`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/quiz.rs:458:21
[INFO] [stdout]     |
[INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_QuestionResult`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `drill` (bin "drill" test) due to 3 previous errors; 25 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/main.rs:59:20
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn main_results_v2(options: &common::ResultsOptions) -> Result<()> {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let results = quiz.take(&mut ui, &options)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_v2` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main_v2() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_results_v2` is never used
[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 `main_take_v2` is never used
[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 `load_quiz` is never used
[INFO] [stdout]  --> src/persistence2.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn load_quiz(fullname: &Path) -> Result<Quiz2> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShortAnswer`, `Ordered`, `Unordered`, `MultipleChoice`, and `Flashcard` are never constructed
[INFO] [stdout]   --> src/quiz2.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum QuestionType {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 24 |     ShortAnswer,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     Ordered,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     Unordered,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 27 |     MultipleChoice,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     Flashcard,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuestionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `take` is never used
[INFO] [stdout]   --> src/quiz2.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Quiz2 {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 70 |     pub fn take(&mut self, ui: &mut CmdUI, options: &TakeOptions) -> Result<QuizResult2> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ask` is never used
[INFO] [stdout]    --> src/quiz2.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Question2 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 143 |     fn ask(&self, ui: &mut CmdUI) -> Result<QuestionResult2> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresult` is never used
[INFO] [stdout]    --> src/quiz2.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn mkresult(id: i64, text: &str, response: Option<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mkresultlist` is never used
[INFO] [stdout]    --> src/quiz2.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn mkresultlist(id: i64, text: &str, responses: Vec<String>, score: u64) -> QuestionResult2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one` is never used
[INFO] [stdout]    --> src/quiz2.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub fn check_one(answer_list: &Vec<Answer2>, guess: &str) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[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 `normalize` is never used
[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 `BUCKET_ALLOCATION` is never used
[INFO] [stdout]   --> src/repetition2.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const BUCKET_ALLOCATION: [usize; 5] = [1, 2, 5, 5, 10];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UP_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const UP_THRESHOLD: u64 = 900;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DOWN_THRESHOLD` is never used
[INFO] [stdout]   --> src/repetition2.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const DOWN_THRESHOLD: u64 = 400;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_questions` is never used
[INFO] [stdout]   --> src/repetition2.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn choose_questions<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CmdUI` is never constructed
[INFO] [stdout]   --> src/ui2.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct CmdUI {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ui2.rs:23:12
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl CmdUI {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 23  |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     pub fn next(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35  |     pub fn text(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42  |     pub fn prompt(&mut self) -> Result<Option<String>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     pub fn incorrect(&mut self, correction: Option<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     pub fn correct(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71  |     pub fn status(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     pub fn score(&mut self, score: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     pub fn missed(&mut self, missed: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn choices(&mut self, choices: &Vec<&str>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     pub fn instructions(&mut self, text: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn results(&mut self, results: &QuizResult2) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn launch_editor(&mut self, location: &Location) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/quiz.rs:458:10
[INFO] [stdout]     |
[INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_QuestionResult`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/quiz.rs:458:21
[INFO] [stdout]     |
[INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_QuestionResult`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `drill` (bin "drill") due to 3 previous errors; 25 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7ab8154fba450d9cf4ccc2e96fd94b7b9be4ad033b83630ec0de2a7b837c39b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ab8154fba450d9cf4ccc2e96fd94b7b9be4ad033b83630ec0de2a7b837c39b6", kill_on_drop: false }`
[INFO] [stdout] 7ab8154fba450d9cf4ccc2e96fd94b7b9be4ad033b83630ec0de2a7b837c39b6
