[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] testing iafisher/popquiz against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iafisher/popquiz on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b629048b0d65642be5fc78a5478e46567105a5870c9d8b58514f7b5171ad9e5c [INFO] running `Command { std: "docker" "start" "-a" "b629048b0d65642be5fc78a5478e46567105a5870c9d8b58514f7b5171ad9e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b629048b0d65642be5fc78a5478e46567105a5870c9d8b58514f7b5171ad9e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b629048b0d65642be5fc78a5478e46567105a5870c9d8b58514f7b5171ad9e5c", kill_on_drop: false }` [INFO] [stdout] b629048b0d65642be5fc78a5478e46567105a5870c9d8b58514f7b5171ad9e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0c983b8f517fd69fbfd2e851b5f7000dac0532b705ab9141bdee19057a165ded [INFO] running `Command { std: "docker" "start" "-a" "0c983b8f517fd69fbfd2e851b5f7000dac0532b705ab9141bdee19057a165ded", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bytemuck v1.7.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rusqlite v0.25.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling rustyline v4.1.0 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling termimage v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling drill v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/quiz.rs:458:10 [INFO] [stdout] | [INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/quiz.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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 { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `no_credit` is never read [INFO] [stdout] --> src/quiz.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct OrderedListQuestion { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 318 | pub no_credit: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderedListQuestion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_finished` is never read [INFO] [stdout] --> src/quiz.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct QuizResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 485 | pub time_finished: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuizResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quiz2` is never constructed [INFO] [stdout] --> src/quiz2.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Quiz2 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quiz2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Question2` is never constructed [INFO] [stdout] --> src/quiz2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Question2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QuestionType` is never used [INFO] [stdout] --> src/quiz2.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum QuestionType { [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: struct `Answer2` is never constructed [INFO] [stdout] --> src/quiz2.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Answer2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuestionResult2` is never constructed [INFO] [stdout] --> src/quiz2.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct QuestionResult2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuestionResult2` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuizResult2` is never constructed [INFO] [stdout] --> src/quiz2.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct QuizResult2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuizResult2` 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 { [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 { [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, 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, 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, guess: &str) -> Option { [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> { [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/quiz.rs:458:10 [INFO] [stdout] | [INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QuestionResult` [INFO] [stdout] 459 | #[serde(deny_unknown_fields)] [INFO] [stdout] 460 | pub struct QuestionResult { [INFO] [stdout] | -------------- `QuestionResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/quiz.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuestionResult` [INFO] [stdout] 459 | #[serde(deny_unknown_fields)] [INFO] [stdout] 460 | pub struct QuestionResult { [INFO] [stdout] | -------------- `QuestionResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcjnVmi9/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libchrono-a8e29ce35bc57aea.rlib,libnum_integer-5ddb400e2d865490.rlib,libnum_traits-e04a0b1505efd012.rlib,libtime-eb0ab150af7a959f.rlib,libtextwrap-ae523491120e495d.rlib,libterm_size-a4b368560bcdc62c.rlib,libserde_json-8d5f9d078421ddf8.rlib,libryu-addc3c71cf6db420.rlib,libitoa-349da0bebdaefaf5.rlib,libunicode_normalization-f9a5a00d8b50488b.rlib,libsmallvec-f236c7aa1973bf26.rlib,libserde-473c019e6977ad52.rlib,librand-b073e24555da4a0f.rlib,librand_xorshift-344242e72d20acd4.rlib,librand_pcg-74c083ae2d1a7917.rlib,librand_hc-026dd4a08f4bc55d.rlib,librand_chacha-91a77124f43d5bb0.rlib,librand_isaac-01af5ad6960cea83.rlib,librand_core-b5ae3e92562f9729.rlib,librand_os-ff89d24b01acf885.rlib,librand_jitter-0be05bc43d4b1532.rlib,librand_core-a76c9246507cb3c7.rlib,librustyline-d87dbd417817c5af.rlib,libutf8parse-01c0f58a92c9f404.rlib,libunicode_width-c47370ab809a287f.rlib,libunicode_segmentation-042d9d26d202c90f.rlib,libdirs-c948d196983b345b.rlib,libmemchr-fc6b316872a7c794.rlib,libnix-a63db3420b4253ee.rlib,libvoid-93586161032aa49a.rlib,liblog-c6235e0b7bbca5ff.rlib,libcfg_if-5f8284c8b6f04027.rlib,libcolored-c2655229134045f4.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,librusqlite-8db07021c9907685.rlib,libbitflags-561a4f1321538a32.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,libfallible_streaming_iterator-f8ae1d03647b1d8c.rlib,libfallible_iterator-da18290346318e11.rlib,libhashlink-18576115bcebb4f7.rlib,libhashbrown-a6dd6b67e055ec4e.rlib,libahash-ed6607c3caae33d3.rlib,libgetrandom-71c131ea9d33e12a.rlib,liblibc-591af2b11c3047a2.rlib,libcfg_if-66d55f6b302e88c8.rlib,libonce_cell-f06ddd28b1d57c34.rlib,liblibsqlite3_sys-30ada81c5f88dfad.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lsqlite3" "-L" "/tmp/rustcjnVmi9/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/drill-c509f5a1dbe232cd" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libnix-a63db3420b4253ee.rlib(nix-a63db3420b4253ee.nix.367450c3bec042ef-cgu.15.rcgu.o): undefined reference to symbol 'lseek64@@GLIBC_2.2.5' [INFO] [stdout] /usr/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: error adding symbols: DSO missing from command line [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drill` (bin "drill") due to 1 previous error; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c983b8f517fd69fbfd2e851b5f7000dac0532b705ab9141bdee19057a165ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c983b8f517fd69fbfd2e851b5f7000dac0532b705ab9141bdee19057a165ded", kill_on_drop: false }` [INFO] [stdout] 0c983b8f517fd69fbfd2e851b5f7000dac0532b705ab9141bdee19057a165ded