[INFO] fetching crate icu_locale_core 2.0.0... [INFO] checking icu_locale_core-2.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate icu_locale_core 2.0.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate icu_locale_core 2.0.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate icu_locale_core 2.0.0 [INFO] tweaked toml for crates.io crate icu_locale_core 2.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate icu_locale_core 2.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate icu_locale_core 2.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 databake-derive v0.2.0 [INFO] [stderr] Downloaded iai v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7daa782de6fabfa12e12ec0e1c1b4e5586f4b9c88cff8621036f7fe48f399ab3 [INFO] running `Command { std: "docker" "start" "-a" "7daa782de6fabfa12e12ec0e1c1b4e5586f4b9c88cff8621036f7fe48f399ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7daa782de6fabfa12e12ec0e1c1b4e5586f4b9c88cff8621036f7fe48f399ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7daa782de6fabfa12e12ec0e1c1b4e5586f4b9c88cff8621036f7fe48f399ab3", kill_on_drop: false }` [INFO] [stdout] 7daa782de6fabfa12e12ec0e1c1b4e5586f4b9c88cff8621036f7fe48f399ab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c59d86b46af676c2f767c68a5acdc788f464d644ccd4ccbc68f3f6e5bca11772 [INFO] running `Command { std: "docker" "start" "-a" "c59d86b46af676c2f767c68a5acdc788f464d644ccd4ccbc68f3f6e5bca11772", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 (/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/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[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] [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] 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[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] 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] 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] 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[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] 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] [stderr] error: could not compile `icu_locale_core` (example "filter_langids") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `icu_locale_core` (example "filter_langids" test) due to 3 previous errors [INFO] [stderr] error: could not compile `icu_locale_core` (example "syntatically_canonicalize_locales") due to 3 previous errors [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] [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] [stderr] error: could not compile `icu_locale_core` (example "syntatically_canonicalize_locales" 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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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: 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[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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 `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 `icu_locale_core::extensions::unicode::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] 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 `icu_locale_core::extensions::unicode::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] 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] [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 `icu_locale_core::extensions::transform::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] 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[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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701:5 [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 `icu_locale_core::extensions::unicode::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] 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 `icu_locale_core::extensions::private::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[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 `icu_locale_core::extensions::unicode::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] 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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701:5 [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: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[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] [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] 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 `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] [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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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[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 `icu_locale_core::extensions::transform::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 `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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 52 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701:5 [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:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | 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/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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> tests/langid.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | 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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LanguageIdentifier: FromStr` is not satisfied [INFO] [stdout] --> tests/langid.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | .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 46 others [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 `icu_locale_core::extensions::private::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[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: 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[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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701: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] [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] 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] 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 `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] [stderr] error: could not compile `icu_locale_core` (test "langid") due to 15 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 `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] 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 struct `Locale` in the current scope [INFO] [stdout] --> tests/locale.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(parsed.normalizing_eq(&parsed.write_to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Locale` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 87 | assert!(parsed.id.normalizing_eq(&parsed.write_to_string())); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalizing_eq` found for struct `Locale` in the current scope [INFO] [stdout] --> tests/locale.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!locale.normalizing_eq("en-US")); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Locale` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!locale.id.normalizing_eq("en-US")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> tests/locale.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | let locale: Locale = "en".parse().expect("Parsing failed."); [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 46 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Locale: FromStr` is not satisfied [INFO] [stdout] --> tests/locale.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | let a_langid = a.parse::().expect("Invalid BCP-47 in fixture"); [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 46 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 "locale") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "c59d86b46af676c2f767c68a5acdc788f464d644ccd4ccbc68f3f6e5bca11772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59d86b46af676c2f767c68a5acdc788f464d644ccd4ccbc68f3f6e5bca11772", kill_on_drop: false }` [INFO] [stdout] c59d86b46af676c2f767c68a5acdc788f464d644ccd4ccbc68f3f6e5bca11772