[INFO] fetching crate icu_datetime 0.5.0... [INFO] testing icu_datetime-0.5.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate icu_datetime 0.5.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate icu_datetime 0.5.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate icu_datetime 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate icu_datetime 0.5.0 [INFO] tweaked toml for crates.io crate icu_datetime 0.5.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate icu_datetime 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 443731d20d809edfe1d7881809bce827dcf55643a5ccfae7db9e3f74d20e8390 [INFO] running `Command { std: "docker" "start" "-a" "443731d20d809edfe1d7881809bce827dcf55643a5ccfae7db9e3f74d20e8390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "443731d20d809edfe1d7881809bce827dcf55643a5ccfae7db9e3f74d20e8390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443731d20d809edfe1d7881809bce827dcf55643a5ccfae7db9e3f74d20e8390", kill_on_drop: false }` [INFO] [stdout] 443731d20d809edfe1d7881809bce827dcf55643a5ccfae7db9e3f74d20e8390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ed4e75bbed349d9e5a3de4952f921dd219c81086305ff7761f3c39a70cca87bd [INFO] running `Command { std: "docker" "start" "-a" "ed4e75bbed349d9e5a3de4952f921dd219c81086305ff7761f3c39a70cca87bd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling yoke-derive v0.4.1 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling icu_provider_macros v0.5.0 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling tinystr v0.4.12 [INFO] [stderr] Compiling yoke v0.4.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling icu_locid v0.5.0 [INFO] [stderr] Compiling zerovec v0.6.0 [INFO] [stderr] Compiling fixed_decimal v0.2.2 [INFO] [stderr] Compiling litemap v0.3.0 [INFO] [stderr] Compiling icu_provider v0.5.0 [INFO] [stderr] Compiling icu_calendar v0.5.0 [INFO] [stderr] Compiling icu_plurals v0.5.0 [INFO] [stderr] Compiling icu_datetime v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.15s [INFO] running `Command { std: "docker" "inspect" "ed4e75bbed349d9e5a3de4952f921dd219c81086305ff7761f3c39a70cca87bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4e75bbed349d9e5a3de4952f921dd219c81086305ff7761f3c39a70cca87bd", kill_on_drop: false }` [INFO] [stdout] ed4e75bbed349d9e5a3de4952f921dd219c81086305ff7761f3c39a70cca87bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bc3e13c948d950b133083ac3fd9e629e3ac5057f1ee83076f61a95b998aa6e5a [INFO] running `Command { std: "docker" "start" "-a" "bc3e13c948d950b133083ac3fd9e629e3ac5057f1ee83076f61a95b998aa6e5a", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling icu_benchmark_macros v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling icu_locid v0.5.0 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling icu_locid_macros v0.5.0 [INFO] [stderr] Compiling tinystr v0.4.12 [INFO] [stderr] Compiling yoke v0.4.0 [INFO] [stderr] Compiling postcard v0.7.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling serde-json-core v0.4.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling fixed_decimal v0.2.2 [INFO] [stderr] Compiling zerovec v0.6.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling litemap v0.3.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling icu_provider v0.5.0 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling icu_plurals v0.5.0 [INFO] [stderr] Compiling icu_calendar v0.5.0 [INFO] [stderr] Compiling icu_provider_fs v0.5.0 [INFO] [stderr] Compiling icu_provider_blob v0.5.0 [INFO] [stderr] Compiling icu_testdata v0.5.0 [INFO] [stderr] Compiling icu_datetime v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 18s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/icu_datetime-317c6885c964de39) [INFO] [stderr] Executable tests/datetime.rs (/opt/rustwide/target/debug/deps/datetime-e12a39f1f492ecad) [INFO] [stderr] Executable tests/pattern_serialization.rs (/opt/rustwide/target/debug/deps/pattern_serialization-73245fa22ebcfc9e) [INFO] [stderr] Executable tests/resolved_components.rs (/opt/rustwide/target/debug/deps/resolved_components-0e0e494d44194958) [INFO] [stderr] Executable tests/skeleton_serialization.rs (/opt/rustwide/target/debug/deps/skeleton_serialization-03416992b3cae578) [INFO] running `Command { std: "docker" "inspect" "bc3e13c948d950b133083ac3fd9e629e3ac5057f1ee83076f61a95b998aa6e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc3e13c948d950b133083ac3fd9e629e3ac5057f1ee83076f61a95b998aa6e5a", kill_on_drop: false }` [INFO] [stdout] bc3e13c948d950b133083ac3fd9e629e3ac5057f1ee83076f61a95b998aa6e5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b98f5b2fde8c00e4b1779df698b67c8497d67a37cd5dc4e5f123117689ff7301 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b98f5b2fde8c00e4b1779df698b67c8497d67a37cd5dc4e5f123117689ff7301", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icu_datetime-317c6885c964de39) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test fields::ule::test::test_field_as_ule ... ok [INFO] [stdout] test format::datetime::tests::test_format_number ... ok [INFO] [stdout] test fields::ule::test::test_field_ule ... ok [INFO] [stdout] test pattern::common::serde::runtime::generic::test::runtime_generic_pattern_serde_bincode_test ... ok [INFO] [stdout] test pattern::common::serde::runtime::generic::test::runtime_generic_pattern_serde_human_readable_test ... ok [INFO] [stdout] test pattern::common::serde::reference::test::reference_pattern_serde_bincode_test ... ok [INFO] [stdout] test pattern::common::serde::runtime::plural::test::runtime_pattern_plurals_serde_bincode_test ... ok [INFO] [stdout] test pattern::common::serde::runtime::plural::test::runtime_pattern_plurals_serde_human_readable_test ... ok [INFO] [stdout] test options::components::test::test_component_bag_to_vec_field2 ... ok [INFO] [stdout] test pattern::item::ule::test::test_pattern_item_ule ... ok [INFO] [stdout] test pattern::reference::parser::tests::pattern_parse_placeholders ... ok [INFO] [stdout] test pattern::runtime::generic::test::test_runtime_generic_pattern_combine ... ok [INFO] [stdout] test options::components::test::test_component_bag_to_vec_field ... ok [INFO] [stdout] test format::datetime::tests::test_basic ... ok [INFO] [stdout] test pattern::reference::parser::tests::pattern_parse_simple ... ok [INFO] [stdout] test pattern::reference::parser::tests::pattern_parse_symbols ... ok [INFO] [stdout] test pattern::common::serde::reference::test::reference_pattern_serde_human_readable_test ... ok [INFO] [stdout] test pattern::runtime::plural::test::normalize_pattern_plurals_switches_singletons_to_single_pattern ... ok [INFO] [stdout] test pattern::reference::parser::tests::pattern_parse_literals ... ok [INFO] [stdout] test pattern::reference::generic::test::test_reference_generic_pattern_combine ... ok [INFO] [stdout] test skeleton::test::test_skeleton_matching ... ok [INFO] [stdout] test skeleton::test::test_skeleton_deserialization ... ok [INFO] [stdout] test pattern::runtime::plural::test::build_plural_pattern ... ok [INFO] [stdout] test pattern::common::serde::runtime::test::runtime_pattern_serde_human_readable_test ... ok [INFO] [stdout] test pattern::item::ule::test::test_generic_pattern_item_as_ule ... ok [INFO] [stdout] test skeleton::test::test_skeleton_empty_bag ... ok [INFO] [stdout] test provider::calendar::symbols::test::months_borrows ... ok [INFO] [stdout] test provider::calendar::symbols::test::day_periods_borrows ... ok [INFO] [stdout] test provider::calendar::symbols::test::weekdays_borrows ... ok [INFO] [stdout] test pattern::common::serde::runtime::test::runtime_pattern_serde_bincode_test ... ok [INFO] [stdout] test skeleton::test::test_known_skeletons_ok ... ok [INFO] [stdout] test skeleton::test::test_skeleton_json_duplicate_fields ... ok [INFO] [stdout] test skeleton::test::test_skeleton_json_reordering ... ok [INFO] [stdout] test skeleton::test::test_skeleton_matching_missing_fields ... ok [INFO] [stdout] test skeleton::test::test_skeleton_no_match ... ok [INFO] [stdout] test skeleton::test::test_skeleton_tuple_ordering ... ok [INFO] [stdout] test pattern::item::ule::test::test_pattern_item_as_ule ... ok [INFO] [stdout] test skeleton::test::test_unsupported_skeletons_skeletons_err ... ok [INFO] [stdout] test skeleton::test::test_missing_append_items_support - should panic ... ok [INFO] [stderr] Running tests/datetime.rs (/opt/rustwide/target/debug/deps/datetime-e12a39f1f492ecad) [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test constructing_datetime_format_with_missing_pattern_is_err ... ok [INFO] [stdout] test constructing_datetime_format_with_time_zone_pattern_symbols_is_err ... ok [INFO] [stdout] test test_components_partial_matches ... ok [INFO] [stdout] test test_components_combine_datetime ... ok [INFO] [stdout] test test_lengths_with_preferences ... ok [INFO] [stdout] test test_components_hour_cycle ... ok [INFO] [stdout] test test_components_with_zones ... ok [INFO] [stdout] test test_components_width_differences ... ok [INFO] [stdout] test test_time_zone_format_configs ... ok [INFO] [stdout] test test_dayperiod_patterns ... ok [INFO] [stdout] test test_components_exact_matches ... ok [INFO] [stdout] test test_time_zone_patterns ... ok [INFO] [stdout] test test_components ... ok [INFO] [stdout] test test_length_fixtures ... ok [INFO] [stdout] test test_japanese ... ok [INFO] [stderr] Running tests/pattern_serialization.rs (/opt/rustwide/target/debug/deps/pattern_serialization-73245fa22ebcfc9e) [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.88s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_pattern_json_errors ... ok [INFO] [stderr] Running tests/resolved_components.rs (/opt/rustwide/target/debug/deps/resolved_components-0e0e494d44194958) [INFO] [stdout] test test_pattern_json_serialization_roundtrip ... ok [INFO] [stdout] test test_pattern_bincode_serialization_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Running tests/skeleton_serialization.rs (/opt/rustwide/target/debug/deps/skeleton_serialization-03416992b3cae578) [INFO] [stdout] test test_length_time_preferences ... ok [INFO] [stdout] test test_length_time ... ok [INFO] [stdout] test test_components_bag ... ok [INFO] [stdout] test test_length_date ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_skeleton_json_serialization_roundtrip ... ok [INFO] [stdout] test test_skeleton_bincode_serialization_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests icu_datetime [INFO] [stdout] [INFO] [stdout] running 67 tests [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Day::from_idx (line 318) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Day::idx (line 318) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::DayPeriod::from_idx (line 361) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::DayPeriod::idx (line 361) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Hour::from_idx (line 325) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Hour::idx (line 325) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Month::from_idx (line 300) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Month::idx (line 300) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Second::from_idx (line 332) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Second::idx (line 332) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::TimeZone::from_idx (line 366) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::TimeZone::idx (line 366) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Week::from_idx (line 338) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Week::idx (line 338) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Weekday::from_idx (line 343) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Weekday::idx (line 343) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Year::from_idx (line 295) ... ignored [INFO] [stdout] test src/fields/symbols.rs - fields::symbols::Year::idx (line 295) ... ignored [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::format_to_write (line 145) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... FAILED [INFO] [stdout] test src/mock/time_zone.rs - mock::time_zone::MockTimeZone::from_str (line 85) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::format_to_string (line 179) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat (line 33) ... FAILED [INFO] [stdout] test src/options/components.rs - options::components (line 43) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::format (line 109) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::resolve_components (line 208) ... FAILED [INFO] [stdout] test src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stdout] test src/options/components.rs - options::components (line 66) ... FAILED [INFO] [stdout] test src/mock/time_zone.rs - mock::time_zone::MockTimeZone (line 22) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::try_new (line 69) ... FAILED [INFO] [stdout] test src/mock/mod.rs - mock::parse_gregorian_from_str (line 21) ... FAILED [INFO] [stdout] test src/format/datetime.rs - format::datetime::FormattedDateTime (line 32) ... FAILED [INFO] [stdout] test src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime::from_str (line 75) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Date (line 108) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length (line 20) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Time (line 192) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences (line 20) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences::Bag (line 36) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length (line 35) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Date::Short (line 174) ... ok [INFO] [stdout] test src/options/mod.rs - options::DateTimeFormatOptions (line 44) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Bag (line 57) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Bag (line 72) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Time::Medium (line 245) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Time::Long (line 232) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Date::Medium (line 161) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Time::Short (line 258) ... ok [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat (line 37) ... FAILED [INFO] [stdout] test src/options/mod.rs - options (line 17) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H12 (line 85) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Date::Long (line 148) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Date::Full (line 135) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Time::Full (line 219) ... ok [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H11 (line 97) ... ok [INFO] [stdout] test src/time_zone.rs - time_zone::TimeZoneFormat (line 67) ... FAILED [INFO] [stdout] test src/time_zone.rs - time_zone::TimeZoneFormat::try_from_config (line 265) ... FAILED [INFO] [stdout] test src/time_zone.rs - time_zone::TimeZoneFormat::format (line 395) ... FAILED [INFO] [stdout] test src/time_zone.rs - time_zone::TimeZoneFormat::format_to_string (line 472) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H24 (line 61) ... ok [INFO] [stdout] test src/time_zone.rs - time_zone::TimeZoneFormat::format_to_write (line 433) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H23 (line 73) ... ok [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format (line 135) ... FAILED [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_write (line 175) ... FAILED [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_string (line 213) ... FAILED [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::try_new (line 75) ... FAILED [INFO] [stdout] test src/pattern/runtime/generic.rs - pattern::runtime::generic::GenericPattern::combined (line 26) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/datetime.rs - datetime::DateTimeFormat::format_to_write (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::calendar::{DateTime, Gregorian}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/datetime.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/datetime.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/datetime.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 10 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/datetime.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/datetime.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/datetime.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = DateTime::new_gregorian_datetime_from_integers(2020, 9, 1, 12, 34, 28) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions, options::length}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/lib.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 9 | let options = length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/lib.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 10 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/lib.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 11 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/lib.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 15 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/lib.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 15 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mock/time_zone.rs - mock::time_zone::MockTimeZone::from_str (line 85) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/time_zone.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockTimeZone` in this scope [INFO] [stdout] --> src/mock/time_zone.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 5 | let tz0: MockTimeZone = "Z".parse().expect("Failed to parse a time zone."); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockTimeZone` in this scope [INFO] [stdout] --> src/mock/time_zone.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 6 | let tz1: MockTimeZone = "+02".parse().expect("Failed to parse a time zone."); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockTimeZone` in this scope [INFO] [stdout] --> src/mock/time_zone.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 7 | let tz2: MockTimeZone = "-0230".parse().expect("Failed to parse a time zone."); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockTimeZone` in this scope [INFO] [stdout] --> src/mock/time_zone.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 8 | let tz3: MockTimeZone = "+02:30".parse().expect("Failed to parse a time zone."); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/datetime.rs - datetime::DateTimeFormat::format_to_string (line 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::calendar::{DateTime, Gregorian}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/datetime.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/datetime.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/datetime.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 10 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/datetime.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/datetime.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/datetime.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = DateTime::new_gregorian_datetime_from_integers(2020, 9, 1, 12, 34, 28) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/datetime.rs - datetime::DateTimeFormat (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::datetime::{DateTimeFormat, options::length}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::calendar::{DateTime, Gregorian}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/datetime.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/datetime.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 13 | let options = length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/datetime.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 14 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/datetime.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 15 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/datetime.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/datetime.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 18 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/datetime.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 18 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/datetime.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 22 | let datetime = DateTime::new_gregorian_datetime_from_integers(2020, 9, 1, 12, 34, 28) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/components.rs - options::components (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/components.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::DateTimeFormatOptions; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/components.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::options::components; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/options/components.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 6 | let bag = components::Bag { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/options/components.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 7 | year: Some(components::Year::Numeric), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/options/components.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 8 | month: Some(components::Month::Long), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/options/components.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 9 | day: Some(components::Numeric::Numeric), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/options/components.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 11 | hour: Some(components::Numeric::TwoDigit), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/options/components.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 12 | minute: Some(components::Numeric::TwoDigit), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/options/components.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 20 | let options = DateTimeFormatOptions::Components(bag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/datetime.rs - datetime::DateTimeFormat::format (line 109) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::calendar::{DateTime, Gregorian}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/datetime.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/datetime.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/datetime.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 10 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/datetime.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/datetime.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/datetime.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = DateTime::new_gregorian_datetime_from_integers(2020, 9, 1, 12, 34, 28) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/datetime.rs - datetime::DateTimeFormat::resolve_components (line 208) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 8 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 9 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/datetime.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 17 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/datetime.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 11 | let options = DateTimeFormatOptions::Length(length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/datetime.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 12 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/datetime.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 24 | components::Bag { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/datetime.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 25 | year: Some(components::Year::Numeric), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/datetime.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 26 | month: Some(components::Month::Short), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/datetime.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 27 | day: Some(components::Numeric::Numeric), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `components` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/datetime.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 11 | let options = DateTimeFormatOptions::Length(length::Bag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/datetime.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 17 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/datetime.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 19 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/datetime.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 19 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/zoned_datetime.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::parse_gregorian_from_str; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/zoned_datetime.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/zoned_datetime.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::{DateTime, Gregorian}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/zoned_datetime.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 8 | let dt: DateTime = parse_gregorian_from_str("2020-10-14T13:21:00") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 8 | let dt: DateTime = parse_gregorian_from_str("2020-10-14T13:21:00") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_gregorian_from_str` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 8 | let dt: DateTime = parse_gregorian_from_str("2020-10-14T13:21:00") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::parse_gregorian_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockTimeZone` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 11 | let tz: MockTimeZone = "+05:00".parse() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockZonedDateTime` [INFO] [stdout] --> src/mock/zoned_datetime.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 14 | let zdt1 = MockZonedDateTime::new(dt, tz); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockZonedDateTime` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 15 | let zdt2: MockZonedDateTime = "2020-10-14T13:21:00+05:00".parse() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions, mock::parse_gregorian_from_str, options::length}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/lib.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 10 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/lib.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 13 | let options = DateTimeFormatOptions::Length(length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/lib.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 14 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/lib.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 15 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 10 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/lib.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 13 | let options = DateTimeFormatOptions::Length(length::Bag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 19 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/lib.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 19 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_gregorian_from_str` in this scope [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | let date = parse_gregorian_from_str("2020-09-12T12:35:00") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::parse_gregorian_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/components.rs - options::components (line 66) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/components.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::DateTimeFormatOptions; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/components.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::options::components; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTimeFormatOptions` in this scope [INFO] [stdout] --> src/options/components.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 5 | let options: DateTimeFormatOptions = components::Bag::default().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `components` [INFO] [stdout] --> src/options/components.rs:69:50 [INFO] [stdout] | [INFO] [stdout] 5 | let options: DateTimeFormatOptions = components::Bag::default().into(); [INFO] [stdout] | ^^^ not found in `components` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::components::Bag; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::length::Bag; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::preferences::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mock/time_zone.rs - mock::time_zone::MockTimeZone (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/time_zone.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/time_zone.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::date::GmtOffset; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockTimeZone` [INFO] [stdout] --> src/mock/time_zone.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 6 | let tz1 = MockTimeZone::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GmtOffset` [INFO] [stdout] --> src/mock/time_zone.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 7 | GmtOffset::default(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::types::GmtOffset; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::GmtOffset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockTimeZone` in this scope [INFO] [stdout] --> src/mock/time_zone.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 13 | let tz2: MockTimeZone = "+05:00".parse() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::time_zone::MockTimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/datetime.rs - datetime::DateTimeFormat::try_new (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/datetime.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/datetime.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/datetime.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 13 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/datetime.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 15 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/datetime.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 15 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mock/mod.rs - mock::parse_gregorian_from_str (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::parse_gregorian_from_str; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_gregorian_from_str` in this scope [INFO] [stdout] --> src/mock/mod.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 6 | let date: DateTime = parse_gregorian_from_str("2020-10-14T13:21:00") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::parse_gregorian_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/format/datetime.rs - format::datetime::FormattedDateTime (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/format/datetime.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/format/datetime.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/format/datetime.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/format/datetime.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::calendar::{DateTime, Gregorian}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/format/datetime.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/format/datetime.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 8 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/format/datetime.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 10 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormat` [INFO] [stdout] --> src/format/datetime.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/format/datetime.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 11 | let dtf = DateTimeFormat::::try_new(locale, &provider, &options) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/format/datetime.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = DateTime::new_gregorian_datetime_from_integers(2020, 9, 1, 12, 34, 28) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime::from_str (line 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/zoned_datetime.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockZonedDateTime` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 5 | let date: MockZonedDateTime = "2020-10-14T13:21:00+05:30".parse() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/length.rs - options::length::Date (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::options::length; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 5 | let bag = length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 6 | date: Some(length::Date::Long), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/length.rs - options::length (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::DateTimeFormatOptions; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::options::length; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 6 | let bag = length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 7 | date: Some(length::Date::Medium), // `Medium` length connector will be used [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 8 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/options/length.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 12 | let options = DateTimeFormatOptions::Length(bag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/length.rs - options::length::Time (line 192) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::options::length; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 5 | let bag = length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 7 | time: Some(length::Time::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/preferences.rs - options::preferences (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/preferences.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::options::preferences; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `preferences` [INFO] [stdout] --> src/options/preferences.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 5 | let prefs = preferences::Bag { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `preferences` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `preferences` [INFO] [stdout] --> src/options/preferences.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 6 | hour_cycle: Some(preferences::HourCycle::H23) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `preferences` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/preferences.rs - options::preferences::Bag (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/preferences.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::options::preferences; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `preferences` [INFO] [stdout] --> src/options/preferences.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 5 | let prefs = preferences::Bag { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `preferences` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `preferences` [INFO] [stdout] --> src/options/preferences.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 6 | hour_cycle: Some(preferences::HourCycle::H23) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `preferences` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/length.rs - options::length (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::DateTimeFormatOptions; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::options::length; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTimeFormatOptions` in this scope [INFO] [stdout] --> src/options/length.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 5 | let options: DateTimeFormatOptions = length::Bag::default().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 5 | let options: DateTimeFormatOptions = length::Bag::default().into(); [INFO] [stdout] | ^^^ not found in `length` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::components::Bag; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::length::Bag; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::preferences::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::DateTimeFormatOptions (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::{DateTimeFormatOptions, options::length}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 6 | length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/mod.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 7 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/mod.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 8 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/options/mod.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 5 | let options = DateTimeFormatOptions::Length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/length.rs - options::length::Bag (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::DateTimeFormatOptions; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::options::length; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 6 | let bag = length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 7 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 8 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/options/length.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 12 | let options = DateTimeFormatOptions::Length(bag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/length.rs - options::length::Bag (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::DateTimeFormatOptions; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::datetime::options::length; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTimeFormatOptions` in this scope [INFO] [stdout] --> src/options/length.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 5 | let options: DateTimeFormatOptions = length::Bag::default().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/length.rs:75:46 [INFO] [stdout] | [INFO] [stdout] 5 | let options: DateTimeFormatOptions = length::Bag::default().into(); [INFO] [stdout] | ^^^ not found in `length` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::components::Bag; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::length::Bag; [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::options::preferences::Bag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{ZonedDateTimeFormat, options::length}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 7 | use icu::datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 10 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/zoned_datetime.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 16 | let options = length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/zoned_datetime.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 17 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/zoned_datetime.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 18 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 10 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZonedDateTimeFormat` [INFO] [stdout] --> src/zoned_datetime.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 21 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::ZonedDateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 21 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 25 | let zoned_datetime: MockZonedDateTime = "2021-04-08T16:12:37.000-07:00" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::{DateTimeFormatOptions, options::length}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 6 | length::Bag { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 7 | date: Some(length::Date::Medium), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length` [INFO] [stdout] --> src/options/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 8 | time: Some(length::Time::Short), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `length` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/options/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 5 | let options = DateTimeFormatOptions::Length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time_zone.rs - time_zone::TimeZoneFormat (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/time_zone.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/time_zone.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 11 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time_zone.rs - time_zone::TimeZoneFormat::try_from_config (line 265) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/time_zone.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/time_zone.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 10 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time_zone.rs - time_zone::TimeZoneFormat::format (line 395) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/time_zone.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/time_zone.rs:403:22 [INFO] [stdout] | [INFO] [stdout] 11 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time_zone.rs - time_zone::TimeZoneFormat::format_to_string (line 472) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/time_zone.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/time_zone.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 11 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time_zone.rs - time_zone::TimeZoneFormat::format_to_write (line 433) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/time_zone.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/time_zone.rs:441:22 [INFO] [stdout] | [INFO] [stdout] 11 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{ZonedDateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 7 | use icu::datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/zoned_datetime.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 13 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZonedDateTimeFormat` [INFO] [stdout] --> src/zoned_datetime.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 14 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::ZonedDateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 14 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 17 | let zoned_datetime: MockZonedDateTime = "2021-04-08T16:12:37.000-07:00" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_write (line 175) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{ZonedDateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 7 | use icu::datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/zoned_datetime.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 13 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZonedDateTimeFormat` [INFO] [stdout] --> src/zoned_datetime.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 14 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::ZonedDateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] --> src/zoned_datetime.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 14 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 17 | let zoned_datetime: MockZonedDateTime = "2021-04-08T16:12:37.000-07:00" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_string (line 213) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{ZonedDateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 7 | use icu::datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 9 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/zoned_datetime.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 13 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZonedDateTimeFormat` [INFO] [stdout] --> src/zoned_datetime.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 14 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::ZonedDateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:225:34 [INFO] [stdout] | [INFO] [stdout] 14 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options.into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 17 | let zoned_datetime: MockZonedDateTime = "2021-04-08T16:12:37.000-07:00" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::try_new (line 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::locid::Locale; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 4 | use icu::locid::macros::langid; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::calendar::Gregorian; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::{ZonedDateTimeFormat, DateTimeFormatOptions}; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 7 | use icu::datetime::mock::zoned_datetime::MockZonedDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 10 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] icu_locid_macros::langid [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Locale` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let locale: Locale = langid!("en").into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_locid::Locale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTimeFormatOptions` [INFO] [stdout] --> src/zoned_datetime.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 16 | let options = DateTimeFormatOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::DateTimeFormatOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZonedDateTimeFormat` [INFO] [stdout] --> src/zoned_datetime.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 18 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::ZonedDateTimeFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gregorian` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 18 | let zdtf = ZonedDateTimeFormat::::try_new(locale, &date_provider, &zone_provider, &plural_provider, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_calendar::Gregorian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat (line 33) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::format (line 109) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::format_to_string (line 179) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::format_to_write (line 145) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::resolve_components (line 208) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::try_new (line 69) [INFO] [stdout] src/format/datetime.rs - format::datetime::FormattedDateTime (line 32) [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - (line 48) [INFO] [stdout] src/mock/mod.rs - mock::parse_gregorian_from_str (line 21) [INFO] [stdout] src/mock/time_zone.rs - mock::time_zone::MockTimeZone (line 22) [INFO] [stdout] src/mock/time_zone.rs - mock::time_zone::MockTimeZone::from_str (line 85) [INFO] [stdout] src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime (line 27) [INFO] [stdout] src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime::from_str (line 75) [INFO] [stdout] src/options/components.rs - options::components (line 43) [INFO] [stdout] src/options/components.rs - options::components (line 66) [INFO] [stdout] src/options/length.rs - options::length (line 20) [INFO] [stdout] src/options/length.rs - options::length (line 35) [INFO] [stdout] src/options/length.rs - options::length::Bag (line 57) [INFO] [stdout] src/options/length.rs - options::length::Bag (line 72) [INFO] [stdout] src/options/length.rs - options::length::Date (line 108) [INFO] [stdout] src/options/length.rs - options::length::Time (line 192) [INFO] [stdout] src/options/mod.rs - options (line 17) [INFO] [stdout] src/options/mod.rs - options::DateTimeFormatOptions (line 44) [INFO] [stdout] src/options/preferences.rs - options::preferences (line 20) [INFO] [stdout] src/options/preferences.rs - options::preferences::Bag (line 36) [INFO] [stdout] src/time_zone.rs - time_zone::TimeZoneFormat (line 67) [INFO] [stdout] src/time_zone.rs - time_zone::TimeZoneFormat::format (line 395) [INFO] [stdout] src/time_zone.rs - time_zone::TimeZoneFormat::format_to_string (line 472) [INFO] [stdout] src/time_zone.rs - time_zone::TimeZoneFormat::format_to_write (line 433) [INFO] [stdout] src/time_zone.rs - time_zone::TimeZoneFormat::try_from_config (line 265) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat (line 37) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format (line 135) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_string (line 213) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_write (line 175) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::try_new (line 75) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 36 failed; 18 ignored; 0 measured; 0 filtered out; finished in 9.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b98f5b2fde8c00e4b1779df698b67c8497d67a37cd5dc4e5f123117689ff7301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98f5b2fde8c00e4b1779df698b67c8497d67a37cd5dc4e5f123117689ff7301", kill_on_drop: false }` [INFO] [stdout] b98f5b2fde8c00e4b1779df698b67c8497d67a37cd5dc4e5f123117689ff7301