[INFO] fetching crate rten-text 0.19.0... [INFO] testing rten-text-0.19.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rten-text 0.19.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rten-text 0.19.0 [INFO] finished tweaking crates.io crate rten-text 0.19.0 [INFO] tweaked toml for crates.io crate rten-text 0.19.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rten-text 0.19.0 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] crate crates.io crate rten-text 0.19.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b76a9cdb72ac317db206f1aebf06db95106f9a0ee8ea3e4f30ac9692d659b0a2 [INFO] running `Command { std: "docker" "start" "-a" "b76a9cdb72ac317db206f1aebf06db95106f9a0ee8ea3e4f30ac9692d659b0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b76a9cdb72ac317db206f1aebf06db95106f9a0ee8ea3e4f30ac9692d659b0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76a9cdb72ac317db206f1aebf06db95106f9a0ee8ea3e4f30ac9692d659b0a2", kill_on_drop: false }` [INFO] [stdout] b76a9cdb72ac317db206f1aebf06db95106f9a0ee8ea3e4f30ac9692d659b0a2 [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: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] 665060e82738923187cea9a583a6e889ca78a49d269d6bd6f870e817c41a1611 [INFO] running `Command { std: "docker" "start" "-a" "665060e82738923187cea9a583a6e889ca78a49d269d6bd6f870e817c41a1611", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling rten-text v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/models/bpe.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | lines: &[impl AsRef], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | ) -> Vec<(EncodedByteSlice, EncodedByteSlice)> { [INFO] [stdout] | ---------------- ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 230 | ) -> Vec<(EncodedByteSlice<'_>, EncodedByteSlice<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.22s [INFO] running `Command { std: "docker" "inspect" "665060e82738923187cea9a583a6e889ca78a49d269d6bd6f870e817c41a1611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665060e82738923187cea9a583a6e889ca78a49d269d6bd6f870e817c41a1611", kill_on_drop: false }` [INFO] [stdout] 665060e82738923187cea9a583a6e889ca78a49d269d6bd6f870e817c41a1611 [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: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] ce010ff4d8894e763393938517ec3aae221aa172f38d3b53ab3ec510d49af66e [INFO] running `Command { std: "docker" "start" "-a" "ce010ff4d8894e763393938517ec3aae221aa172f38d3b53ab3ec510d49af66e", kill_on_drop: false }` [INFO] [stderr] Compiling rten-text v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/models/bpe.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | lines: &[impl AsRef], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | ) -> Vec<(EncodedByteSlice, EncodedByteSlice)> { [INFO] [stdout] | ---------------- ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 230 | ) -> Vec<(EncodedByteSlice<'_>, EncodedByteSlice<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/models/bpe.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | use rten_testing::TestCases; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/models/wordpiece.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use rten_testing::TestCases; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/normalizers.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | use rten_testing::TestCases; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/pre_tokenizers.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | use rten_testing::TestCases; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/tokenizer.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | use rten_testing::TestCases; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/split.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | use rten_testing::TestCases; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[bpe::tests::test_encode::Case<'_>; 4]` in the current scope [INFO] [stdout] --> src/models/bpe.rs:667:15 [INFO] [stdout] | [INFO] [stdout] 667 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[bpe::tests::test_encode::Case<'_>; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: Into>` is not satisfied [INFO] [stdout] --> src/models/bpe.rs:687:44 [INFO] [stdout] | [INFO] [stdout] 687 | let encoded = tokenizer.encode(*text, None).unwrap(); [INFO] [stdout] | ------ ^^^^^ the trait `Into>` is not implemented for `str` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `str` to implement `Into>` [INFO] [stdout] note: required by a bound in `tokenizer::Tokenizer::encode` [INFO] [stdout] --> src/tokenizer.rs:500:26 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn encode<'a, I: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Tokenizer::encode` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 687 | let encoded = tokenizer.encode(&*text, None).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/models/bpe.rs:687:44 [INFO] [stdout] | [INFO] [stdout] 687 | let encoded = tokenizer.encode(*text, None).unwrap(); [INFO] [stdout] | ------ ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `tokenizer::Tokenizer::encode` [INFO] [stdout] --> src/tokenizer.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn encode<'a, I: Into>>( [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `Tokenizer::encode` [INFO] [stdout] help: references are always `Sized`, even if they point to unsized data; consider not dereferencing the expression [INFO] [stdout] | [INFO] [stdout] 687 - let encoded = tokenizer.encode(*text, None).unwrap(); [INFO] [stdout] 687 + let encoded = tokenizer.encode(text, None).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] --> src/tokenizer.rs:500:48 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn encode<'a, I: Into> + ?Sized>( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[bpe::tests::test_get_token_str::Case<'_>; 3]` in the current scope [INFO] [stdout] --> src/models/bpe.rs:725:15 [INFO] [stdout] | [INFO] [stdout] 725 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[bpe::tests::test_get_token_str::Case<'_>; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[bpe::tests::test_decode::Case<'_>; 4]` in the current scope [INFO] [stdout] --> src/models/bpe.rs:780:15 [INFO] [stdout] | [INFO] [stdout] 780 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[bpe::tests::test_decode::Case<'_>; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: Into>` is not satisfied [INFO] [stdout] --> src/models/bpe.rs:800:44 [INFO] [stdout] | [INFO] [stdout] 800 | let encoded = tokenizer.encode(*text, None).unwrap(); [INFO] [stdout] | ------ ^^^^^ the trait `Into>` is not implemented for `str` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `str` to implement `Into>` [INFO] [stdout] note: required by a bound in `tokenizer::Tokenizer::encode` [INFO] [stdout] --> src/tokenizer.rs:500:26 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn encode<'a, I: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Tokenizer::encode` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 800 | let encoded = tokenizer.encode(&*text, None).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/models/bpe.rs:800:44 [INFO] [stdout] | [INFO] [stdout] 800 | let encoded = tokenizer.encode(*text, None).unwrap(); [INFO] [stdout] | ------ ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `tokenizer::Tokenizer::encode` [INFO] [stdout] --> src/tokenizer.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn encode<'a, I: Into>>( [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `Tokenizer::encode` [INFO] [stdout] help: references are always `Sized`, even if they point to unsized data; consider not dereferencing the expression [INFO] [stdout] | [INFO] [stdout] 800 - let encoded = tokenizer.encode(*text, None).unwrap(); [INFO] [stdout] 800 + let encoded = tokenizer.encode(text, None).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] --> src/tokenizer.rs:500:48 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn encode<'a, I: Into> + ?Sized>( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/models/bpe.rs:802:16 [INFO] [stdout] | [INFO] [stdout] 802 | if *add_eos { [INFO] [stdout] | ^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[wordpiece::tests::test_wordpiece_model::Case<'_>; 8]` in the current scope [INFO] [stdout] --> src/models/wordpiece.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[wordpiece::tests::test_wordpiece_model::Case<'_>; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[wordpiece::tests::test_wordpiece_model_lowercase::Case<'_>; 2]` in the current scope [INFO] [stdout] --> src/models/wordpiece.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[wordpiece::tests::test_wordpiece_model_lowercase::Case<'_>; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[wordpiece::tests::test_decode::Case<'_>; 3]` in the current scope [INFO] [stdout] --> src/models/wordpiece.rs:328:15 [INFO] [stdout] | [INFO] [stdout] 328 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[wordpiece::tests::test_decode::Case<'_>; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[normalizers::tests::test_bert_lowercase::Case<'_>; 2]` in the current scope [INFO] [stdout] --> src/normalizers.rs:412:15 [INFO] [stdout] | [INFO] [stdout] 412 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[normalizers::tests::test_bert_lowercase::Case<'_>; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[normalizers::tests::test_bert_strip_accepts::Case<'_>; 2]` in the current scope [INFO] [stdout] --> src/normalizers.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[normalizers::tests::test_bert_strip_accepts::Case<'_>; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/normalizers.rs:465:28 [INFO] [stdout] | [INFO] [stdout] 465 | lowercase: *lowercase, [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[normalizers::tests::test_replace::Case<'_>; 3]` in the current scope [INFO] [stdout] --> src/normalizers.rs:514:15 [INFO] [stdout] | [INFO] [stdout] 514 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[normalizers::tests::test_replace::Case<'_>; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each_value` found for array `[normalizers::tests::test_sequence::Case<'_>; 3]` in the current scope [INFO] [stdout] --> src/normalizers.rs:598:15 [INFO] [stdout] | [INFO] [stdout] 598 | cases.test_each_value(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[normalizers::tests::test_sequence::Case<'_>; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[normalizers::tests::test_unicode::Case<'_>; 9]` in the current scope [INFO] [stdout] --> src/normalizers.rs:672:15 [INFO] [stdout] | [INFO] [stdout] 672 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[normalizers::tests::test_unicode::Case<'_>; 9]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pre_tokenizers::tests::test_bert::Case<'_>; 1]` in the current scope [INFO] [stdout] --> src/pre_tokenizers.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pre_tokenizers::tests::test_bert::Case<'_>; 1]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pre_tokenizers::tests::test_digits::Case<'_>; 2]` in the current scope [INFO] [stdout] --> src/pre_tokenizers.rs:317:15 [INFO] [stdout] | [INFO] [stdout] 317 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pre_tokenizers::tests::test_digits::Case<'_>; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pre_tokenizers::tests::test_split::Case<'_>; 4]` in the current scope [INFO] [stdout] --> src/pre_tokenizers.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pre_tokenizers::tests::test_split::Case<'_>; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[tokenizer::tests::test_text_for_token_range::Case<'_>; 10]` in the current scope [INFO] [stdout] --> src/tokenizer.rs:966:15 [INFO] [stdout] | [INFO] [stdout] 966 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[tokenizer::tests::test_text_for_token_range::Case<'_>; 10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[tokenizer::tests::test_encode_chunks_single_sequence::Case<'_>; 7]` in the current scope [INFO] [stdout] --> src/tokenizer.rs:1083:15 [INFO] [stdout] | [INFO] [stdout] 1083 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[tokenizer::tests::test_encode_chunks_single_sequence::Case<'_>; 7]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/tokenizer.rs:1102:16 [INFO] [stdout] | [INFO] [stdout] 1102 | if *lowercase { [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option` cannot be dereferenced [INFO] [stdout] --> src/tokenizer.rs:1107:32 [INFO] [stdout] | [INFO] [stdout] 1107 | max_chunk_len: *max_chunk_len, [INFO] [stdout] | ^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced [INFO] [stdout] --> src/tokenizer.rs:1108:26 [INFO] [stdout] | [INFO] [stdout] 1108 | overlap: *overlap, [INFO] [stdout] | ^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[tokenizer::tests::test_encode_chunks_sequence_pair::Case<'_>; 6]` in the current scope [INFO] [stdout] --> src/tokenizer.rs:1278:15 [INFO] [stdout] | [INFO] [stdout] 1278 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[tokenizer::tests::test_encode_chunks_sequence_pair::Case<'_>; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/tokenizer.rs:1298:16 [INFO] [stdout] | [INFO] [stdout] 1298 | if *lowercase { [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option` cannot be dereferenced [INFO] [stdout] --> src/tokenizer.rs:1303:32 [INFO] [stdout] | [INFO] [stdout] 1303 | max_chunk_len: *max_chunk_len, [INFO] [stdout] | ^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced [INFO] [stdout] --> src/tokenizer.rs:1304:26 [INFO] [stdout] | [INFO] [stdout] 1304 | overlap: *overlap, [INFO] [stdout] | ^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tokenizer.rs:1308:32 [INFO] [stdout] | [INFO] [stdout] 1308 | .encode_chunks((*query, *context).into(), options) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(str, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(str, str)` [INFO] [stdout] = note: tuples must have a statically known size to be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncoderInput<'_>: From<&(str, str)>` is not satisfied [INFO] [stdout] --> src/tokenizer.rs:1308:51 [INFO] [stdout] | [INFO] [stdout] 1308 | .encode_chunks((*query, *context).into(), options) [INFO] [stdout] | ^^^^ the trait `From<&(str, str)>` is not implemented for `EncoderInput<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `EncoderInput<'_>` implements `From<&std::string::String>` [INFO] [stdout] `EncoderInput<'_>` implements `From<&str>` [INFO] [stdout] `EncoderInput<'_>` implements `From<(&str, &str)>` [INFO] [stdout] = note: required for `&(str, str)` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/tokenizer.rs:1327:39 [INFO] [stdout] | [INFO] [stdout] 1327 | let text = if *lowercase { [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[split::tests::test_chunks_overlap::Case<'_>; 5]` in the current scope [INFO] [stdout] --> src/split.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[split::tests::test_chunks_overlap::Case<'_>; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[split::tests::test_split_keep_delimeters::Case<'_>; 5]` in the current scope [INFO] [stdout] --> src/split.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[split::tests::test_split_keep_delimeters::Case<'_>; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rten-text` (lib test) due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "ce010ff4d8894e763393938517ec3aae221aa172f38d3b53ab3ec510d49af66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce010ff4d8894e763393938517ec3aae221aa172f38d3b53ab3ec510d49af66e", kill_on_drop: false }` [INFO] [stdout] ce010ff4d8894e763393938517ec3aae221aa172f38d3b53ab3ec510d49af66e