[INFO] fetching crate icu_plurals 0.5.0... [INFO] testing icu_plurals-0.5.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate icu_plurals 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate icu_plurals 0.5.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate icu_plurals 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate icu_plurals 0.5.0 [INFO] tweaked toml for crates.io crate icu_plurals 0.5.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate icu_plurals 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb4889cfc4a9ffd9d5c179e450c2d52d4120a0e36ba6bb8497d7d505b790519f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cb4889cfc4a9ffd9d5c179e450c2d52d4120a0e36ba6bb8497d7d505b790519f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb4889cfc4a9ffd9d5c179e450c2d52d4120a0e36ba6bb8497d7d505b790519f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4889cfc4a9ffd9d5c179e450c2d52d4120a0e36ba6bb8497d7d505b790519f", kill_on_drop: false }` [INFO] [stdout] cb4889cfc4a9ffd9d5c179e450c2d52d4120a0e36ba6bb8497d7d505b790519f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7fa7ce1195dfdce661e431863e095b6c426e74de3c804b9ba54a0104b526e692 [INFO] running `Command { std: "docker" "start" "-a" "7fa7ce1195dfdce661e431863e095b6c426e74de3c804b9ba54a0104b526e692", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling tinystr-raw v0.1.3 [INFO] [stderr] Compiling writeable v0.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.3.0 [INFO] [stderr] Compiling tinystr-macros v0.2.0 [INFO] [stderr] Compiling tinystr v0.4.12 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling yoke-derive v0.4.1 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling icu_provider_macros v0.5.0 [INFO] [stderr] Compiling icu_locid v0.5.0 [INFO] [stderr] Compiling fixed_decimal v0.2.2 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling yoke v0.4.0 [INFO] [stderr] Compiling icu_provider v0.5.0 [INFO] [stderr] Compiling zerovec v0.6.0 [INFO] [stderr] Compiling icu_plurals v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.62s [INFO] running `Command { std: "docker" "inspect" "7fa7ce1195dfdce661e431863e095b6c426e74de3c804b9ba54a0104b526e692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fa7ce1195dfdce661e431863e095b6c426e74de3c804b9ba54a0104b526e692", kill_on_drop: false }` [INFO] [stdout] 7fa7ce1195dfdce661e431863e095b6c426e74de3c804b9ba54a0104b526e692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6cddb689231d4c7a3d0cdd9448ba0608e61857c5966d147e2a83cecd992ef2d3 [INFO] running `Command { std: "docker" "start" "-a" "6cddb689231d4c7a3d0cdd9448ba0608e61857c5966d147e2a83cecd992ef2d3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling icu_benchmark_macros v0.5.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling icu_locid_macros v0.5.0 [INFO] [stderr] Compiling yoke v0.4.0 [INFO] [stderr] Compiling postcard v0.7.3 [INFO] [stderr] Compiling icu_locid v0.5.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde-json-core v0.4.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling zerovec v0.6.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling icu_provider v0.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling icu_provider_blob v0.5.0 [INFO] [stderr] Compiling icu_provider_fs v0.5.0 [INFO] [stderr] Compiling icu_plurals v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_testdata v0.5.0 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/icu_plurals-60bd01621f091b88) [INFO] [stderr] Executable tests/categories.rs (/opt/rustwide/target/debug/deps/categories-c0c454c649301e56) [INFO] [stderr] Executable tests/helpers.rs (/opt/rustwide/target/debug/deps/helpers-121581e28f54065c) [INFO] [stderr] Executable tests/plurals.rs (/opt/rustwide/target/debug/deps/plurals-805a3572619707fa) [INFO] [stderr] Executable tests/rules.rs (/opt/rustwide/target/debug/deps/rules-9343128de92836ef) [INFO] running `Command { std: "docker" "inspect" "6cddb689231d4c7a3d0cdd9448ba0608e61857c5966d147e2a83cecd992ef2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cddb689231d4c7a3d0cdd9448ba0608e61857c5966d147e2a83cecd992ef2d3", kill_on_drop: false }` [INFO] [stdout] 6cddb689231d4c7a3d0cdd9448ba0608e61857c5966d147e2a83cecd992ef2d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] af3431ce5247bbb06b8b9450cdb4a2f56dea9c413d09dc919b059760d3a8c23c [INFO] running `Command { std: "docker" "start" "-a" "af3431ce5247bbb06b8b9450cdb4a2f56dea9c413d09dc919b059760d3a8c23c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icu_plurals-60bd01621f091b88) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test rules::runtime::ast::test::complex_rule_test ... ok [INFO] [stderr] Running tests/categories.rs (/opt/rustwide/target/debug/deps/categories-c0c454c649301e56) [INFO] [stdout] test rules::runtime::ast::test::complex_rule_ule_roundtrip_test ... ok [INFO] [stdout] test rules::runtime::ast::test::simple_rule_test ... ok [INFO] [stdout] test rules::runtime::ast::test::range_or_value_ule_test ... ok [INFO] [stdout] test rules::runtime::ast::test::relation_ule_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_categories ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/helpers.rs (/opt/rustwide/target/debug/deps/helpers-121581e28f54065c) [INFO] [stdout] [INFO] [stderr] Running tests/plurals.rs (/opt/rustwide/target/debug/deps/plurals-805a3572619707fa) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_plural_category_all ... ok [INFO] [stdout] test test_plural_rules ... ok [INFO] [stdout] test test_plural_rules_missing ... ok [INFO] [stderr] Running tests/rules.rs (/opt/rustwide/target/debug/deps/rules-9343128de92836ef) [INFO] [stdout] test test_static_provider_borrowed_rules ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests icu_plurals [INFO] [stdout] test test_parsing_operands ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/rules/mod.rs - rules (line 32) ... FAILED [INFO] [stdout] test src/rules/mod.rs - rules (line 99) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - PluralCategory::all (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - PluralRules::categories (line 413) ... FAILED [INFO] [stdout] test src/lib.rs - PluralRules::select (line 358) ... FAILED [INFO] [stdout] test src/lib.rs - PluralRules::try_new (line 284) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::AndCondition (line 145) ... FAILED [INFO] [stdout] test src/lib.rs - PluralRules::select (line 329) ... FAILED [INFO] [stdout] test src/operands.rs - operands::PluralOperands (line 62) ... FAILED [INFO] [stdout] test src/operands.rs - operands::PluralOperands (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - PluralCategory (line 125) ... FAILED [INFO] [stdout] test src/operands.rs - operands::PluralOperands (line 34) ... FAILED [INFO] [stdout] test src/rules/mod.rs - rules (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - PluralRules (line 254) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::Operand (line 265) ... FAILED [INFO] [stdout] test src/rules/reference/parser.rs - rules::reference::parser::parse (line 50) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::DecimalValue (line 458) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::SampleRange (line 436) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::RangeList (line 305) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::Condition (line 98) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::Expression (line 236) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::RangeListItem (line 333) ... FAILED [INFO] [stdout] test src/rules/reference/lexer.rs - rules::reference::lexer::Lexer::new (line 62) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::SampleList (line 409) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::Samples (line 375) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::Value (line 359) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::Relation (line 186) ... FAILED [INFO] [stdout] test src/rules/reference/lexer.rs - rules::reference::lexer::Lexer (line 45) ... FAILED [INFO] [stdout] test src/rules/reference/parser.rs - rules::reference::parser::parse_condition (line 78) ... FAILED [INFO] [stdout] test src/rules/reference/ast.rs - rules::reference::ast::Rule (line 50) ... FAILED [INFO] [stdout] test src/rules/reference/resolver.rs - rules::reference::resolver::test_condition (line 13) ... FAILED [INFO] [stdout] test src/rules/reference/serializer.rs - rules::reference::serializer::serialize (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/rules/mod.rs - rules (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::PluralOperands; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PluralOperands` in this scope [INFO] [stdout] --> src/rules/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 4 | PluralOperands { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/mod.rs - rules (line 99) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::test_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::plurals::PluralOperands; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralOperands` [INFO] [stdout] --> src/rules/mod.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 9 | let operands = PluralOperands::from(1_u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_condition` in this scope [INFO] [stdout] --> src/rules/mod.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 11 | let ast = parse_condition(input.as_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_condition` in this scope [INFO] [stdout] --> src/rules/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(test_condition(&ast, &operands)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::test_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `icu::plurals::rules::reference::parse_condition` [INFO] [stdout] --> src/rules/reference/ast.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 15 | operand: Operand::I, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/reference/ast.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 18 | operator: Operator::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_condition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 8 | let ast = parse_condition(input.as_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Condition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(ast, Condition(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AndCondition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | AndCondition(vec![ [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::AndCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 13 | Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 14 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 19 | range_list: RangeList(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 20 | RangeListItem::Value( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 21 | Value(1) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PluralCategory::all (line 207) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::PluralCategory; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:212:36 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(categories.next(), Some(PluralCategory::Few)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(categories.next(), Some(PluralCategory::Many)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:214:36 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(categories.next(), Some(PluralCategory::One)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(categories.next(), Some(PluralCategory::Other)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:216:36 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(categories.next(), Some(PluralCategory::Two)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(categories.next(), Some(PluralCategory::Zero)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 5 | let mut categories = PluralCategory::all(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralCategory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::{PluralRules, PluralRuleType, PluralCategory}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 6 | let lid = langid!("en"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRuleType` [INFO] [stdout] --> src/lib.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 10 | let pr = PluralRules::try_new(lid, &provider, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralRuleType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(pr.select(5_usize), PluralCategory::Other); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRules` [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 10 | let pr = PluralRules::try_new(lid, &provider, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PluralRules::categories (line 413) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::{PluralRules, PluralRuleType, PluralCategory}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:418:11 [INFO] [stdout] | [INFO] [stdout] 7 | let lid = langid!("fr"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRuleType` [INFO] [stdout] --> src/lib.rs:422:41 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralRuleType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:426:36 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(categories.next(), Some(PluralCategory::One)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(categories.next(), Some(PluralCategory::Many)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:428:36 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(categories.next(), Some(PluralCategory::Other)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRules` [INFO] [stdout] --> src/lib.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PluralRules::select (line 358) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::plurals::{PluralRules, PluralRuleType}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::plurals::{PluralCategory, PluralOperands}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:365:11 [INFO] [stdout] | [INFO] [stdout] 9 | let lid = langid!("en"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRuleType` [INFO] [stdout] --> src/lib.rs:369:41 [INFO] [stdout] | [INFO] [stdout] 13 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralRuleType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(pr.select(operands), PluralCategory::Other); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:378:34 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(pr.select(operands2), PluralCategory::Other); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRules` [INFO] [stdout] --> src/lib.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 13 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralOperands` [INFO] [stdout] --> src/lib.rs:372:16 [INFO] [stdout] | [INFO] [stdout] 16 | let operands = PluralOperands::try_from(-5) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PluralOperands` in this scope [INFO] [stdout] --> src/lib.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 18 | let operands2: PluralOperands = "5.10".parse() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PluralRules::try_new (line 284) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::{PluralRules, PluralRuleType}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 7 | let lid = langid!("en"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRuleType` [INFO] [stdout] --> src/lib.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 11 | let _ = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralRuleType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRules` [INFO] [stdout] --> src/lib.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 11 | let _ = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::AndCondition (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 8 | operand: Operand::I, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/reference/ast.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 11 | operator: Operator::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 16 | operand: Operand::V, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/reference/ast.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 19 | operator: Operator::NotEq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AndCondition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 5 | AndCondition(vec![ [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::AndCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 6 | Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 7 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 12 | range_list: RangeList(vec![RangeListItem::Value(Value(5))]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 12 | range_list: RangeList(vec![RangeListItem::Value(Value(5))]), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 12 | range_list: RangeList(vec![RangeListItem::Value(Value(5))]), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 14 | Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 15 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 20 | range_list: RangeList(vec![RangeListItem::Value(Value(2))]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 20 | range_list: RangeList(vec![RangeListItem::Value(Value(2))]), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:163:57 [INFO] [stdout] | [INFO] [stdout] 20 | range_list: RangeList(vec![RangeListItem::Value(Value(2))]), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PluralRules::select (line 329) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::{PluralRules, PluralRuleType, PluralCategory}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:334:11 [INFO] [stdout] | [INFO] [stdout] 7 | let lid = langid!("en"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRuleType` [INFO] [stdout] --> src/lib.rs:338:41 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralRuleType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 15 | PluralCategory::One => "One item", [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 16 | PluralCategory::Other => "Many items", [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRules` [INFO] [stdout] --> src/lib.rs:338:10 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/operands.rs - operands::PluralOperands (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/operands.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::PluralOperands; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PluralOperands` in this scope [INFO] [stdout] --> src/operands.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Ok(PluralOperands { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/operands.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 12 | }), FixedDecimal::from(12345).multiplied_pow10(-2).map(|d| (&d).into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `FixedDecimal: From<{integer}>` found in the `fixed_decimal` crate: [INFO] [stdout] - impl From for FixedDecimal; [INFO] [stdout] - impl From for FixedDecimal; [INFO] [stdout] - impl From for FixedDecimal; [INFO] [stdout] - impl From for FixedDecimal; [INFO] [stdout] and 8 more [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/operands.rs - operands::PluralOperands (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/operands.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::PluralOperands; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PluralOperands` in this scope [INFO] [stdout] --> src/operands.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(Ok(PluralOperands { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PluralCategory (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::{PluralRules, PluralRuleType, PluralCategory}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 7 | let lid = langid!("en"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRuleType` [INFO] [stdout] --> src/lib.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralRuleType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(pr.select(5_usize), PluralCategory::Other); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRules` [INFO] [stdout] --> src/lib.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/operands.rs - operands::PluralOperands (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/operands.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::PluralOperands; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PluralOperands` in this scope [INFO] [stdout] --> src/operands.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(PluralOperands { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralOperands` [INFO] [stdout] --> src/operands.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 11 | }, PluralOperands::from(2_usize)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/mod.rs - rules (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `icu::plurals::rules::reference::parse_condition` [INFO] [stdout] --> src/rules/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/mod.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 14 | operand: Operand::I, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/mod.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 17 | operator: Operator::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/mod.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 26 | operand: Operand::V, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/mod.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 29 | operator: Operator::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_condition` in this scope [INFO] [stdout] --> src/rules/mod.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 8 | let ast = parse_condition(input.as_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Condition` in this scope [INFO] [stdout] --> src/rules/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(ast, Condition(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AndCondition` in this scope [INFO] [stdout] --> src/rules/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 11 | AndCondition(vec![ [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::AndCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 12 | Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 13 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/mod.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 18 | range_list: RangeList(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 19 | RangeListItem::Value( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/mod.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 20 | Value(1) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 24 | Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/mod.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 25 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/mod.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 30 | range_list: RangeList(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/mod.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 31 | RangeListItem::Value( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 32 | Value(0) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PluralRules (line 254) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::{PluralRules, PluralRuleType, PluralCategory}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 7 | let lid = langid!("en"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRuleType` [INFO] [stdout] --> src/lib.rs:263:41 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralRuleType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralCategory` [INFO] [stdout] --> src/lib.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(pr.select(5_usize), PluralCategory::Other); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PluralCategory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralRules` [INFO] [stdout] --> src/lib.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 11 | let pr = PluralRules::try_new(lid, &dp, PluralRuleType::Cardinal) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralRules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::Operand (line 265) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::Operand; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 5 | Operand::I; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/parser.rs - rules::reference::parser::parse (line 50) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/parser.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::parse; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> src/rules/reference/parser.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(parse(input).is_ok(), true); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::DecimalValue (line 458) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 4 | DecimalValue("1.00".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::SampleRange (line 436) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleRange` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 4 | SampleRange { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:439:16 [INFO] [stdout] | [INFO] [stdout] 5 | lower_val: DecimalValue("0.0".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 6 | upper_val: Some(DecimalValue("1.5".to_string())), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::RangeList (line 305) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 5 | RangeList(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 6 | RangeListItem::Value(Value(5)), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 6 | RangeListItem::Value(Value(5)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 7 | RangeListItem::Value(Value(7)), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 7 | RangeListItem::Value(Value(7)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 8 | RangeListItem::Value(Value(9)), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 8 | RangeListItem::Value(Value(9)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::Condition (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `icu::plurals::rules::reference::parse_condition` [INFO] [stdout] --> src/rules/reference/ast.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 9 | operand: Operand::I, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/reference/ast.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 12 | operator: Operator::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 17 | operand: Operand::V, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/reference/ast.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 20 | operator: Operator::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Condition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 6 | let condition = Condition(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AndCondition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 7 | AndCondition(vec![Relation { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::AndCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 7 | AndCondition(vec![Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 8 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 13 | range_list: RangeList(vec![RangeListItem::Value(Value(5))]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 13 | range_list: RangeList(vec![RangeListItem::Value(Value(5))]), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 13 | range_list: RangeList(vec![RangeListItem::Value(Value(5))]), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AndCondition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 15 | AndCondition(vec![Relation { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::AndCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 15 | AndCondition(vec![Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 16 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 21 | range_list: RangeList(vec![RangeListItem::Value(Value(2))]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 21 | range_list: RangeList(vec![RangeListItem::Value(Value(2))]), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 21 | range_list: RangeList(vec![RangeListItem::Value(Value(2))]), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_condition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 27 | parse_condition(b"i = 5 or v = 2") [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::Expression (line 236) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 6 | operand: Operand::I, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 5 | Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 7 | modulus: Some(Value(100)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::RangeListItem (line 333) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = RangeListItem::Value(Value(5)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = RangeListItem::Value(Value(5)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 6 | let _ = RangeListItem::Range(Value(11)..=Value(15)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 6 | let _ = RangeListItem::Range(Value(11)..=Value(15)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:337:42 [INFO] [stdout] | [INFO] [stdout] 6 | let _ = RangeListItem::Range(Value(11)..=Value(15)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/lexer.rs - rules::reference::lexer::Lexer::new (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/lexer.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::Lexer; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/rules/reference/lexer.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 5 | Lexer::new(b"n = 1"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::Lexer; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::SampleList (line 409) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:411:1 [INFO] [stdout] | [INFO] [stdout] 4 | SampleList { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleRange` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 6 | SampleRange { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 7 | lower_val: DecimalValue("0.0".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 8 | upper_val: Some(DecimalValue("1.5".to_string())), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::Samples (line 375) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Samples` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 4 | Samples { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Samples; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:378:19 [INFO] [stdout] | [INFO] [stdout] 5 | integer: Some(SampleList { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleRange` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 6 | sample_ranges: vec![SampleRange { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:380:24 [INFO] [stdout] | [INFO] [stdout] 7 | lower_val: DecimalValue("2".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:385:19 [INFO] [stdout] | [INFO] [stdout] 12 | decimal: Some(SampleList { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleRange` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:386:29 [INFO] [stdout] | [INFO] [stdout] 13 | sample_ranges: vec![SampleRange { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 14 | lower_val: DecimalValue("2.5".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::Value (line 359) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:362:1 [INFO] [stdout] | [INFO] [stdout] 5 | RangeListItem::Value(Value(99)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:362:22 [INFO] [stdout] | [INFO] [stdout] 5 | RangeListItem::Value(Value(99)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::Relation (line 186) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/rules/reference/ast.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 7 | operand: Operand::I, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/rules/reference/ast.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 10 | operator: Operator::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Relation` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 5 | Relation { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Relation; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Relation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expression` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 6 | expression: Expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RangeList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 11 | range_list: RangeList(vec![RangeListItem::Value(Value(3))]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeListItem` [INFO] [stdout] --> src/rules/reference/ast.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 11 | range_list: RangeList(vec![RangeListItem::Value(Value(3))]), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:195:53 [INFO] [stdout] | [INFO] [stdout] 11 | range_list: RangeList(vec![RangeListItem::Value(Value(3))]), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::RangeListItem::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Value; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::RangeOrValue::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/lexer.rs - rules::reference::lexer::Lexer (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/lexer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::Lexer; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/rules/reference/lexer.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 6 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::Lexer; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/parser.rs - rules::reference::parser::parse_condition (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/parser.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_condition` in this scope [INFO] [stdout] --> src/rules/reference/parser.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(parse_condition(input).is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/ast.rs - rules::reference::ast::Rule (line 50) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::ast::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::{parse, parse_condition}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `icu::plurals::rules::reference::parse`, `icu::plurals::rules::reference::parse_condition` [INFO] [stdout] --> src/rules/reference/ast.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::{parse, parse_condition}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_condition` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 6 | let condition = parse_condition(b"i = 5 or v = 2") [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Samples` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 9 | let samples = Samples { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Samples; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 10 | integer: Some(SampleList { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleRange` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 11 | sample_ranges: vec![SampleRange { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 12 | lower_val: DecimalValue("2".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleList` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 17 | decimal: Some(SampleList { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SampleRange` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 18 | sample_ranges: vec![SampleRange { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::SampleRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DecimalValue` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 19 | lower_val: DecimalValue("2.5".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::DecimalValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rule` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 26 | let rule = Rule { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::ast::Rule; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::runtime::ast::Rule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> src/rules/reference/ast.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 33 | parse("i = 5 or v = 2 @integer 2, … @decimal 2.5".as_bytes()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/resolver.rs - rules::reference::resolver::test_condition (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/resolver.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::PluralOperands; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/resolver.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::parse_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/resolver.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::plurals::rules::reference::test_condition; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluralOperands` [INFO] [stdout] --> src/rules/reference/resolver.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 7 | let operands = PluralOperands::from(5_usize); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::PluralOperands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_condition` in this scope [INFO] [stdout] --> src/rules/reference/resolver.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 8 | let condition = parse_condition(b"i = 4..6") [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_condition` in this scope [INFO] [stdout] --> src/rules/reference/resolver.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(test_condition(&condition, &operands), true); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::test_condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules/reference/serializer.rs - rules::reference::serializer::serialize (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/serializer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::plurals::rules::reference::parse; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/serializer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::plurals::rules::reference::ast; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/rules/reference/serializer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::plurals::rules::reference::serialize; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/rules/reference/serializer.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(ast.condition.0[0].0[0].expression.operand, ast::Operand::I); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/rules/reference/serializer.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(ast.condition.0[1].0[0].expression.operand, ast::Operand::N); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> src/rules/reference/serializer.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 9 | let ast = parse(input.as_bytes()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize` in this scope [INFO] [stdout] --> src/rules/reference/serializer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 16 | serialize(&ast, &mut result) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_plurals::rules::reference::serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 26) [INFO] [stdout] src/lib.rs - PluralCategory (line 125) [INFO] [stdout] src/lib.rs - PluralCategory::all (line 207) [INFO] [stdout] src/lib.rs - PluralRules (line 254) [INFO] [stdout] src/lib.rs - PluralRules::categories (line 413) [INFO] [stdout] src/lib.rs - PluralRules::select (line 329) [INFO] [stdout] src/lib.rs - PluralRules::select (line 358) [INFO] [stdout] src/lib.rs - PluralRules::try_new (line 284) [INFO] [stdout] src/operands.rs - operands::PluralOperands (line 34) [INFO] [stdout] src/operands.rs - operands::PluralOperands (line 48) [INFO] [stdout] src/operands.rs - operands::PluralOperands (line 62) [INFO] [stdout] src/rules/mod.rs - rules (line 32) [INFO] [stdout] src/rules/mod.rs - rules (line 57) [INFO] [stdout] src/rules/mod.rs - rules (line 99) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast (line 11) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::AndCondition (line 145) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::Condition (line 98) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::DecimalValue (line 458) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::Expression (line 236) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::Operand (line 265) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::RangeList (line 305) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::RangeListItem (line 333) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::Relation (line 186) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::Rule (line 50) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::SampleList (line 409) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::SampleRange (line 436) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::Samples (line 375) [INFO] [stdout] src/rules/reference/ast.rs - rules::reference::ast::Value (line 359) [INFO] [stdout] src/rules/reference/lexer.rs - rules::reference::lexer::Lexer (line 45) [INFO] [stdout] src/rules/reference/lexer.rs - rules::reference::lexer::Lexer::new (line 62) [INFO] [stdout] src/rules/reference/parser.rs - rules::reference::parser::parse (line 50) [INFO] [stdout] src/rules/reference/parser.rs - rules::reference::parser::parse_condition (line 78) [INFO] [stdout] src/rules/reference/resolver.rs - rules::reference::resolver::test_condition (line 13) [INFO] [stdout] src/rules/reference/serializer.rs - rules::reference::serializer::serialize (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 34 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "af3431ce5247bbb06b8b9450cdb4a2f56dea9c413d09dc919b059760d3a8c23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af3431ce5247bbb06b8b9450cdb4a2f56dea9c413d09dc919b059760d3a8c23c", kill_on_drop: false }` [INFO] [stdout] af3431ce5247bbb06b8b9450cdb4a2f56dea9c413d09dc919b059760d3a8c23c