[INFO] cloning repository https://github.com/jannes/han-cihui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jannes/han-cihui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjannes%2Fhan-cihui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjannes%2Fhan-cihui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ddca1c4c68b30784a2c13ac9330df7b47cb91f9 [INFO] testing jannes/han-cihui against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjannes%2Fhan-cihui" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jannes/han-cihui on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jannes/han-cihui [INFO] finished tweaking git repo https://github.com/jannes/han-cihui [INFO] tweaked toml for git repo https://github.com/jannes/han-cihui written to /workspace/builds/worker-71/source/Cargo.toml [INFO] crate git repo https://github.com/jannes/han-cihui already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ebfebe9b0ecb3c4e440c71d072a4b5a65deff6662481cd013e734dbefd550c [INFO] running `Command { std: "docker" "start" "-a" "18ebfebe9b0ecb3c4e440c71d072a4b5a65deff6662481cd013e734dbefd550c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ebfebe9b0ecb3c4e440c71d072a4b5a65deff6662481cd013e734dbefd550c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ebfebe9b0ecb3c4e440c71d072a4b5a65deff6662481cd013e734dbefd550c", kill_on_drop: false }` [INFO] [stdout] 18ebfebe9b0ecb3c4e440c71d072a4b5a65deff6662481cd013e734dbefd550c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7073eda151ec8e1b16b75bf06849a2a483a2fd6e6e27d2143dc73d6861030f68 [INFO] running `Command { std: "docker" "start" "-a" "7073eda151ec8e1b16b75bf06849a2a483a2fd6e6e27d2143dc73d6861030f68", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rusqlite v0.25.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling epubparse v0.2.1 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling tui v0.15.0 [INFO] [stderr] Compiling refinery-core v0.6.0 [INFO] [stderr] Compiling refinery-macros v0.6.0 [INFO] [stderr] Compiling refinery v0.6.0 [INFO] [stderr] Compiling han-cihui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `INSERT_WORD_LIST_QUERY` [INFO] [stdout] --> src/persistence.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / const INSERT_WORD_LIST_QUERY: &str = " [INFO] [stdout] 31 | | INSERT INTO word_lists [INFO] [stdout] 32 | | (book_name, author_name, create_time, min_occurrence_words, min_occurrence_chars, word_list_json) [INFO] [stdout] 33 | | VALUES (?1, ?2, strftime('%s', 'now'), ?3, ?4, ?5)"; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SELECT_ALL_WORD_LISTS_QUERY` [INFO] [stdout] --> src/persistence.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / const SELECT_ALL_WORD_LISTS_QUERY: &str = " [INFO] [stdout] 36 | | SELECT (id, book_name, author_name, create_time, min_occurrence_words, min_occurrence_chars) [INFO] [stdout] 37 | | FROM word_lists"; [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SELECT_WORD_LIST_QUERY` [INFO] [stdout] --> src/persistence.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / const SELECT_WORD_LIST_QUERY: &str = " [INFO] [stdout] 40 | | SELECT (word_list_json) [INFO] [stdout] 41 | | FROM word_lists WHERE id = ?1"; [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_word_list` [INFO] [stdout] --> src/persistence.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn insert_word_list(conn: &Connection, word_list: WordList) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_all_word_lists_metadata` [INFO] [stdout] --> src/persistence.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn select_all_word_lists_metadata(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_word_list_by_id` [INFO] [stdout] --> src/persistence.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn select_word_list_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `WordListState` [INFO] [stdout] --> src/tui/state/word_list.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum WordListState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WordListMetadata` [INFO] [stdout] --> src/word_lists.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WordListMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WordList` [INFO] [stdout] --> src/word_lists.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WordList { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/word_lists.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(word: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tag` [INFO] [stdout] --> src/word_lists.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn tag(&mut self, category: Category) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/word_lists.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.02s [INFO] running `Command { std: "docker" "inspect" "7073eda151ec8e1b16b75bf06849a2a483a2fd6e6e27d2143dc73d6861030f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7073eda151ec8e1b16b75bf06849a2a483a2fd6e6e27d2143dc73d6861030f68", kill_on_drop: false }` [INFO] [stdout] 7073eda151ec8e1b16b75bf06849a2a483a2fd6e6e27d2143dc73d6861030f68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7871f535824bb421ea0fb5f1b9d80167be6b20351a66a85521057e8d35660bc [INFO] running `Command { std: "docker" "start" "-a" "f7871f535824bb421ea0fb5f1b9d80167be6b20351a66a85521057e8d35660bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling han-cihui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `INSERT_WORD_LIST_QUERY` [INFO] [stdout] --> src/persistence.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / const INSERT_WORD_LIST_QUERY: &str = " [INFO] [stdout] 31 | | INSERT INTO word_lists [INFO] [stdout] 32 | | (book_name, author_name, create_time, min_occurrence_words, min_occurrence_chars, word_list_json) [INFO] [stdout] 33 | | VALUES (?1, ?2, strftime('%s', 'now'), ?3, ?4, ?5)"; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SELECT_ALL_WORD_LISTS_QUERY` [INFO] [stdout] --> src/persistence.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / const SELECT_ALL_WORD_LISTS_QUERY: &str = " [INFO] [stdout] 36 | | SELECT (id, book_name, author_name, create_time, min_occurrence_words, min_occurrence_chars) [INFO] [stdout] 37 | | FROM word_lists"; [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SELECT_WORD_LIST_QUERY` [INFO] [stdout] --> src/persistence.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / const SELECT_WORD_LIST_QUERY: &str = " [INFO] [stdout] 40 | | SELECT (word_list_json) [INFO] [stdout] 41 | | FROM word_lists WHERE id = ?1"; [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_word_list` [INFO] [stdout] --> src/persistence.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn insert_word_list(conn: &Connection, word_list: WordList) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_all_word_lists_metadata` [INFO] [stdout] --> src/persistence.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn select_all_word_lists_metadata(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_word_list_by_id` [INFO] [stdout] --> src/persistence.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn select_word_list_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `WordListState` [INFO] [stdout] --> src/tui/state/word_list.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum WordListState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WordListMetadata` [INFO] [stdout] --> src/word_lists.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WordListMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WordList` [INFO] [stdout] --> src/word_lists.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WordList { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/word_lists.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(word: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tag` [INFO] [stdout] --> src/word_lists.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn tag(&mut self, category: Category) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/word_lists.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 55.90s [INFO] running `Command { std: "docker" "inspect" "f7871f535824bb421ea0fb5f1b9d80167be6b20351a66a85521057e8d35660bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7871f535824bb421ea0fb5f1b9d80167be6b20351a66a85521057e8d35660bc", kill_on_drop: false }` [INFO] [stdout] f7871f535824bb421ea0fb5f1b9d80167be6b20351a66a85521057e8d35660bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0d8b9c384fb25917d24c85d2cd7d1661f4da5c46fcf181ed2b01f62168d51c4 [INFO] running `Command { std: "docker" "start" "-a" "e0d8b9c384fb25917d24c85d2cd7d1661f4da5c46fcf181ed2b01f62168d51c4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: constant is never used: `INSERT_WORD_LIST_QUERY` [INFO] [stderr] --> src/persistence.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | / const INSERT_WORD_LIST_QUERY: &str = " [INFO] [stderr] 31 | | INSERT INTO word_lists [INFO] [stderr] 32 | | (book_name, author_name, create_time, min_occurrence_words, min_occurrence_chars, word_list_json) [INFO] [stderr] 33 | | VALUES (?1, ?2, strftime('%s', 'now'), ?3, ?4, ?5)"; [INFO] [stderr] | |____________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SELECT_ALL_WORD_LISTS_QUERY` [INFO] [stderr] --> src/persistence.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / const SELECT_ALL_WORD_LISTS_QUERY: &str = " [INFO] [stderr] 36 | | SELECT (id, book_name, author_name, create_time, min_occurrence_words, min_occurrence_chars) [INFO] [stderr] 37 | | FROM word_lists"; [INFO] [stderr] | |_________________^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SELECT_WORD_LIST_QUERY` [INFO] [stderr] --> src/persistence.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / const SELECT_WORD_LIST_QUERY: &str = " [INFO] [stderr] 40 | | SELECT (word_list_json) [INFO] [stderr] 41 | | FROM word_lists WHERE id = ?1"; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `insert_word_list` [INFO] [stderr] --> src/persistence.rs:189:8 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn insert_word_list(conn: &Connection, word_list: WordList) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `select_all_word_lists_metadata` [INFO] [stderr] --> src/persistence.rs:212:8 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn select_all_word_lists_metadata(conn: &Connection) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `select_word_list_by_id` [INFO] [stderr] --> src/persistence.rs:237:8 [INFO] [stderr] | [INFO] [stderr] 237 | pub fn select_word_list_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `WordListState` [INFO] [stderr] --> src/tui/state/word_list.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum WordListState { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `WordListMetadata` [INFO] [stderr] --> src/word_lists.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct WordListMetadata { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `WordList` [INFO] [stderr] --> src/word_lists.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct WordList { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/word_lists.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn new(word: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tag` [INFO] [stderr] --> src/word_lists.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn tag(&mut self, category: Category) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reset` [INFO] [stderr] --> src/word_lists.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn reset(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `han-cihui` (bin "han-cihui" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.56s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/han_cihui-6b95f8d46fdc30c9) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test ebook::tests::book_to_json ... ok [INFO] [stdout] test ebook::tests::flatten_book_depth_1 ... ok [INFO] [stdout] test extraction::tests::match_hanzi_words ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e0d8b9c384fb25917d24c85d2cd7d1661f4da5c46fcf181ed2b01f62168d51c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d8b9c384fb25917d24c85d2cd7d1661f4da5c46fcf181ed2b01f62168d51c4", kill_on_drop: false }` [INFO] [stdout] e0d8b9c384fb25917d24c85d2cd7d1661f4da5c46fcf181ed2b01f62168d51c4