[INFO] fetching crate rustrawi 0.1.2... [INFO] testing rustrawi-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rustrawi 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rustrawi 0.1.2 [INFO] finished tweaking crates.io crate rustrawi 0.1.2 [INFO] tweaked toml for crates.io crate rustrawi 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustrawi 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23d48b3b7605d6b68b3db3540e3a2b2404d60779988a819054c31aebd37067b5 [INFO] running `Command { std: "docker" "start" "-a" "23d48b3b7605d6b68b3db3540e3a2b2404d60779988a819054c31aebd37067b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23d48b3b7605d6b68b3db3540e3a2b2404d60779988a819054c31aebd37067b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d48b3b7605d6b68b3db3540e3a2b2404d60779988a819054c31aebd37067b5", kill_on_drop: false }` [INFO] [stdout] 23d48b3b7605d6b68b3db3540e3a2b2404d60779988a819054c31aebd37067b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dac222077d90639448ddef4e5223c65de89455b8a6234238a3de8a6d13b1101d [INFO] running `Command { std: "docker" "start" "-a" "dac222077d90639448ddef4e5223c65de89455b8a6234238a3de8a6d13b1101d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustrawi v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord` [INFO] [stdout] --> src/stemmer/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stemmer/context.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 66 | todo!("step 4, 5"); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 67 | todo!("step 2, 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/stemmer.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn stem_plural_word(&self, word: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_visitors` and `suffix_visitors` are never read [INFO] [stdout] --> src/stemmer/context.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Context<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | prefix_visitors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | suffix_visitors: Vec>, [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 12.69s [INFO] running `Command { std: "docker" "inspect" "dac222077d90639448ddef4e5223c65de89455b8a6234238a3de8a6d13b1101d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac222077d90639448ddef4e5223c65de89455b8a6234238a3de8a6d13b1101d", kill_on_drop: false }` [INFO] [stdout] dac222077d90639448ddef4e5223c65de89455b8a6234238a3de8a6d13b1101d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 40e6b48c630ebff2dcc0b32a9b8ee4ab7b56b586f38e19f64a998cbd8fe8ba3b [INFO] running `Command { std: "docker" "start" "-a" "40e6b48c630ebff2dcc0b32a9b8ee4ab7b56b586f38e19f64a998cbd8fe8ba3b", kill_on_drop: false }` [INFO] [stderr] Compiling rustrawi v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord` [INFO] [stdout] --> src/stemmer/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stemmer/context.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 66 | todo!("step 4, 5"); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 67 | todo!("step 2, 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/stemmer.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn stem_plural_word(&self, word: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_visitors` and `suffix_visitors` are never read [INFO] [stdout] --> src/stemmer/context.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Context<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | prefix_visitors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | suffix_visitors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dictionary` [INFO] [stdout] --> tests/dictionary.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let dictionary = Dictionary::from_file("invalid_path"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictionary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord` [INFO] [stdout] --> src/stemmer/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stemmer/context.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 66 | todo!("step 4, 5"); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 67 | todo!("step 2, 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stemmer/context/visitor/dont_stem_short_word.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut context = Context::new("iya", &dictionary, None); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stemmer/context/visitor/dont_stem_short_word.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut context = Context::new("kambing", &dictionary, None); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/stemmer.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn stem_plural_word(&self, word: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix_visitors` and `suffix_visitors` are never read [INFO] [stdout] --> src/stemmer/context.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Context<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | prefix_visitors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | suffix_visitors: Vec>, [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 3.31s [INFO] running `Command { std: "docker" "inspect" "40e6b48c630ebff2dcc0b32a9b8ee4ab7b56b586f38e19f64a998cbd8fe8ba3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e6b48c630ebff2dcc0b32a9b8ee4ab7b56b586f38e19f64a998cbd8fe8ba3b", kill_on_drop: false }` [INFO] [stdout] 40e6b48c630ebff2dcc0b32a9b8ee4ab7b56b586f38e19f64a998cbd8fe8ba3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e607a322b8a9348ea00179c35d2a26b8701bbab720f25b14ad65c09312008917 [INFO] running `Command { std: "docker" "start" "-a" "e607a322b8a9348ea00179c35d2a26b8701bbab720f25b14ad65c09312008917", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord` [INFO] [stderr] --> src/stemmer/context.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::stemmer::context::visitor::dont_stem_short_word::DontStemShortWord; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/stemmer/context.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 66 | todo!("step 4, 5"); [INFO] [stderr] | ------------------ any code following this expression is unreachable [INFO] [stderr] 67 | todo!("step 2, 3"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `word` [INFO] [stderr] --> src/stemmer.rs:93:32 [INFO] [stderr] | [INFO] [stderr] 93 | fn stem_plural_word(&self, word: &str) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `prefix_visitors` and `suffix_visitors` are never read [INFO] [stderr] --> src/stemmer/context.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Context<'a> { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | prefix_visitors: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | suffix_visitors: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/stemmer/context/visitor/dont_stem_short_word.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | let mut context = Context::new("iya", &dictionary, None); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/stemmer/context/visitor/dont_stem_short_word.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | let mut context = Context::new("kambing", &dictionary, None); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `rustrawi` (lib) generated 4 warnings (run `cargo fix --lib -p rustrawi` to apply 1 suggestion) [INFO] [stderr] warning: `rustrawi` (lib test) generated 6 warnings (4 duplicates) (run `cargo fix --lib -p rustrawi --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `dictionary` [INFO] [stderr] --> tests/dictionary.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | let dictionary = Dictionary::from_file("invalid_path"); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictionary` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustrawi` (test "dictionary") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rustrawi-a2a14494c2ddfb10) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test dictionary::dictionary_add_test::should_add_from_list ... ok [INFO] [stdout] test dictionary::dictionary_add_test::should_be_able_to_add_word ... ok [INFO] [stdout] test dictionary::dictionary_add_test::should_not_add_empty_string ... ok [INFO] [stdout] test dictionary::dictionary_add_test::should_not_add_whitespace ... ok [INFO] [stdout] test dictionary::dictionary_add_test::should_trim_before_add ... ok [INFO] [stdout] test dictionary::dictionary_contains_test::should_return_false_if_string_is_not_contained ... ok [INFO] [stdout] test dictionary::dictionary_contains_test::should_return_true_if_string_is_contained ... ok [INFO] [stdout] test dictionary::dictionary_remove_test::should_remove_entry ... ok [INFO] [stdout] test dictionary::dictionary_remove_test::should_return_none_on_not_found ... ok [INFO] [stdout] test dictionary::dictionary_from_test::should_instantiate_from_file ... ok [INFO] [stdout] test dictionary::dictionary_from_test::should_instantiate_with_custom_string_collection ... ok [INFO] [stdout] test dictionary::dictionary_remove_test::should_return_none_on_empty_string ... ok [INFO] [stdout] test dictionary::dictionary_len_test::should_be_able_to_return_dictionary_length ... ok [INFO] [stdout] test dictionary::dictionary_new_test::should_generate_new_instance ... ok [INFO] [stdout] test dictionary::dictionary_remove_test::should_return_none_on_whitespace ... ok [INFO] [stdout] test stemmer::confix_stripping::precedence_adjustment::precedence_adjustment_test::should_satisfy_2 ... ok [INFO] [stdout] test stemmer::confix_stripping::precedence_adjustment::precedence_adjustment_test::should_not_satisfy ... ok [INFO] [stdout] test stemmer::confix_stripping::precedence_adjustment::precedence_adjustment_test::should_satisfy_4 ... ok [INFO] [stdout] test stemmer::context::visitor::dont_stem_short_word::dont_stem_short_word_test::long_word_should_return_do_nothing ... ok [INFO] [stdout] test stemmer::confix_stripping::precedence_adjustment::precedence_adjustment_test::should_satisfy_3 ... ok [INFO] [stdout] test stemmer::context::visitor::dont_stem_short_word::dont_stem_short_word_test::short_word_should_return_stop_process ... ok [INFO] [stdout] test stemmer::context::visitor::dont_stem_short_word::dont_stem_short_word_test::should_aware_long_word ... ok [INFO] [stdout] test stemmer::confix_stripping::precedence_adjustment::precedence_adjustment_test::should_satisfy_6 ... ok [INFO] [stdout] test stemmer::confix_stripping::precedence_adjustment::precedence_adjustment_test::should_satisfy_1 ... ok [INFO] [stdout] test stemmer::context::visitor::dont_stem_short_word::dont_stem_short_word_test::should_aware_short_word ... ok [INFO] [stdout] test stemmer::confix_stripping::precedence_adjustment::precedence_adjustment_test::should_satisfy_5 ... ok [INFO] [stdout] test stemmer::context::visitor::dont_stem_short_word::dont_stem_short_word_test::should_return_visitor_type ... ok [INFO] [stdout] test stemmer::context::context_test::should_not_stop_process_on_none_result ... ok [INFO] [stdout] test stemmer::context::context_test::should_stop_process_on_stop_process_result ... ok [INFO] [stdout] test stemmer::normalize_text_test::should_remove_multiple_whitespace ... ok [INFO] [stdout] test stop_word_remover::stop_word_remover_test::custom_stop_word_should_remove_stop_word ... ok [INFO] [stdout] test stop_word_remover::stop_word_remover_test::default_stop_word_should_remove_stop_word ... ok [INFO] [stdout] test stemmer::normalize_text_test::should_lowercase_text ... ok [INFO] [stdout] test stemmer::normalize_text_test::should_remove_other_than_alphabet ... ok [INFO] [stdout] test dictionary::dictionary_from_test::should_panic_if_instantiating_from_invalid_file - should panic ... ok [INFO] [stdout] test stemmer::is_plural_test::should_return_true_on_plural ... ok [INFO] [stdout] test stemmer::is_plural_test::should_return_true_on_plural_with_suffix ... ok [INFO] [stdout] test stemmer::is_plural_test::should_return_false_on_singular ... ok [INFO] [stdout] test stemmer::stemmer_test::should_stem_word ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- stemmer::stemmer_test::should_stem_word stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'stemmer::stemmer_test::should_stem_word' panicked at src/stemmer/context.rs:79:13: [INFO] [stdout] Resulting word is being called before available [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7373521809b2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7373521809b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7373521809b2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7373521809b2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7373521bbc63 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7373521bbc63 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x73735217dce3 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x73735217dce3 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x737352180802 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x737352181f7c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x737352181dd2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x737351ec9c64 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x737351ec9c64 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x737352182903 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x737352182903 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x737352182696 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x737352180ea9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x73735218235d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x737351e6e5f0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x737351e7c4ef - rustrawi::stemmer::context::Context::get_resulting_word::ha0fb377bb4f46186 [INFO] [stdout] at /opt/rustwide/workdir/src/stemmer/context.rs:79:13 [INFO] [stdout] 20: 0x737351e908c9 - rustrawi::stemmer::Stemmer::stem_singular_word::h4616f002b016baac [INFO] [stdout] at /opt/rustwide/workdir/src/stemmer.rs:90:17 [INFO] [stdout] 21: 0x737351e907f4 - rustrawi::stemmer::Stemmer::stem::{{closure}}::hc9197f8fb72d6361 [INFO] [stdout] at /opt/rustwide/workdir/src/stemmer.rs:81:22 [INFO] [stdout] 22: 0x737351e72b1d - core::ops::function::impls:: for &mut F>::call_once::hfcb5ac9012e5b5a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:305:21 [INFO] [stdout] 23: 0x737351e72b1d - core::option::Option::map::h9582f68a6e0a65de [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:1146:29 [INFO] [stdout] 24: 0x737351e72b1d - as core::iter::traits::iterator::Iterator>::next::h1adbefb518b18e3d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/iter/adapters/map.rs:107:26 [INFO] [stdout] 25: 0x737351e8dba1 - as alloc::vec::spec_from_iter_nested::SpecFromIterNested>::from_iter::h31539f8dd9ba5230 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/vec/spec_from_iter_nested.rs:25:41 [INFO] [stdout] 26: 0x737351e8f70d - as alloc::vec::spec_from_iter::SpecFromIter>::from_iter::h483bb3d73623f33a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/vec/spec_from_iter.rs:34:9 [INFO] [stdout] 27: 0x737351e8f684 - as core::iter::traits::collect::FromIterator>::from_iter::h307329a226910f01 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/vec/mod.rs:3470:9 [INFO] [stdout] 28: 0x737351e76dcd - core::iter::traits::iterator::Iterator::collect::ha9b255897a9d08bc [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/iter/traits/iterator.rs:2027:9 [INFO] [stdout] 29: 0x737351e906d4 - rustrawi::stemmer::Stemmer::stem::h8bc4e9e3c3518c9d [INFO] [stdout] at /opt/rustwide/workdir/src/stemmer.rs:83:12 [INFO] [stdout] 30: 0x737351e790fb - rustrawi::stemmer::stemmer_test::should_stem_word::h152a4f67e189fd55 [INFO] [stdout] at /opt/rustwide/workdir/src/stemmer.rs:162:30 [INFO] [stdout] 31: 0x737351e79077 - rustrawi::stemmer::stemmer_test::should_stem_word::{{closure}}::hd84444c720f024ff [INFO] [stdout] at /opt/rustwide/workdir/src/stemmer.rs:160:26 [INFO] [stdout] 32: 0x737351e7a076 - core::ops::function::FnOnce::call_once::hef69dc40dc799b88 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 33: 0x737351ecf35b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 34: 0x737351ecf35b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 35: 0x737351ece5ce - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 36: 0x737351ece5ce - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x737351ece5ce - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x737351ece5ce - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x737351ece5ce - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x737351ece5ce - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 41: 0x737351ece5ce - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 42: 0x737351e93454 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 43: 0x737351e93454 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 44: 0x737351e96c4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 45: 0x737351e96c4a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 46: 0x737351e96c4a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 47: 0x737351e96c4a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 48: 0x737351e96c4a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 49: 0x737351e96c4a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 50: 0x737351e96c4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 51: 0x737352185357 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 52: 0x737352185357 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 53: 0x737352185357 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] stemmer::stemmer_test::should_stem_word [INFO] [stdout] [INFO] [stdout] test result: FAILED. 38 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e607a322b8a9348ea00179c35d2a26b8701bbab720f25b14ad65c09312008917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e607a322b8a9348ea00179c35d2a26b8701bbab720f25b14ad65c09312008917", kill_on_drop: false }` [INFO] [stdout] e607a322b8a9348ea00179c35d2a26b8701bbab720f25b14ad65c09312008917