[INFO] fetching crate icu_locale_core 2.0.0-beta2... [INFO] checking icu_locale_core-2.0.0-beta2 against master#8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 for pr-133502-5 [INFO] extracting crate icu_locale_core 2.0.0-beta2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate icu_locale_core 2.0.0-beta2 on toolchain 8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate icu_locale_core 2.0.0-beta2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate icu_locale_core 2.0.0-beta2 [INFO] tweaked toml for crates.io crate icu_locale_core 2.0.0-beta2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate icu_locale_core 2.0.0-beta2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded databake v0.2.0 [INFO] [stderr] Downloaded potential_utf v0.1.2 [INFO] [stderr] Downloaded tinystr v0.8.1 [INFO] [stderr] Downloaded writeable v0.6.1 [INFO] [stderr] Downloaded databake-derive v0.2.0 [INFO] [stderr] Downloaded zerovec v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 915a523811ee5af0855ff4b06dfc2ac2e5ba2073a7f15b8392774800920a31d8 [INFO] running `Command { std: "docker" "start" "-a" "915a523811ee5af0855ff4b06dfc2ac2e5ba2073a7f15b8392774800920a31d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "915a523811ee5af0855ff4b06dfc2ac2e5ba2073a7f15b8392774800920a31d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915a523811ee5af0855ff4b06dfc2ac2e5ba2073a7f15b8392774800920a31d8", kill_on_drop: false }` [INFO] [stdout] 915a523811ee5af0855ff4b06dfc2ac2e5ba2073a7f15b8392774800920a31d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fe0203bfdad6a62cfa0c70d722bf84da725035cbf0e3f4be3dff6a6ef85b3fb [INFO] running `Command { std: "docker" "start" "-a" "9fe0203bfdad6a62cfa0c70d722bf84da725035cbf0e3f4be3dff6a6ef85b3fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking clap_builder v4.5.31 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Checking clap v4.5.31 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0-beta2 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking postcard v1.1.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error[E0432]: unresolved import `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use icu_benchmark_macros::println; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icu_benchmark_macros`, use `cargo add icu_benchmark_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | icu_benchmark_macros::instrument!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use icu_benchmark_macros::println; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icu_benchmark_macros`, use `cargo add icu_benchmark_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | icu_benchmark_macros::instrument!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use icu_benchmark_macros::println; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icu_benchmark_macros`, use `cargo add icu_benchmark_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | icu_benchmark_macros::instrument!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `normalize` found for struct `Locale` in the current scope [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let output = Locale::normalize(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Locale` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Locale`, consider using `Locale::default` which returns `Locale` [INFO] [stdout] --> /opt/rustwide/workdir/src/locale.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `normalize` found for struct `Locale` in the current scope [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let output = Locale::normalize(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Locale` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Locale`, consider using `Locale::default` which returns `Locale` [INFO] [stdout] --> /opt/rustwide/workdir/src/locale.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locale_core` (example "syntatically_canonicalize_locales" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_str` found for struct `LanguageIdentifier` in the current scope [INFO] [stdout] --> examples/filter_langids.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | let Ok(langid) = LanguageIdentifier::try_from_str(input) else { [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `LanguageIdentifier`, consider using `LanguageIdentifier::default` which returns `LanguageIdentifier` [INFO] [stdout] --> /opt/rustwide/workdir/src/langid.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - let Ok(langid) = LanguageIdentifier::try_from_str(input) else { [INFO] [stdout] 32 + let Ok(langid) = LanguageIdentifier::try_from(input) else { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> benches/iai_langid.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | .map(|l| l.parse().expect("Failed to parse")) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 43 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locale_core` (example "syntatically_canonicalize_locales") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> benches/helpers/macros.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | let value: Result<$struct, _> = black_box(s).parse(); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `Locale` [INFO] [stdout] | [INFO] [stdout] ::: benches/locale.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | overview!(group, Locale, &data.canonicalized, "en-US"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] = note: this error originates in the macro `overview` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `normalize` found for struct `LanguageIdentifier` in the current scope [INFO] [stdout] --> benches/iai_langid.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|l| LanguageIdentifier::normalize(l).expect("Normalization failed")) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `LanguageIdentifier`, consider using `LanguageIdentifier::default` which returns `LanguageIdentifier` [INFO] [stdout] --> /opt/rustwide/workdir/src/langid.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `normalizing_eq` with a similar name [INFO] [stdout] | [INFO] [stdout] 111 - .map(|l| LanguageIdentifier::normalize(l).expect("Normalization failed")) [INFO] [stdout] 111 + .map(|l| LanguageIdentifier::normalizing_eq(l).expect("Normalization failed")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locale_core` (example "filter_langids" test) due to 3 previous errors [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> benches/helpers/macros.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | let value: Result<$struct, _> = black_box(s).parse(); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] ::: benches/langid.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | overview!(group, LanguageIdentifier, &data.canonicalized, "en-US"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] = note: this error originates in the macro `overview` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> benches/helpers/macros.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | let _: Result<$struct, _> = black_box(s).parse(); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] ::: benches/langid.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | construct!(group, LanguageIdentifier, "langid", &data.canonicalized); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] = note: this error originates in the macro `construct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> benches/langid.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|s| s.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> benches/langid.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|s| s.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> benches/langid.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|s| s.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalizing_eq` found for reference `&Locale` in the current scope [INFO] [stdout] --> benches/helpers/macros.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|&v| v.normalizing_eq($compare)) [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&Locale` [INFO] [stdout] | [INFO] [stdout] ::: benches/locale.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | overview!(group, Locale, &data.canonicalized, "en-US"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overview` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> benches/helpers/macros.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | let _: Result<$struct, _> = black_box(s).parse(); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `Locale` [INFO] [stdout] | [INFO] [stdout] ::: benches/locale.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | construct!(group, Locale, "locale", &data.canonicalized); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] = note: this error originates in the macro `construct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locale_core` (bench "iai_langid") due to 2 previous errors [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> benches/locale.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|s| s.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `Locale` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> benches/locale.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|s| s.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `Locale` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> benches/locale.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|s| s.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `Locale` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 51 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `normalize` found for struct `LanguageIdentifier` in the current scope [INFO] [stdout] --> benches/helpers/macros.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | let _ = $struct::normalize(black_box(s)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] ::: benches/langid.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | canonicalize!(group, LanguageIdentifier, "langid", &data.casing); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `LanguageIdentifier`, consider using `LanguageIdentifier::default` which returns `LanguageIdentifier` [INFO] [stdout] --> /opt/rustwide/workdir/src/langid.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `canonicalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a method `normalizing_eq` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 - let _ = $struct::normalize(black_box(s)); [INFO] [stdout] 105 + let _ = $struct::normalizing_eq(black_box(s)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalizing_eq` found for reference `&Locale` in the current scope [INFO] [stdout] --> benches/helpers/macros.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | let _ = black_box(lid).normalizing_eq(&black_box(s)); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&Locale` [INFO] [stdout] | [INFO] [stdout] ::: benches/locale.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | compare_str!(group, Locale, "locale", &locales, &data.canonicalized); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `compare_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `normalize` found for struct `Locale` in the current scope [INFO] [stdout] --> benches/helpers/macros.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | let _ = $struct::normalize(black_box(s)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Locale` [INFO] [stdout] | [INFO] [stdout] ::: benches/locale.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | canonicalize!(group, Locale, "locale", &data.casing); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Locale`, consider using `Locale::default` which returns `Locale` [INFO] [stdout] --> /opt/rustwide/workdir/src/locale.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `canonicalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_str` found for struct `icu_locale_core::extensions::unicode::Value` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | ... unicode::Value::try_from_str("").expect("Failed to parse Value"), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Value` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `icu_locale_core::extensions::unicode::Value` consider using one of the following associated functions: [INFO] [stdout] icu_locale_core::extensions::unicode::Value::new_empty [INFO] [stdout] icu_locale_core::extensions::unicode::Value::from_subtag [INFO] [stdout] --> /opt/rustwide/workdir/src/extensions/unicode/value.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub const fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub const fn from_subtag(subtag: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 59 - unicode::Value::try_from_str("").expect("Failed to parse Value"), [INFO] [stdout] 59 + unicode::Value::try_from("").expect("Failed to parse Value"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_str` found for struct `icu_locale_core::extensions::unicode::Value` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | ... |v| unicode::Value::try_from_str(v).expect("Parsing type failed."), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Value` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `icu_locale_core::extensions::unicode::Value` consider using one of the following associated functions: [INFO] [stdout] icu_locale_core::extensions::unicode::Value::new_empty [INFO] [stdout] icu_locale_core::extensions::unicode::Value::from_subtag [INFO] [stdout] --> /opt/rustwide/workdir/src/extensions/unicode/value.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub const fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub const fn from_subtag(subtag: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 - |v| unicode::Value::try_from_str(v).expect("Parsing type failed."), [INFO] [stdout] 60 + |v| unicode::Value::try_from(v).expect("Parsing type failed."), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec_unchecked` found for struct `Attributes` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:70:59 [INFO] [stdout] | [INFO] [stdout] 70 | ext.unicode.attributes = unicode::Attributes::from_vec_unchecked(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Attributes` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Attributes`, consider using `Attributes::new` which returns `Attributes` [INFO] [stdout] --> /opt/rustwide/workdir/src/extensions/unicode/attributes.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub const fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locale_core` (bench "langid") due to 6 previous errors [INFO] [stderr] error: could not compile `icu_locale_core` (bench "locale") due to 8 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `try_from_str` found for struct `icu_locale_core::extensions::transform::Value` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | ... transform::Value::try_from_str(v).expect("Parsing value failed.") [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Value` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 81 - transform::Value::try_from_str(v).expect("Parsing value failed.") [INFO] [stdout] 81 + transform::Value::try_from(v).expect("Parsing value failed.") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> tests/fixtures/mod.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | ext.transform.lang = Some(tlang.parse().expect("Failed to parse tlang.")); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 45 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec_unchecked` found for struct `icu_locale_core::extensions::private::Private` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | ext.private = private::Private::from_vec_unchecked(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Private` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `icu_locale_core::extensions::private::Private` consider using one of the following associated functions: [INFO] [stdout] icu_locale_core::extensions::private::Private::new [INFO] [stdout] icu_locale_core::extensions::private::Private::new_single [INFO] [stdout] --> /opt/rustwide/workdir/src/extensions/private/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub const fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub const fn new_single(input: Subtag) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> tests/fixtures/mod.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | LocaleInfo::String(s) => s.parse(), [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 45 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> tests/fixtures/mod.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | LocaleInfo::String(s) => s.parse(), [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `Locale` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 45 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_locale_bytes` found for struct `LanguageIdentifier` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | LanguageIdentifier::try_from_locale_bytes(input.identifier.as_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `LanguageIdentifier`, consider using `LanguageIdentifier::default` which returns `LanguageIdentifier` [INFO] [stdout] --> /opt/rustwide/workdir/src/langid.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_str` found for struct `Locale` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | Locale::try_from_str(&input.identifier) [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Locale` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Locale`, consider using `Locale::default` which returns `Locale` [INFO] [stdout] --> /opt/rustwide/workdir/src/locale.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub const fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 168 - Locale::try_from_str(&input.identifier) [INFO] [stdout] 168 + Locale::try_from(&input.identifier) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec_unchecked` found for struct `Variants` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | variants: subtags::Variants::from_vec_unchecked(variants), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Variants` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Variants` consider using one of the following associated functions: [INFO] [stdout] Variants::new [INFO] [stdout] Variants::from_variant [INFO] [stdout] --> /opt/rustwide/workdir/src/subtags/variants.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub const fn from_variant(variant: Variant) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec_unchecked` found for struct `Variants` in the current scope [INFO] [stdout] --> tests/fixtures/mod.rs:231:46 [INFO] [stdout] | [INFO] [stdout] 231 | variants: subtags::Variants::from_vec_unchecked(variants), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Variants` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Variants` consider using one of the following associated functions: [INFO] [stdout] Variants::new [INFO] [stdout] Variants::from_variant [INFO] [stdout] --> /opt/rustwide/workdir/src/subtags/variants.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub const fn from_variant(variant: Variant) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec_unchecked` found for struct `Variants` in the current scope [INFO] [stdout] --> tests/langid.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | let mut variants = subtags::Variants::from_vec_unchecked(vec![variant]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Variants` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Variants` consider using one of the following associated functions: [INFO] [stdout] Variants::new [INFO] [stdout] Variants::from_variant [INFO] [stdout] --> /opt/rustwide/workdir/src/subtags/variants.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub const fn from_variant(variant: Variant) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> tests/langid.rs:130:41 [INFO] [stdout] | [INFO] [stdout] 130 | let lang: LanguageIdentifier = "en".parse().expect("Parsing failed."); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 45 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/library/core/src/str/mod.rs:2599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> tests/langid.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | .parse::() [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `LanguageIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Attribute [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Language [INFO] [stdout] NonZero [INFO] [stdout] and 45 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locale_core` (test "langid") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "9fe0203bfdad6a62cfa0c70d722bf84da725035cbf0e3f4be3dff6a6ef85b3fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe0203bfdad6a62cfa0c70d722bf84da725035cbf0e3f4be3dff6a6ef85b3fb", kill_on_drop: false }` [INFO] [stdout] 9fe0203bfdad6a62cfa0c70d722bf84da725035cbf0e3f4be3dff6a6ef85b3fb