[INFO] fetching crate quickner-core 0.0.1-alpha.20...
[INFO] testing quickner-core-0.0.1-alpha.20 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate quickner-core 0.0.1-alpha.20 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate quickner-core 0.0.1-alpha.20
[INFO] finished tweaking crates.io crate quickner-core 0.0.1-alpha.20
[INFO] tweaked toml for crates.io crate quickner-core 0.0.1-alpha.20 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate quickner-core 0.0.1-alpha.20 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 92 packages to latest compatible versions
[INFO] [stderr]       Adding aho-corasick v0.7.20 (available: v1.1.4)
[INFO] [stderr]       Adding env_logger v0.10.2 (available: v0.11.8)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding indicatif v0.17.11 (available: v0.18.3)
[INFO] [stderr]       Adding toml v0.7.8 (available: v0.9.10+spec-1.1.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml v0.7.8
[INFO] [stderr]   Downloaded toml_edit v0.19.15
[INFO] [stderr]   Downloaded indicatif v0.17.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2a05dcc4d9fa596102a6c6091b1d9a04fc2440de12001fad27c9e21e9754f79
[INFO] running `Command { std: "docker" "start" "-a" "a2a05dcc4d9fa596102a6c6091b1d9a04fc2440de12001fad27c9e21e9754f79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2a05dcc4d9fa596102a6c6091b1d9a04fc2440de12001fad27c9e21e9754f79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2a05dcc4d9fa596102a6c6091b1d9a04fc2440de12001fad27c9e21e9754f79", kill_on_drop: false }`
[INFO] [stdout] a2a05dcc4d9fa596102a6c6091b1d9a04fc2440de12001fad27c9e21e9754f79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91efd6e83ad69a8f27a71ecab695700293233e0f42781998de0768f19fb16cd6
[INFO] running `Command { std: "docker" "start" "-a" "91efd6e83ad69a8f27a71ecab695700293233e0f42781998de0768f19fb16cd6", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling portable-atomic v1.13.0
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling quickner-core v0.0.1-alpha.20 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `find_index` is never used
[INFO] [stdout]   --> src/quickner.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Quickner {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub(crate) fn find_index(
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.33s
[INFO] running `Command { std: "docker" "inspect" "91efd6e83ad69a8f27a71ecab695700293233e0f42781998de0768f19fb16cd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91efd6e83ad69a8f27a71ecab695700293233e0f42781998de0768f19fb16cd6", kill_on_drop: false }`
[INFO] [stdout] 91efd6e83ad69a8f27a71ecab695700293233e0f42781998de0768f19fb16cd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8abdd255438d3a13d09a4d7e8acbf8b0efc1603f1c5efff9c6c5116c4555623c
[INFO] running `Command { std: "docker" "start" "-a" "8abdd255438d3a13d09a4d7e8acbf8b0efc1603f1c5efff9c6c5116c4555623c", kill_on_drop: false }`
[INFO] [stdout] warning: associated function `find_index` is never used
[INFO] [stdout]   --> src/quickner.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Quickner {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub(crate) fn find_index(
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quickner-core v0.0.1-alpha.20 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `find_index` is never used
[INFO] [stdout]   --> src/quickner.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Quickner {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub(crate) fn find_index(
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s
[INFO] running `Command { std: "docker" "inspect" "8abdd255438d3a13d09a4d7e8acbf8b0efc1603f1c5efff9c6c5116c4555623c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8abdd255438d3a13d09a4d7e8acbf8b0efc1603f1c5efff9c6c5116c4555623c", kill_on_drop: false }`
[INFO] [stdout] 8abdd255438d3a13d09a4d7e8acbf8b0efc1603f1c5efff9c6c5116c4555623c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 31442c97e569e0186eb61bd03f42e0d825b02d86cc523fd65abbd4c8ae0a3fc7
[INFO] running `Command { std: "docker" "start" "-a" "31442c97e569e0186eb61bd03f42e0d825b02d86cc523fd65abbd4c8ae0a3fc7", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `find_index` is never used
[INFO] [stderr]   --> src/quickner.rs:68:19
[INFO] [stderr]    |
[INFO] [stderr] 50 | impl Quickner {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 68 |     pub(crate) fn find_index(
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `quickner-core` (lib) generated 1 warning
[INFO] [stderr] warning: `quickner-core` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quickner-b12e40e370702696)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests quickner
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test src/utils.rs - utils::contains_numbers (line 42) ... FAILED
[INFO] [stdout] test src/config.rs - config::Config (line 19) ... FAILED
[INFO] [stdout] test src/quickner.rs - quickner::Quickner::process (line 395) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::get_progress_bar (line 82) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::contains_punctuation (line 28) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::contains_special_characters (line 62) ... FAILED
[INFO] [stdout] test src/quickner.rs - quickner::Quickner::annotate (line 237) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::is_alphanumeric (line 14) ... FAILED
[INFO] [stdout] test src/config.rs - config::Filters::is_valid (line 152) ... FAILED
[INFO] [stdout] test src/models.rs - models::Format::save (line 26) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::from_string (line 30) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 66) - compile ... FAILED
[INFO] [stdout] test src/quickner.rs - quickner::Quickner::find_index (line 58) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 78) - compile ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::annotate (line 52) ... FAILED
[INFO] [stdout] test src/quickner.rs - quickner::Quickner::new (line 297) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/utils.rs - utils::contains_numbers (line 42) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]   --> src/utils.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | use utils::contains_numbers;
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `utils`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/utils.rs, use `mod utils` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 42 + mod utils;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `text` in this scope
[INFO] [stdout]   --> src/utils.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 | assert_eq!(contains_numbers(text), false);
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `text` in this scope
[INFO] [stdout]   --> src/utils.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 | assert_eq!(contains_numbers(text), true);
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::Config (line 19) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `config`
[INFO] [stdout]   --> src/config.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use config::Config;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `config`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/config.rs, use `mod config` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 19 + mod config;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/quickner.rs - quickner::Quickner::process (line 395) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `quickner` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/quickner.rs:399:1
[INFO] [stdout]     |
[INFO] [stdout] 399 | quickner.process(true);
[INFO] [stdout]     | ^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 398 | let mut quickner = Quickner::new(Some("./config.toml"));
[INFO] [stdout]     |     +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::get_progress_bar (line 82) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]   --> src/utils.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | use utils::get_progress_bar;
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `utils`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/utils.rs, use `mod utils` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 82 + mod utils;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::contains_punctuation (line 28) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]   --> src/utils.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use utils::contains_punctuation;
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `utils`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/utils.rs, use `mod utils` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 28 + mod utils;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::contains_special_characters (line 62) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]   --> src/utils.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | use utils::contains_special_characters;
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `utils`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/utils.rs, use `mod utils` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 62 + mod utils;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `text` in this scope
[INFO] [stdout]   --> src/utils.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 | assert_eq!(contains_special_characters(text), false);
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `text` in this scope
[INFO] [stdout]   --> src/utils.rs:67:40
[INFO] [stdout]    |
[INFO] [stdout] 67 | assert_eq!(contains_special_characters(text), true);
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/quickner.rs - quickner::Quickner::annotate (line 237) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotations`
[INFO] [stdout]    --> src/quickner.rs:238:23
[INFO] [stdout]     |
[INFO] [stdout] 238 | let mut annotations = Annotations::new(entities, texts);
[INFO] [stdout]     |                       ^^^^^^^^^^^ use of undeclared type `Annotations`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 237 + use quickner::Annotations;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `entities` in this scope
[INFO] [stdout]    --> src/quickner.rs:238:40
[INFO] [stdout]     |
[INFO] [stdout] 238 | let mut annotations = Annotations::new(entities, texts);
[INFO] [stdout]     |                                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `texts` in this scope
[INFO] [stdout]    --> src/quickner.rs:238:50
[INFO] [stdout]     |
[INFO] [stdout] 238 | let mut annotations = Annotations::new(entities, texts);
[INFO] [stdout]     |                                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::is_alphanumeric (line 14) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]   --> src/utils.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use utils::is_alphanumeric;
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `utils`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/utils.rs, use `mod utils` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 14 + mod utils;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::Filters::is_valid (line 152) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]    --> src/config.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 | use utils::is_valid;
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `utils`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/utils.rs, use `mod utils` in this file to declare the module
[INFO] [stdout]     |
[INFO] [stdout] 152 + mod utils;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config` in this scope
[INFO] [stdout]    --> src/config.rs:155:21
[INFO] [stdout]     |
[INFO] [stdout] 155 | assert_eq!(is_valid(config, text), true);
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/models.rs - models::Format::save (line 26) stdout ----
[INFO] [stdout] error[E0603]: module `models` is private
[INFO] [stdout]   --> src/models.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 | use quickner::models::Format;
[INFO] [stdout]    |               ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `models` is defined here
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] help: consider importing this enum instead
[INFO] [stdout]    |
[INFO] [stdout] 28 - use quickner::models::Format;
[INFO] [stdout] 28 + use quickner::Format;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `models` is private
[INFO] [stdout]   --> src/models.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 | use quickner::models::Document;
[INFO] [stdout]    |               ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `models` is defined here
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotation`
[INFO] [stdout]   --> src/models.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | let annotations = vec![Annotation::from_string("Hello World".to_string())];
[INFO] [stdout]    |                        ^^^^^^^^^^ use of undeclared type `Annotation`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/document.rs - document::Document::from_string (line 30) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quickner::models::Annotation`
[INFO] [stdout]   --> src/document.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use quickner::models::Annotation;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Annotation` in `models`
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `models` is private
[INFO] [stdout]   --> src/document.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | use quickner::models::Annotation;
[INFO] [stdout]    |               ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `models` is defined here
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 66) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quickner::models::Quickner`
[INFO] [stdout]   --> src/lib.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | use quickner::models::Quickner;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Quickner` in `models`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 68 - use quickner::models::Quickner;
[INFO] [stdout] 68 + use quickner::Quickner;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `models` is private
[INFO] [stdout]   --> src/lib.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | use quickner::models::Quickner;
[INFO] [stdout]    |               ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `models` is defined here
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/quickner.rs - quickner::Quickner::find_index (line 58) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quickner::models::Entity`
[INFO] [stdout]   --> src/quickner.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | use quickner::models::Entity;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `Entity` in `models`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 61 - use quickner::models::Entity;
[INFO] [stdout] 61 + use quickner::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotations`
[INFO] [stdout]   --> src/quickner.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 | let annotations = Annotations::find_index(text, entities);
[INFO] [stdout]    |                   ^^^^^^^^^^^ use of undeclared type `Annotations`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 57 + use quickner::Annotations;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `models` is private
[INFO] [stdout]   --> src/quickner.rs:61:15
[INFO] [stdout]    |
[INFO] [stdout] 61 | use quickner::models::Entity;
[INFO] [stdout]    |               ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `models` is defined here
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 78) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/lib.rs:83:16
[INFO] [stdout]    |
[INFO] [stdout] 83 | let entities = HashMap::new();
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 | let annotation = Document::from_string("Rust is maintained by Mozilla");
[INFO] [stdout]    |                  --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/document.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn from_string(text: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]    |
[INFO] [stdout] 82 | let annotation = Document::from_string("Rust is maintained by Mozilla".to_string());
[INFO] [stdout]    |                                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/lib.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | annotation.annotate(entities);
[INFO] [stdout]    |            ^^^^^^^^---------- argument #2 of type `bool` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/document.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn annotate(&mut self, mut entities: Vec<Entity>, case_sensitive: bool) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 86 | annotation.annotate(entities, /* bool */);
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/document.rs - document::Document::annotate (line 52) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quickner::models::Entity`
[INFO] [stdout]   --> src/document.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use quickner::models::Entity;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `Entity` in `models`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 55 - use quickner::models::Entity;
[INFO] [stdout] 55 + use quickner::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `models` is private
[INFO] [stdout]   --> src/document.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 | use quickner::models::Document;
[INFO] [stdout]    |               ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `models` is defined here
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `models` is private
[INFO] [stdout]   --> src/document.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 55 | use quickner::models::Entity;
[INFO] [stdout]    |               ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `models` is defined here
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | mod models;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotation`
[INFO] [stdout]   --> src/document.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 | let mut annotation = Annotation::from_string("Rust is developed by Mozilla".to_string());
[INFO] [stdout]    |                      ^^^^^^^^^^ use of undeclared type `Annotation`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/config.rs - config::Config (line 19)
[INFO] [stdout]     src/config.rs - config::Filters::is_valid (line 152)
[INFO] [stdout]     src/document.rs - document::Document::annotate (line 52)
[INFO] [stdout]     src/document.rs - document::Document::from_string (line 30)
[INFO] [stdout]     src/lib.rs - (line 66)
[INFO] [stdout]     src/lib.rs - (line 78)
[INFO] [stdout]     src/models.rs - models::Format::save (line 26)
[INFO] [stdout]     src/quickner.rs - quickner::Quickner::annotate (line 237)
[INFO] [stdout]     src/quickner.rs - quickner::Quickner::find_index (line 58)
[INFO] [stdout]     src/quickner.rs - quickner::Quickner::process (line 395)
[INFO] [stdout]     src/utils.rs - utils::contains_numbers (line 42)
[INFO] [stdout]     src/utils.rs - utils::contains_punctuation (line 28)
[INFO] [stdout]     src/utils.rs - utils::contains_special_characters (line 62)
[INFO] [stdout]     src/utils.rs - utils::get_progress_bar (line 82)
[INFO] [stdout]     src/utils.rs - utils::is_alphanumeric (line 14)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "31442c97e569e0186eb61bd03f42e0d825b02d86cc523fd65abbd4c8ae0a3fc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31442c97e569e0186eb61bd03f42e0d825b02d86cc523fd65abbd4c8ae0a3fc7", kill_on_drop: false }`
[INFO] [stdout] 31442c97e569e0186eb61bd03f42e0d825b02d86cc523fd65abbd4c8ae0a3fc7
