[INFO] fetching crate icu_datetime 0.3.0... [INFO] testing icu_datetime-0.3.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate icu_datetime 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate icu_datetime 0.3.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate icu_datetime 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate icu_datetime 0.3.0 [INFO] tweaked toml for crates.io crate icu_datetime 0.3.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate icu_datetime 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4586a010d9a6b87751a4880432429f1c3453c6aa14af014bb6f676cc886fa89 [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" "d4586a010d9a6b87751a4880432429f1c3453c6aa14af014bb6f676cc886fa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4586a010d9a6b87751a4880432429f1c3453c6aa14af014bb6f676cc886fa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4586a010d9a6b87751a4880432429f1c3453c6aa14af014bb6f676cc886fa89", kill_on_drop: false }` [INFO] [stdout] d4586a010d9a6b87751a4880432429f1c3453c6aa14af014bb6f676cc886fa89 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5a3b0ae349b5a7fa8cbd649aac256dd3f99946bc74962354a87e345c1183301 [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" "d5a3b0ae349b5a7fa8cbd649aac256dd3f99946bc74962354a87e345c1183301", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling tinystr-raw v0.1.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling icu_provider_macros v0.3.0 [INFO] [stderr] Compiling yoke-derive v0.1.1 [INFO] [stderr] Compiling tinystr-macros v0.2.0 [INFO] [stderr] Compiling tinystr v0.4.10 [INFO] [stderr] Compiling yoke v0.2.3 [INFO] [stderr] Compiling litemap v0.2.1 [INFO] [stderr] Compiling icu_locid v0.3.0 [INFO] [stderr] Compiling icu_provider v0.3.0 [INFO] [stderr] Compiling icu_datetime v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.70s [INFO] running `Command { std: "docker" "inspect" "d5a3b0ae349b5a7fa8cbd649aac256dd3f99946bc74962354a87e345c1183301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a3b0ae349b5a7fa8cbd649aac256dd3f99946bc74962354a87e345c1183301", kill_on_drop: false }` [INFO] [stdout] d5a3b0ae349b5a7fa8cbd649aac256dd3f99946bc74962354a87e345c1183301 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b82b8bc21ef89fc2d0f5bedf4c4b2845ae96882e7477442f60ebf42097a05ee0 [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" "b82b8bc21ef89fc2d0f5bedf4c4b2845ae96882e7477442f60ebf42097a05ee0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling icu_benchmark_macros v0.3.0 [INFO] [stderr] Compiling tinystr v0.4.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling icu_locid v0.3.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling icu_locid_macros v0.3.0 [INFO] [stderr] Compiling litemap v0.2.1 [INFO] [stderr] Compiling yoke v0.2.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling icu_provider v0.3.0 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling icu_provider_fs v0.3.0 [INFO] [stderr] Compiling icu_datetime v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_testdata v0.3.0 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 57.93s [INFO] running `Command { std: "docker" "inspect" "b82b8bc21ef89fc2d0f5bedf4c4b2845ae96882e7477442f60ebf42097a05ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82b8bc21ef89fc2d0f5bedf4c4b2845ae96882e7477442f60ebf42097a05ee0", kill_on_drop: false }` [INFO] [stdout] b82b8bc21ef89fc2d0f5bedf4c4b2845ae96882e7477442f60ebf42097a05ee0 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6cb1b2900593168ed38926cb3080654b0cce4e1459d8b068d91de48d2e382589 [INFO] running `Command { std: "docker" "start" "-a" "6cb1b2900593168ed38926cb3080654b0cce4e1459d8b068d91de48d2e382589", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/icu_datetime-8320cca0b5a2ee87) [INFO] [stdout] running 23 tests [INFO] [stdout] test arithmetic::test_iso_date_to_weekday ... ok [INFO] [stdout] test arithmetic::test_iso_year_to_gregorian ... ok [INFO] [stdout] test pattern::parser::tests::pattern_parse_placeholders ... ok [INFO] [stdout] test skeleton::test::test_skeleton_bincode_duplicate_field ... ok [INFO] [stdout] test skeleton::test::test_skeleton_bincode_reordering ... ok [INFO] [stdout] test pattern::parser::tests::pattern_parse_symbols ... ok [INFO] [stdout] test skeleton::test::test_skeleton_deserialization ... ok [INFO] [stdout] test pattern::parser::tests::pattern_parse_simple ... ok [INFO] [stdout] test skeleton::test::test_missing_append_items_support ... 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 ... ok [INFO] [stdout] test skeleton::test::test_skeleton_matching_missing_fields ... ok [INFO] [stdout] test options::components::test::test_component_bag_to_vec_field2 ... ok [INFO] [stderr] Running tests/datetime.rs (/opt/rustwide/target/debug/deps/datetime-741514b85123d8ef) [INFO] [stdout] test format::datetime::tests::test_format_number ... ok [INFO] [stdout] test skeleton::test::test_skeleton_no_match ... ok [INFO] [stdout] test pattern::parser::tests::pattern_parse_literals ... ok [INFO] [stdout] test skeleton::test::test_skeleton_empty_bag ... ok [INFO] [stdout] test skeleton::test::test_known_skeletons_ok ... ok [INFO] [stdout] test skeleton::test::test_unsupported_skeletons_skeletons_err ... ok [INFO] [stdout] test skeleton::test::test_skeleton_tuple_ordering ... ok [INFO] [stdout] test format::datetime::tests::test_basic ... ok [INFO] [stdout] test options::components::test::test_component_bag_to_vec_field ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_components_combine_datetime ... ok [INFO] [stdout] test constructing_datetime_format_with_time_zone_pattern_symbols_is_err ... ok [INFO] [stdout] test test_components_width_differences ... ok [INFO] [stdout] test test_components_hour_cycle ... ok [INFO] [stdout] test test_lengths_with_preferences ... ok [INFO] [stdout] test test_components_exact_matches ... ok [INFO] [stdout] test test_length_fixtures ... ok [INFO] [stdout] test test_time_zone_patterns ... ok [INFO] [stderr] Running tests/pattern_serialization.rs (/opt/rustwide/target/debug/deps/pattern_serialization-40bca4102a942567) [INFO] [stdout] test test_dayperiod_patterns ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_pattern_json_errors ... ok [INFO] [stderr] Running tests/skeleton_serialization.rs (/opt/rustwide/target/debug/deps/skeleton_serialization-3f5f4e1a66c8248b) [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 2 tests [INFO] [stdout] test test_skeleton_json_serialization_roundtrip ... ok [INFO] [stderr] Doc-tests icu_datetime [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] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test src/date.rs - date::IsoWeekday (line 266) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::format (line 176) ... FAILED [INFO] [stdout] test src/mock/datetime.rs - mock::datetime::MockDateTime::try_new (line 78) ... FAILED [INFO] [stdout] test src/date.rs - date::IsoWeekday::from (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - (line 45) ... FAILED [INFO] [stdout] test src/mock/datetime.rs - mock::datetime::MockDateTime (line 23) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::try_new (line 73) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat (line 33) ... FAILED [INFO] [stdout] test src/mock/time_zone.rs - mock::time_zone::MockTimeZone::from_str (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/mock/time_zone.rs - mock::time_zone::MockTimeZone (line 22) ... FAILED [INFO] [stdout] test src/mock/datetime.rs - mock::datetime::MockDateTime::from_str (line 114) ... FAILED [INFO] [stdout] test src/date.rs - date::GmtOffset::from_str (line 484) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::format_to_write (line 216) ... FAILED [INFO] [stdout] test src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime::from_str (line 71) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Date (line 105) ... FAILED [INFO] [stdout] test src/datetime.rs - datetime::DateTimeFormat::format_to_string (line 256) ... FAILED [INFO] [stdout] test src/format/datetime.rs - format::datetime::FormattedDateTime (line 27) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length (line 20) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Bag (line 72) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Time (line 189) ... FAILED [INFO] [stdout] test src/options/components.rs - options::components (line 43) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Time::Full (line 216) ... ok [INFO] [stdout] test src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime (line 24) ... 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::Bag (line 57) ... FAILED [INFO] [stdout] test src/options/components.rs - options::components (line 66) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences (line 20) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Date::Full (line 132) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Date::Long (line 145) ... ok [INFO] [stdout] test src/options/mod.rs - options::DateTimeFormatOptions (line 44) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Time::Long (line 229) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Date::Short (line 171) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Date::Medium (line 158) ... ok [INFO] [stdout] test src/options/mod.rs - options (line 17) ... FAILED [INFO] [stdout] test src/options/length.rs - options::length::Time::Short (line 255) ... ok [INFO] [stdout] test src/options/length.rs - options::length::Time::Medium (line 242) ... ok [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H12 (line 82) ... ok [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_write (line 212) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H23 (line 70) ... ok [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format (line 172) ... FAILED [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H24 (line 58) ... ok [INFO] [stdout] test src/options/preferences.rs - options::preferences::HourCycle::H11 (line 94) ... ok [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_string (line 247) ... FAILED [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::try_new (line 77) ... FAILED [INFO] [stdout] test src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/date.rs - date::IsoWeekday (line 266) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/date.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::date::IsoWeekday; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:269:15 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(1, IsoWeekday::Monday as usize); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IsoWeekday` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(7, IsoWeekday::Sunday as usize); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IsoWeekday` [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/datetime.rs - datetime::DateTimeFormat::format (line 176) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:177: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:178: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:179: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:180:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::mock::datetime::MockDateTime; [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:182: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:182: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:184: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:185: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[E0433]: failed to resolve: use of undeclared type `MockDateTime` [INFO] [stdout] --> src/datetime.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = MockDateTime::try_new(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_datetime::mock::datetime::MockDateTime; [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/datetime.rs - mock::datetime::MockDateTime::try_new (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/datetime.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::datetime::MockDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDateTime` [INFO] [stdout] --> src/mock/datetime.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 5 | let dt = MockDateTime::try_new(2020, 9, 24, 13, 21, 0) [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::datetime::MockDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/date.rs - date::IsoWeekday::from (line 290) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/date.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::date::IsoWeekday; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(IsoWeekday::Sunday, IsoWeekday::from(0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IsoWeekday` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(IsoWeekday::Monday, IsoWeekday::from(1)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IsoWeekday` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(IsoWeekday::Sunday, IsoWeekday::from(7)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IsoWeekday` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(IsoWeekday::Monday, IsoWeekday::from(8)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IsoWeekday` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(IsoWeekday::Sunday, IsoWeekday::from(0)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::IsoWeekday; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:294:32 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(IsoWeekday::Monday, IsoWeekday::from(1)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::IsoWeekday; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:295:32 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(IsoWeekday::Sunday, IsoWeekday::from(7)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::IsoWeekday; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IsoWeekday` [INFO] [stdout] --> src/date.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(IsoWeekday::Monday, IsoWeekday::from(8)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::IsoWeekday; [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/lib.rs - (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:46: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:47: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:48:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions, mock::datetime::MockDateTime, 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:50:22 [INFO] [stdout] | [INFO] [stdout] 7 | 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:51:15 [INFO] [stdout] | [INFO] [stdout] 8 | 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:52:16 [INFO] [stdout] | [INFO] [stdout] 9 | 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:53:16 [INFO] [stdout] | [INFO] [stdout] 10 | 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:50:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:57:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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: 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/datetime.rs - mock::datetime::MockDateTime (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/datetime.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::datetime::MockDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDateTime` [INFO] [stdout] --> src/mock/datetime.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 5 | let dt1 = MockDateTime::try_new(2020, 9, 24, 13, 21, 0) [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::datetime::MockDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDateTime` in this scope [INFO] [stdout] --> src/mock/datetime.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 8 | let dt2: MockDateTime = "2020-10-14T13:21: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::datetime::MockDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 73) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:74: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:75: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:76: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:77:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::mock::datetime::MockDateTime; [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:80: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:80: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:84: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:86: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: aborting due to 8 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::datetime::mock::datetime::MockDateTime; [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[E0433]: failed to resolve: use of undeclared type `MockDateTime` [INFO] [stdout] --> src/datetime.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 22 | let datetime = MockDateTime::try_new(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_datetime::mock::datetime::MockDateTime; [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/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/lib.rs:16: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:17: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:18:5 [INFO] [stdout] | [INFO] [stdout] 5 | use icu::datetime::{DateTimeFormat, DateTimeFormatOptions, mock::datetime::MockDateTime, 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:22: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/lib.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 12 | 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:26:16 [INFO] [stdout] | [INFO] [stdout] 13 | 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:27:16 [INFO] [stdout] | [INFO] [stdout] 14 | 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:22: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/lib.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 12 | 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:31:11 [INFO] [stdout] | [INFO] [stdout] 18 | 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 `MockDateTime` in this scope [INFO] [stdout] --> src/lib.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 22 | let date: MockDateTime = "2020-09-12T12:35: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::datetime::MockDateTime; [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 (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 this struct [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/mock/datetime.rs - mock::datetime::MockDateTime::from_str (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/datetime.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::datetime::MockDateTime; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDateTime` in this scope [INFO] [stdout] --> src/mock/datetime.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 5 | let date: MockDateTime = "2020-10-14T13:21: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::datetime::MockDateTime; [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/date.rs - date::GmtOffset::from_str (line 484) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/date.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::date::GmtOffset; [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GmtOffset` in this scope [INFO] [stdout] --> src/date.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 5 | let offset0: GmtOffset = "Z".parse().expect("Failed to parse a GMT offset."); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::GmtOffset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GmtOffset` in this scope [INFO] [stdout] --> src/date.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 6 | let offset1: GmtOffset = "-09".parse().expect("Failed to parse a GMT offset."); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::GmtOffset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GmtOffset` in this scope [INFO] [stdout] --> src/date.rs:489:14 [INFO] [stdout] | [INFO] [stdout] 7 | let offset2: GmtOffset = "-0930".parse().expect("Failed to parse a GMT offset."); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::GmtOffset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GmtOffset` in this scope [INFO] [stdout] --> src/date.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 8 | let offset3: GmtOffset = "-09:30".parse().expect("Failed to parse a GMT offset."); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use icu_datetime::date::GmtOffset; [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_write (line 216) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:217: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:218: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:219: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:220:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::mock::datetime::MockDateTime; [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:222: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:222: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:224: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:225: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[E0433]: failed to resolve: use of undeclared type `MockDateTime` [INFO] [stdout] --> src/datetime.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = MockDateTime::try_new(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_datetime::mock::datetime::MockDateTime; [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/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime::from_str (line 71) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/zoned_datetime.rs:72: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:74: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 105) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:106: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:108: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:109: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/datetime.rs - datetime::DateTimeFormat::format_to_string (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/datetime.rs:257: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:258: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:259: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:260:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::mock::datetime::MockDateTime; [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:262: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:262: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:264: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:265: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[E0433]: failed to resolve: use of undeclared type `MockDateTime` [INFO] [stdout] --> src/datetime.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = MockDateTime::try_new(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_datetime::mock::datetime::MockDateTime; [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/format/datetime.rs - format::datetime::FormattedDateTime (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/format/datetime.rs:28: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:29: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:30: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:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | use icu::datetime::mock::datetime::MockDateTime; [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:33: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:33: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:35: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:36: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[E0433]: failed to resolve: use of undeclared type `MockDateTime` [INFO] [stdout] --> src/format/datetime.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 14 | let datetime = MockDateTime::try_new(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_datetime::mock::datetime::MockDateTime; [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/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::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/options/length.rs - options::length::Time (line 189) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/options/length.rs:190: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:192: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:194: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/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::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: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/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/mock/zoned_datetime.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icu::datetime::mock::datetime::MockDateTime; [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:26: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:27:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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 `MockDateTime` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 7 | let dt: MockDateTime = "2020-10-14T13:21: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::datetime::MockDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockTimeZone` in this scope [INFO] [stdout] --> src/mock/zoned_datetime.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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:35:12 [INFO] [stdout] | [INFO] [stdout] 13 | 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:36:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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 7 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/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/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/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] [stderr] error: test failed, to rerun pass '--doc' [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/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/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/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/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_write (line 212) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:213: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:214: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:215:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:216: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: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:218: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/zoned_datetime.rs:218: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/zoned_datetime.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 11 | 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:222:12 [INFO] [stdout] | [INFO] [stdout] 12 | let zdtf = ZonedDateTimeFormat::try_new(locale, &date_provider, &zone_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 `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 15 | 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 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/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format (line 172) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:173: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:174: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:175:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:176: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: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:178: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/zoned_datetime.rs:178: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/zoned_datetime.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 11 | 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:182:12 [INFO] [stdout] | [INFO] [stdout] 12 | let zdtf = ZonedDateTimeFormat::try_new(locale, &date_provider, &zone_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 `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 15 | 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 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/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_string (line 247) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> src/zoned_datetime.rs:248: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:249: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:250:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:251: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: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:253: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/zoned_datetime.rs:253: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/zoned_datetime.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 11 | 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:257:12 [INFO] [stdout] | [INFO] [stdout] 12 | let zdtf = ZonedDateTimeFormat::try_new(locale, &date_provider, &zone_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 `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 15 | 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 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/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::try_new (line 77) 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] 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:79: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:80:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:81: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: cannot find macro `langid` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:84: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:84: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:89:15 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 16 | let zdtf = ZonedDateTimeFormat::try_new(locale, &date_provider, &zone_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: aborting due to 8 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 38) 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] 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:40: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:41:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 6 | 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] 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/zoned_datetime.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 14 | 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:51:16 [INFO] [stdout] | [INFO] [stdout] 15 | 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:52:16 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 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 `ZonedDateTimeFormat` [INFO] [stdout] --> src/zoned_datetime.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 19 | let zdtf = ZonedDateTimeFormat::try_new(locale, &date_provider, &zone_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 `MockZonedDateTime` in this scope [INFO] [stdout] --> src/zoned_datetime.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 23 | 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] [INFO] [stdout] failures: [INFO] [stdout] src/date.rs - date::GmtOffset::from_str (line 484) [INFO] [stdout] src/date.rs - date::IsoWeekday (line 266) [INFO] [stdout] src/date.rs - date::IsoWeekday::from (line 290) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat (line 33) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::format (line 176) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::format_to_string (line 256) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::format_to_write (line 216) [INFO] [stdout] src/datetime.rs - datetime::DateTimeFormat::try_new (line 73) [INFO] [stdout] src/format/datetime.rs - format::datetime::FormattedDateTime (line 27) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 45) [INFO] [stdout] src/mock/datetime.rs - mock::datetime::MockDateTime (line 23) [INFO] [stdout] src/mock/datetime.rs - mock::datetime::MockDateTime::from_str (line 114) [INFO] [stdout] src/mock/datetime.rs - mock::datetime::MockDateTime::try_new (line 78) [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 24) [INFO] [stdout] src/mock/zoned_datetime.rs - mock::zoned_datetime::MockZonedDateTime::from_str (line 71) [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 105) [INFO] [stdout] src/options/length.rs - options::length::Time (line 189) [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/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat (line 38) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format (line 172) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_string (line 247) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::format_to_write (line 212) [INFO] [stdout] src/zoned_datetime.rs - zoned_datetime::ZonedDateTimeFormat::try_new (line 77) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 35 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cb1b2900593168ed38926cb3080654b0cce4e1459d8b068d91de48d2e382589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb1b2900593168ed38926cb3080654b0cce4e1459d8b068d91de48d2e382589", kill_on_drop: false }` [INFO] [stdout] 6cb1b2900593168ed38926cb3080654b0cce4e1459d8b068d91de48d2e382589