[INFO] fetching crate quickner-core 0.0.1-alpha.20... [INFO] testing quickner-core-0.0.1-alpha.20 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate quickner-core 0.0.1-alpha.20 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quickner-core 0.0.1-alpha.20 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.7.20 (available: v1.1.3) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding indicatif v0.17.11 (available: v0.18.0) [INFO] [stderr] Adding toml v0.7.8 (available: v0.9.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7469e18d4c32822637145848d47d7327f0a37673b75c3d72c780798a4c9ea3b [INFO] running `Command { std: "docker" "start" "-a" "f7469e18d4c32822637145848d47d7327f0a37673b75c3d72c780798a4c9ea3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7469e18d4c32822637145848d47d7327f0a37673b75c3d72c780798a4c9ea3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7469e18d4c32822637145848d47d7327f0a37673b75c3d72c780798a4c9ea3b", kill_on_drop: false }` [INFO] [stdout] f7469e18d4c32822637145848d47d7327f0a37673b75c3d72c780798a4c9ea3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf9367acc574abd758737195776156a8c0e1600a4681a28ae885df268405a36a [INFO] running `Command { std: "docker" "start" "-a" "cf9367acc574abd758737195776156a8c0e1600a4681a28ae885df268405a36a", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling clap v4.5.48 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.70s [INFO] running `Command { std: "docker" "inspect" "cf9367acc574abd758737195776156a8c0e1600a4681a28ae885df268405a36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf9367acc574abd758737195776156a8c0e1600a4681a28ae885df268405a36a", kill_on_drop: false }` [INFO] [stdout] cf9367acc574abd758737195776156a8c0e1600a4681a28ae885df268405a36a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c0d133e64b90c886061517ce9623ee2be8e61ff2b11f290311acd52f8e2549 [INFO] running `Command { std: "docker" "start" "-a" "b9c0d133e64b90c886061517ce9623ee2be8e61ff2b11f290311acd52f8e2549", 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "b9c0d133e64b90c886061517ce9623ee2be8e61ff2b11f290311acd52f8e2549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c0d133e64b90c886061517ce9623ee2be8e61ff2b11f290311acd52f8e2549", kill_on_drop: false }` [INFO] [stdout] b9c0d133e64b90c886061517ce9623ee2be8e61ff2b11f290311acd52f8e2549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f808e8b7f7f4cdf6745d8fb669504948a19ba2a81cd6afb4e6b0573b446adbd3 [INFO] running `Command { std: "docker" "start" "-a" "f808e8b7f7f4cdf6745d8fb669504948a19ba2a81cd6afb4e6b0573b446adbd3", 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)]` 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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quickner-988f0dad1e426da4) [INFO] [stderr] Doc-tests quickner [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] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/utils.rs - utils::is_alphanumeric (line 14) ... FAILED [INFO] [stdout] test src/utils.rs - utils::get_progress_bar (line 82) ... FAILED [INFO] [stdout] test src/config.rs - config::Config (line 19) ... FAILED [INFO] [stdout] test src/utils.rs - utils::contains_numbers (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) - compile ... FAILED [INFO] [stdout] test src/config.rs - config::Filters::is_valid (line 152) ... FAILED [INFO] [stdout] test src/quickner.rs - quickner::Quickner::process (line 395) ... FAILED [INFO] [stdout] test src/utils.rs - utils::contains_special_characters (line 62) ... FAILED [INFO] [stdout] test src/utils.rs - utils::contains_punctuation (line 28) ... FAILED [INFO] [stdout] test src/document.rs - document::Document::from_string (line 30) ... FAILED [INFO] [stdout] test src/quickner.rs - quickner::Quickner::annotate (line 237) ... FAILED [INFO] [stdout] test src/document.rs - document::Document::annotate (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) - compile ... FAILED [INFO] [stdout] test src/models.rs - models::Format::save (line 26) ... FAILED [INFO] [stdout] test src/quickner.rs - quickner::Quickner::find_index (line 58) ... 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::is_alphanumeric (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utils` [INFO] [stdout] --> src/utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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::get_progress_bar (line 82) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utils` [INFO] [stdout] --> src/utils.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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::Config (line 19) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/config.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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/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] 3 | 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] 2 + 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] 5 | 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] 7 | 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/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] 5 | use quickner::models::Quickner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Quickner` in `models` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 5 - use quickner::models::Quickner; [INFO] [stdout] 5 + 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] 5 | use quickner::models::Quickner; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `models` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/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/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] 3 | 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] 2 + 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] 5 | 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/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] 7 | quickner.process(true); [INFO] [stdout] | ^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 6 | 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::contains_special_characters (line 62) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utils` [INFO] [stdout] --> src/utils.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 5 | 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] 7 | 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/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] 3 | 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] 2 + 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/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] 5 | 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] 5 | use quickner::models::Annotation; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `models` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/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::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] 3 | 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] 2 + 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] 3 | 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] 3 | 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/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] 6 | use quickner::models::Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `Entity` in `models` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 6 - use quickner::models::Entity; [INFO] [stdout] 6 + 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] 5 | use quickner::models::Document; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `models` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] 6 | use quickner::models::Entity; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `models` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] 9 | 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] ---- 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] 8 | let entities = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 7 | 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] --> /opt/rustwide/workdir/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] 7 | 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] 11 | annotation.annotate(entities); [INFO] [stdout] | ^^^^^^^^---------- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/document.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn annotate(&mut self, mut entities: Vec, case_sensitive: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | 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/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] 5 | use quickner::models::Format; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `models` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] 5 - use quickner::models::Format; [INFO] [stdout] 5 + 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] 6 | use quickner::models::Document; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `models` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] 8 | 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/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] 6 | use quickner::models::Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `Entity` in `models` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 6 - use quickner::models::Entity; [INFO] [stdout] 6 + 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] 11 | 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] 2 + 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] 6 | use quickner::models::Entity; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `models` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] [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 1.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f808e8b7f7f4cdf6745d8fb669504948a19ba2a81cd6afb4e6b0573b446adbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f808e8b7f7f4cdf6745d8fb669504948a19ba2a81cd6afb4e6b0573b446adbd3", kill_on_drop: false }` [INFO] [stdout] f808e8b7f7f4cdf6745d8fb669504948a19ba2a81cd6afb4e6b0573b446adbd3