[INFO] fetching crate icu_locid 1.4.0... [INFO] checking icu_locid-1.4.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate icu_locid 1.4.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate icu_locid 1.4.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate icu_locid 1.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate icu_locid 1.4.0 [INFO] tweaked toml for crates.io crate icu_locid 1.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate icu_locid 1.4.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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded iai v0.1.1 [INFO] [stderr] Downloaded postcard v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f285d1f1773d9ff3ae0d7716bef404de57caf1cef73a0a8d3928e891129fd94e [INFO] running `Command { std: "docker" "start" "-a" "f285d1f1773d9ff3ae0d7716bef404de57caf1cef73a0a8d3928e891129fd94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f285d1f1773d9ff3ae0d7716bef404de57caf1cef73a0a8d3928e891129fd94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f285d1f1773d9ff3ae0d7716bef404de57caf1cef73a0a8d3928e891129fd94e", kill_on_drop: false }` [INFO] [stdout] f285d1f1773d9ff3ae0d7716bef404de57caf1cef73a0a8d3928e891129fd94e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81fb15aedec53637346c2d0592c06a5b2fc00f7a8f33630d75a923a986e8b047 [INFO] running `Command { std: "docker" "start" "-a" "81fb15aedec53637346c2d0592c06a5b2fc00f7a8f33630d75a923a986e8b047", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking litemap v0.7.2 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking writeable v0.5.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tinystr v0.7.5 [INFO] [stderr] Checking icu_locid v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/extensions/transform/fields.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/extensions/unicode/keywords.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking postcard v1.0.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (example "syntatically_canonicalize_locales") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (example "filter_langids") due to 3 previous errors [INFO] [stderr] error: could not compile `icu_locid` (example "syntatically_canonicalize_locales" test) due to 3 previous errors [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> tests/fixtures/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> tests/fixtures/mod.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> tests/locale.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `valid` and `invalid` are never read [INFO] [stdout] --> benches/fixtures/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SubtagData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 9 | pub valid: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub invalid: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `language`, `script`, `region`, and `variant` are never read [INFO] [stdout] --> benches/fixtures/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Subtags { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | pub language: SubtagData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub script: SubtagData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub region: SubtagData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub variant: SubtagData, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `casing` is never read [INFO] [stdout] --> benches/fixtures/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LocaleList { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | pub canonicalized: Vec, [INFO] [stdout] 24 | pub casing: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `testing` in `litemap` [INFO] [stdout] --> src/helpers.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | litemap::testing::check_store::>(); [INFO] [stdout] | ^^^^^^^ could not find `testing` in `litemap` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/litemap-0.7.2/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub mod testing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> tests/fixtures/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> tests/fixtures/mod.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> tests/langid.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (example "filter_langids" test) due to 3 previous errors [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/helpers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/helpers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/langid.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/locale.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/extensions/other/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/extensions/private/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/extensions/transform/fields.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/extensions/unicode/attributes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/extensions/unicode/keywords.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/extensions/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/subtags/variants.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `valid` and `invalid` are never read [INFO] [stdout] --> benches/fixtures/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SubtagData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 9 | pub valid: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub invalid: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `language`, `script`, `region`, and `variant` are never read [INFO] [stdout] --> benches/fixtures/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Subtags { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | pub language: SubtagData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub script: SubtagData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub region: SubtagData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub variant: SubtagData, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `casing` is never read [INFO] [stdout] --> benches/fixtures/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LocaleList { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | pub canonicalized: Vec, [INFO] [stdout] 24 | pub casing: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81fb15aedec53637346c2d0592c06a5b2fc00f7a8f33630d75a923a986e8b047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81fb15aedec53637346c2d0592c06a5b2fc00f7a8f33630d75a923a986e8b047", kill_on_drop: false }` [INFO] [stdout] 81fb15aedec53637346c2d0592c06a5b2fc00f7a8f33630d75a923a986e8b047