[INFO] fetching crate creature_feature 0.1.7... [INFO] testing creature_feature-0.1.7 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate creature_feature 0.1.7 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate creature_feature 0.1.7 [INFO] finished tweaking crates.io crate creature_feature 0.1.7 [INFO] tweaked toml for crates.io crate creature_feature 0.1.7 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate creature_feature 0.1.7 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate creature_feature 0.1.7 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.166 [INFO] [stderr] Downloaded critical-section v1.1.1 [INFO] [stderr] Downloaded atomic-polyfill v0.1.11 [INFO] [stderr] Downloaded serde v1.0.166 [INFO] [stderr] Downloaded heapless v0.7.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ada5de594ba2eec974c1996e9b629899c4f486c39422af60634d8dd38ded9b59 [INFO] running `Command { std: "docker" "start" "-a" "ada5de594ba2eec974c1996e9b629899c4f486c39422af60634d8dd38ded9b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ada5de594ba2eec974c1996e9b629899c4f486c39422af60634d8dd38ded9b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada5de594ba2eec974c1996e9b629899c4f486c39422af60634d8dd38ded9b59", kill_on_drop: false }` [INFO] [stdout] ada5de594ba2eec974c1996e9b629899c4f486c39422af60634d8dd38ded9b59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e247aae75cbaab86b96b7e1cb045877c60a150c9ffff98730deb3389d95089f4 [INFO] running `Command { std: "docker" "start" "-a" "e247aae75cbaab86b96b7e1cb045877c60a150c9ffff98730deb3389d95089f4", kill_on_drop: false }` [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling creature_feature v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: const parameter `N_Hashes` should have an upper case name [INFO] [stdout] --> src/accum_ftzr.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 324 - impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] 324 + impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `N_Hashes` should have an upper case name [INFO] [stdout] --> src/accum_ftzr.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 324 - impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] 324 + impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "e247aae75cbaab86b96b7e1cb045877c60a150c9ffff98730deb3389d95089f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e247aae75cbaab86b96b7e1cb045877c60a150c9ffff98730deb3389d95089f4", kill_on_drop: false }` [INFO] [stdout] e247aae75cbaab86b96b7e1cb045877c60a150c9ffff98730deb3389d95089f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39cf13df384fbd98f6b0c0bd74ce3aaec46f04b20727c5e6385b5c4da0d20230 [INFO] running `Command { std: "docker" "start" "-a" "39cf13df384fbd98f6b0c0bd74ce3aaec46f04b20727c5e6385b5c4da0d20230", kill_on_drop: false }` [INFO] [stderr] Compiling creature_feature v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: const parameter `N_Hashes` should have an upper case name [INFO] [stdout] --> src/accum_ftzr.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 324 - impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] 324 + impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `N_Hashes` should have an upper case name [INFO] [stdout] --> src/accum_ftzr.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 324 - impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] 324 + impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `N_Hashes` should have an upper case name [INFO] [stdout] --> src/accum_ftzr.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 324 - impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] 324 + impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "39cf13df384fbd98f6b0c0bd74ce3aaec46f04b20727c5e6385b5c4da0d20230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cf13df384fbd98f6b0c0bd74ce3aaec46f04b20727c5e6385b5c4da0d20230", kill_on_drop: false }` [INFO] [stdout] 39cf13df384fbd98f6b0c0bd74ce3aaec46f04b20727c5e6385b5c4da0d20230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a65ba002c3d559a650ec7781b6309d5510156165672046d566ac6df4426ebb1 [INFO] running `Command { std: "docker" "start" "-a" "0a65ba002c3d559a650ec7781b6309d5510156165672046d566ac6df4426ebb1", kill_on_drop: false }` [INFO] [stderr] warning: const parameter `N_Hashes` should have an upper case name [INFO] [stderr] --> src/accum_ftzr.rs:324:25 [INFO] [stderr] | [INFO] [stderr] 324 | impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 324 - impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stderr] 324 + impl Accumulates for [HashedAs; N_Hashes] { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `creature_feature` (lib) generated 1 warning (run `cargo fix --lib -p creature_feature` to apply 1 suggestion) [INFO] [stderr] warning: `creature_feature` (bin "creature_feature" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `creature_feature` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/creature_feature-c5b07c9d07e1e168) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/creature_feature-681916004335ede6) [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 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests creature_feature [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::IterFtzr (line 215) ... FAILED [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::Ftzr::featurize (line 110) ... FAILED [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::BinaryHeap (line 391) ... FAILED [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::Ftzr::push_tokens (line 56) ... ok [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::IterFtzr (line 232) ... FAILED [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::Ftzr (line 20) ... ok [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::Ftzr::push_tokens_from (line 75) ... ok [INFO] [stdout] test src/gap_gram.rs - gap_gram::gap_gram (line 205) ... FAILED [INFO] [stdout] test src/for_each.rs - for_each::for_each (line 74) ... FAILED [INFO] [stdout] test src/convert.rs - convert::Bag (line 15) ... FAILED [INFO] [stdout] test src/convert.rs - convert::Merged (line 25) ... FAILED [INFO] [stdout] test src/accum_ftzr.rs - accum_ftzr::Ftzr::featurize_x2 (line 144) ... ok [INFO] [stdout] test src/hashedfeature.rs - hashedfeature::HashedAs (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - (line 101) ... FAILED [INFO] [stdout] test src/bookends.rs - bookends::bookends (line 23) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/feature_from.rs - feature_from::FeatureFrom (line 5) ... ok [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/gap_gram.rs - gap_gram::gap_gram (line 183) ... ok [INFO] [stdout] test src/lib.rs - (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - (line 127) ... ok [INFO] [stdout] test src/lib.rs - ftzrs::featurizers (line 224) ... FAILED [INFO] [stdout] test src/lib.rs - (line 156) ... FAILED [INFO] [stdout] test src/n_slice.rs - n_slice::n_slice (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/n_gram.rs - n_gram::n_gram (line 120) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/accum_ftzr.rs - accum_ftzr::IterFtzr (line 215) stdout ---- [INFO] [stdout] error[E0599]: no method named `iterate_features` found for struct `NGram` in the current scope [INFO] [stdout] --> src/accum_ftzr.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 11 | for bg in bigram().iterate_features(data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `NGram<2>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/accum_ftzr.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn iterate_features(&self, input: InputData) -> Self::Iter; [INFO] [stdout] | ---------------- the method is available for `NGram<2>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IterFtzr` which provides `iterate_features` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::creature_feature::traits::IterFtzr; [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/accum_ftzr.rs - accum_ftzr::Ftzr::featurize (line 110) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Bag` in this scope [INFO] [stdout] --> src/accum_ftzr.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 17 | let ref_bag: Bag> = bislice().featurize(int_data); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bag` in this scope [INFO] [stdout] --> src/accum_ftzr.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 18 | let ref_bag: Bag> = for_each(bislice()).featurize(str_data.split_ascii_whitespace()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/accum_ftzr.rs - accum_ftzr::BinaryHeap (line 391) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature `binary_heap_into_iter_sorted` [INFO] [stdout] --> src/accum_ftzr.rs:405:6 [INFO] [stdout] | [INFO] [stdout] 17 | .into_iter_sorted() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #59278 for more information [INFO] [stdout] = help: add `#![feature(binary_heap_into_iter_sorted)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/accum_ftzr.rs - accum_ftzr::IterFtzr (line 232) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Ftzr` in this scope [INFO] [stdout] --> src/accum_ftzr.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ftzr for MyIterFtzr [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::traits::Ftzr; [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 E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gap_gram.rs - gap_gram::gap_gram (line 205) stdout ---- [INFO] [stdout] error: cannot find macro `featurizers` in this scope [INFO] [stdout] --> src/gap_gram.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 4 | let skip3gram = featurizers!(gap_gram(gram, 0, gram) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::featurizers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `n_gram` in this scope [INFO] [stdout] --> src/gap_gram.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 3 | let gram = n_gram::<2>(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::n_gram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/for_each.rs - for_each::for_each (line 74) stdout ---- [INFO] [stdout] error[E0599]: no method named `featurize` found for struct `ForEach` in the current scope [INFO] [stdout] --> src/for_each.rs:83:66 [INFO] [stdout] | [INFO] [stdout] 12 | let bag_of_words: Bag> = for_each(whole()).featurize(sentence); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/accum_ftzr.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn featurize(&self, input: InputData) -> A [INFO] [stdout] | --------- the method is available for `ForEach` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Ftzr` which provides `featurize` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::creature_feature::traits::Ftzr; [INFO] [stdout] | [INFO] [stdout] help: there is a method `featurize_x2` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | let bag_of_words: Bag> = for_each(whole()).featurize_x2(sentence); [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/convert.rs - convert::Bag (line 15) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/convert.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 1 | let bag_of_words Bag> = for_each(your_ftzr).featuize(your_sentence); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/convert.rs - convert::Merged (line 25) stdout ---- [INFO] [stdout] error: cannot find macro `featurizers` in this scope [INFO] [stdout] --> src/convert.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 4 | let feats: Vec> = featurizers!(ftzr1, ftzr2).featurize(your_data); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::featurizers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Merged` in this scope [INFO] [stdout] --> src/convert.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 4 | let feats: Vec> = featurizers!(ftzr1, ftzr2).featurize(your_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Merged; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `your_data` in this scope [INFO] [stdout] --> src/convert.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 4 | let feats: Vec> = featurizers!(ftzr1, ftzr2).featurize(your_data); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Merged` in this scope [INFO] [stdout] --> src/convert.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 5 | let feats: Vec>> = bookends((ftzr1, 3), (ftzr2, 17)).featurize(your_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Merged; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashedAs` in this scope [INFO] [stdout] --> src/convert.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 5 | let feats: Vec>> = bookends((ftzr1, 3), (ftzr2, 17)).featurize(your_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::HashedAs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bookends` in this scope [INFO] [stdout] --> src/convert.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 5 | let feats: Vec>> = bookends((ftzr1, 3), (ftzr2, 17)).featurize(your_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bookends; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ftzr1` in this scope [INFO] [stdout] --> src/convert.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 5 | let feats: Vec>> = bookends((ftzr1, 3), (ftzr2, 17)).featurize(your_data); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ftzr2` in this scope [INFO] [stdout] --> src/convert.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 5 | let feats: Vec>> = bookends((ftzr1, 3), (ftzr2, 17)).featurize(your_data); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `your_data` in this scope [INFO] [stdout] --> src/convert.rs:28:85 [INFO] [stdout] | [INFO] [stdout] 5 | let feats: Vec>> = bookends((ftzr1, 3), (ftzr2, 17)).featurize(your_data); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hashedfeature.rs - hashedfeature::HashedAs (line 15) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature `binary_heap_into_iter_sorted` [INFO] [stdout] --> src/hashedfeature.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 17 | .into_iter_sorted() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #59278 for more information [INFO] [stdout] = help: add `#![feature(binary_heap_into_iter_sorted)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 101) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `trigram` in this scope [INFO] [stdout] --> src/lib.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 5 | let one: Vec = trigram().featurize(sentence); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::trigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trigram` in this scope [INFO] [stdout] --> src/lib.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 6 | let two: Vec<[u8;3]> = trigram().featurize(sentence); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::trigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trislice` in this scope [INFO] [stdout] --> src/lib.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 7 | let three: Vec<&str> = trislice().featurize(sentence); // same performance as &[u8] [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::trislice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashedAs` in this scope [INFO] [stdout] --> src/lib.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 8 | let four: Vec> = trislice().featurize(sentence); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::HashedAs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trislice` in this scope [INFO] [stdout] --> src/lib.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 8 | let four: Vec> = trislice().featurize(sentence); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::trislice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 1 | ["on", "ne", "e ", " f", "fi", "is", "sh", "h ", " t", "tw", "wo", "o ", " f", "fi", "is", "sh", "h ", " r", "re", "ed", "d ", " f", "fi"... [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `trislice` in this scope [INFO] [stdout] --> src/lib.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 22 | let hashed_trigrams: BTreeSet> = trislice().featurize(int_data); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/n_slice.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn bislice() -> SliceGram { [INFO] [stdout] | ----------------------------- similarly named function `bislice` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 - let hashed_trigrams: BTreeSet> = trislice().featurize(int_data); [INFO] [stdout] 22 + let hashed_trigrams: BTreeSet> = bislice().featurize(int_data); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::trislice; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 81) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `BTreeSet` in this scope [INFO] [stdout] --> src/lib.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 3 | let (set, list): (BTreeSet>, Vec<&str>) = bislice().featurize_x2(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashedAs` in this scope [INFO] [stdout] --> src/lib.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 3 | let (set, list): (BTreeSet>, Vec<&str>) = bislice().featurize_x2(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::HashedAs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bislice` in this scope [INFO] [stdout] --> src/lib.rs:82:57 [INFO] [stdout] | [INFO] [stdout] 3 | let (set, list): (BTreeSet>, Vec<&str>) = bislice().featurize_x2(str_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bislice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `str_data` in this scope [INFO] [stdout] --> src/lib.rs:82:80 [INFO] [stdout] | [INFO] [stdout] 3 | let (set, list): (BTreeSet>, Vec<&str>) = bislice().featurize_x2(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ftzrs::featurizers (line 224) stdout ---- [INFO] [stdout] error: cannot find macro `featurizers` in this scope [INFO] [stdout] --> src/lib.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 3 | let my_ftzr = featurizers!(ftzr1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::featurizers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/lib.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 7 | let feats: HashSet> = my_ftzr.featurize(your_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Merged` in this scope [INFO] [stdout] --> src/lib.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 7 | let feats: HashSet> = my_ftzr.featurize(your_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Merged; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `your_data` in this scope [INFO] [stdout] --> src/lib.rs:229:54 [INFO] [stdout] | [INFO] [stdout] 7 | let feats: HashSet> = my_ftzr.featurize(your_data); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 156) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> src/lib.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Ftzr<&'a Book> for BookFtzr { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a, Book> Ftzr<&'a Book> for BookFtzr { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> src/lib.rs:166:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn push_tokens(&self, book: &'a Book, push: &mut Push) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/n_slice.rs - n_slice::n_slice (line 16) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/n_slice.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<&[T]> = my_ftzr.featurize(my_data); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_n_slice_rs_16_0() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_data` in this scope [INFO] [stdout] --> src/n_slice.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<&[T]> = my_ftzr.featurize(my_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_other_data` in this scope [INFO] [stdout] --> src/n_slice.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 10 | let feats: Vec<&str> = my_ftzr.featurize(my_other_data); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `featurize` found for struct `SliceGram` in the current scope [INFO] [stdout] --> src/n_slice.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<&[T]> = my_ftzr.featurize(my_data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/accum_ftzr.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn featurize(&self, input: InputData) -> A [INFO] [stdout] | --------- the method is available for `SliceGram` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Ftzr` which provides `featurize` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::creature_feature::traits::Ftzr; [INFO] [stdout] | [INFO] [stdout] help: there is a method `featurize_x2` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<&[T]> = my_ftzr.featurize_x2(my_data); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `featurize` found for struct `SliceGram` in the current scope [INFO] [stdout] --> src/n_slice.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 10 | let feats: Vec<&str> = my_ftzr.featurize(my_other_data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/accum_ftzr.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn featurize(&self, input: InputData) -> A [INFO] [stdout] | --------- the method is available for `SliceGram` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Ftzr` which provides `featurize` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::creature_feature::traits::Ftzr; [INFO] [stdout] | [INFO] [stdout] help: there is a method `featurize_x2` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | let feats: Vec<&str> = my_ftzr.featurize_x2(my_other_data); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 63) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `BTreeSet` in this scope [INFO] [stdout] --> src/lib.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 4 | let owned_feats: BTreeSet<[u8; 2]> = bigram().featurize(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bigram` in this scope [INFO] [stdout] --> src/lib.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 4 | let owned_feats: BTreeSet<[u8; 2]> = bigram().featurize(str_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `str_data` in this scope [INFO] [stdout] --> src/lib.rs:65:64 [INFO] [stdout] | [INFO] [stdout] 4 | let owned_feats: BTreeSet<[u8; 2]> = bigram().featurize(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bigram` in this scope [INFO] [stdout] --> src/lib.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 5 | let owned_feats: Vec = bigram().featurize(str_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `str_data` in this scope [INFO] [stdout] --> src/lib.rs:66:64 [INFO] [stdout] | [INFO] [stdout] 5 | let owned_feats: Vec = bigram().featurize(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/lib.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 6 | let owned_feats: HashSet> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bigram` in this scope [INFO] [stdout] --> src/lib.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 6 | let owned_feats: HashSet> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `int_data` in this scope [INFO] [stdout] --> src/lib.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 6 | let owned_feats: HashSet> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bag` in this scope [INFO] [stdout] --> src/lib.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 7 | let owned_bag: Bag, u16>> = bigram().featurize(int_data); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 7 | let owned_bag: Bag, u16>> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [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[E0425]: cannot find function `bigram` in this scope [INFO] [stdout] --> src/lib.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 7 | let owned_bag: Bag, u16>> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `int_data` in this scope [INFO] [stdout] --> src/lib.rs:68:74 [INFO] [stdout] | [INFO] [stdout] 7 | let owned_bag: Bag, u16>> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryHeap` in this scope [INFO] [stdout] --> src/lib.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 9 | let hashed_feats: BinaryHeap> = bislice().featurize(str_data); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::BinaryHeap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashedAs` in this scope [INFO] [stdout] --> src/lib.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 9 | let hashed_feats: BinaryHeap> = bislice().featurize(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::HashedAs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bislice` in this scope [INFO] [stdout] --> src/lib.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 9 | let hashed_feats: BinaryHeap> = bislice().featurize(str_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bislice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `str_data` in this scope [INFO] [stdout] --> src/lib.rs:70:67 [INFO] [stdout] | [INFO] [stdout] 9 | let hashed_feats: BinaryHeap> = bislice().featurize(str_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> src/lib.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 10 | let hashed_feats: VecDeque> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashedAs` in this scope [INFO] [stdout] --> src/lib.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 10 | let hashed_feats: VecDeque> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::HashedAs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bigram` in this scope [INFO] [stdout] --> src/lib.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 10 | let hashed_feats: VecDeque> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `int_data` in this scope [INFO] [stdout] --> src/lib.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 10 | let hashed_feats: VecDeque> = bigram().featurize(int_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `str_data` in this scope [INFO] [stdout] --> src/lib.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 12 | let sentence = str_data.split_ascii_whitespace(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bag` in this scope [INFO] [stdout] --> src/lib.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 13 | let bag_of_words: Bag> = for_each(bigram()) .featurize(sentence.clone()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 13 | let bag_of_words: Bag> = for_each(bigram()) .featurize(sentence.clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [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[E0425]: cannot find function `for_each` in this scope [INFO] [stdout] --> src/lib.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 13 | let bag_of_words: Bag> = for_each(bigram()) .featurize(sentence.clone()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::for_each; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bigram` in this scope [INFO] [stdout] --> src/lib.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 13 | let bag_of_words: Bag> = for_each(bigram()) .featurize(sentence.clone()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bigram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bag` in this scope [INFO] [stdout] --> src/lib.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 14 | let bag_of_words: Bag> = for_each(bislice()).featurize(sentence.clone()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::convert::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 14 | let bag_of_words: Bag> = for_each(bislice()).featurize(sentence.clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [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[E0425]: cannot find function `for_each` in this scope [INFO] [stdout] --> src/lib.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 14 | let bag_of_words: Bag> = for_each(bislice()).featurize(sentence.clone()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::for_each; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bislice` in this scope [INFO] [stdout] --> src/lib.rs:75:57 [INFO] [stdout] | [INFO] [stdout] 14 | let bag_of_words: Bag> = for_each(bislice()).featurize(sentence.clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use creature_feature::ftzrs::bislice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/n_gram.rs - n_gram::n_gram (line 120) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/n_gram.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<[T; 7]> = my_ftzr.featurize(my_data); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_n_gram_rs_120_0() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_data` in this scope [INFO] [stdout] --> src/n_gram.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<[T; 7]> = my_ftzr.featurize(my_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_other_data` in this scope [INFO] [stdout] --> src/n_gram.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 10 | let feats: Vec = my_ftzr.featurize(my_other_data); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `featurize` found for struct `NGram` in the current scope [INFO] [stdout] --> src/n_gram.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<[T; 7]> = my_ftzr.featurize(my_data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/accum_ftzr.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn featurize(&self, input: InputData) -> A [INFO] [stdout] | --------- the method is available for `NGram<7>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Ftzr` which provides `featurize` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::creature_feature::traits::Ftzr; [INFO] [stdout] | [INFO] [stdout] help: there is a method `featurize_x2` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | let feats: Vec<[T; 7]> = my_ftzr.featurize_x2(my_data); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `featurize` found for struct `NGram` in the current scope [INFO] [stdout] --> src/n_gram.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 10 | let feats: Vec = my_ftzr.featurize(my_other_data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/accum_ftzr.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn featurize(&self, input: InputData) -> A [INFO] [stdout] | --------- the method is available for `NGram<7>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Ftzr` which provides `featurize` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::creature_feature::traits::Ftzr; [INFO] [stdout] | [INFO] [stdout] help: there is a method `featurize_x2` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | let feats: Vec = my_ftzr.featurize_x2(my_other_data); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/accum_ftzr.rs - accum_ftzr::BinaryHeap (line 391) [INFO] [stdout] src/accum_ftzr.rs - accum_ftzr::Ftzr::featurize (line 110) [INFO] [stdout] src/accum_ftzr.rs - accum_ftzr::IterFtzr (line 215) [INFO] [stdout] src/accum_ftzr.rs - accum_ftzr::IterFtzr (line 232) [INFO] [stdout] src/convert.rs - convert::Bag (line 15) [INFO] [stdout] src/convert.rs - convert::Merged (line 25) [INFO] [stdout] src/for_each.rs - for_each::for_each (line 74) [INFO] [stdout] src/gap_gram.rs - gap_gram::gap_gram (line 205) [INFO] [stdout] src/hashedfeature.rs - hashedfeature::HashedAs (line 15) [INFO] [stdout] src/lib.rs - (line 101) [INFO] [stdout] src/lib.rs - (line 156) [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] src/lib.rs - (line 63) [INFO] [stdout] src/lib.rs - (line 81) [INFO] [stdout] src/lib.rs - ftzrs::featurizers (line 224) [INFO] [stdout] src/n_gram.rs - n_gram::n_gram (line 120) [INFO] [stdout] src/n_slice.rs - n_slice::n_slice (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.03s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0a65ba002c3d559a650ec7781b6309d5510156165672046d566ac6df4426ebb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a65ba002c3d559a650ec7781b6309d5510156165672046d566ac6df4426ebb1", kill_on_drop: false }` [INFO] [stdout] 0a65ba002c3d559a650ec7781b6309d5510156165672046d566ac6df4426ebb1