[INFO] fetching crate zoneinfo64 0.2.1... [INFO] testing zoneinfo64-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate zoneinfo64 0.2.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate zoneinfo64 0.2.1 [INFO] finished tweaking crates.io crate zoneinfo64 0.2.1 [INFO] tweaked toml for crates.io crate zoneinfo64 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zoneinfo64 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zoneinfo64 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.43 [INFO] [stderr] Downloaded jiff-tzdb v0.1.4 [INFO] [stderr] Downloaded calendrical_calculations v0.2.3 [INFO] [stderr] Downloaded resb v0.1.1 [INFO] [stderr] Downloaded icu_locale_core v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f3ea34a89f514a64fe2d3628abd4fceb6db128c5062d9bad5e80ec8bb3d9c9 [INFO] running `Command { std: "docker" "start" "-a" "e3f3ea34a89f514a64fe2d3628abd4fceb6db128c5062d9bad5e80ec8bb3d9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f3ea34a89f514a64fe2d3628abd4fceb6db128c5062d9bad5e80ec8bb3d9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f3ea34a89f514a64fe2d3628abd4fceb6db128c5062d9bad5e80ec8bb3d9c9", kill_on_drop: false }` [INFO] [stdout] e3f3ea34a89f514a64fe2d3628abd4fceb6db128c5062d9bad5e80ec8bb3d9c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d58b71abfb7d33d91cdfc49a3beaf287aaad6cadb372b742f2c9d131a2457bdb [INFO] running `Command { std: "docker" "start" "-a" "d58b71abfb7d33d91cdfc49a3beaf287aaad6cadb372b742f2c9d131a2457bdb", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling calendrical_calculations v0.2.3 [INFO] [stderr] Compiling resb v0.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.0 [INFO] [stderr] Compiling zoneinfo64 v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.33s [INFO] running `Command { std: "docker" "inspect" "d58b71abfb7d33d91cdfc49a3beaf287aaad6cadb372b742f2c9d131a2457bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58b71abfb7d33d91cdfc49a3beaf287aaad6cadb372b742f2c9d131a2457bdb", kill_on_drop: false }` [INFO] [stdout] d58b71abfb7d33d91cdfc49a3beaf287aaad6cadb372b742f2c9d131a2457bdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997e1c9a72a6b54e19003cb8b3c8d4965f3868a3f2f51c344dc55f51bb85aa7f [INFO] running `Command { std: "docker" "start" "-a" "997e1c9a72a6b54e19003cb8b3c8d4965f3868a3f2f51c344dc55f51bb85aa7f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Compiling jiff-tzdb v0.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling zoneinfo64 v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/lib.rs:774:13 [INFO] [stdout] | [INFO] [stdout] 774 | use chrono::Offset; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/lib.rs:775:13 [INFO] [stdout] | [INFO] [stdout] 775 | use chrono::TimeZone; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono` [INFO] [stdout] --> src/lib.rs:788:36 [INFO] [stdout] | [INFO] [stdout] 788 | let utc_datetime = chrono::DateTime::from_timestamp(seconds_since_epoch, 0) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 703 + use jiff::civil::DateTime; [INFO] [stdout] | [INFO] [stdout] help: if you import `DateTime`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 788 - let utc_datetime = chrono::DateTime::from_timestamp(seconds_since_epoch, 0) [INFO] [stdout] 788 + let utc_datetime = DateTime::from_timestamp(seconds_since_epoch, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_utc_datetime` found for struct `Zone<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:792:50 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Zone<'a> { [INFO] [stdout] | ------------------- method `from_utc_datetime` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 792 | let zoneinfo64_date = zoneinfo64.from_utc_datetime(&utc_datetime); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_utc_datetime`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `chrono::offset::TimeZone` [INFO] [stdout] help: there is a method `for_date_time` with a similar name, but with different arguments [INFO] [stdout] --> src/lib.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / pub fn for_date_time( [INFO] [stdout] 448 | | &self, [INFO] [stdout] 449 | | year: i32, [INFO] [stdout] 450 | | month: u8, [INFO] [stdout] ... | [INFO] [stdout] 454 | | second: u8, [INFO] [stdout] 455 | | ) -> PossibleOffset { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_utc_datetime` found for enum `Tz` in the current scope [INFO] [stdout] --> src/lib.rs:793:42 [INFO] [stdout] | [INFO] [stdout] 793 | let chrono_date = chrono.from_utc_datetime(&utc_datetime); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/offset/mod.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 613 | fn from_utc_datetime(&self, utc: &NaiveDateTime) -> DateTime { [INFO] [stdout] | ----------------- the method is available for `Tz` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TimeZone` which provides `from_utc_datetime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 703 + use chrono::offset::TimeZone; [INFO] [stdout] | [INFO] [stdout] help: there is a method `from_utc_date` with a similar name [INFO] [stdout] | [INFO] [stdout] 793 - let chrono_date = chrono.from_utc_datetime(&utc_datetime); [INFO] [stdout] 793 + let chrono_date = chrono.from_utc_date(&utc_datetime); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_from_local_datetime` found for struct `Zone<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:803:26 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Zone<'a> { [INFO] [stdout] | ------------------- method `offset_from_local_datetime` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 802 | / zoneinfo64 [INFO] [stdout] 803 | | .offset_from_local_datetime(&local_datetime) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Zone<'_>` [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `offset_from_local_datetime`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `chrono::offset::TimeZone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:804:31 [INFO] [stdout] | [INFO] [stdout] 804 | .map(|o| o.fix()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 804 | .map(|o: /* Type */| o.fix()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_from_local_datetime` found for enum `Tz` in the current scope [INFO] [stdout] --> src/lib.rs:806:26 [INFO] [stdout] | [INFO] [stdout] 805 | / chrono [INFO] [stdout] 806 | | .offset_from_local_datetime(&local_datetime) [INFO] [stdout] | |_________________________-^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/offset/mod.rs:572:8 [INFO] [stdout] | [INFO] [stdout] 572 | fn offset_from_local_datetime(&self, local: &NaiveDateTime) -> MappedLocalTime; [INFO] [stdout] | -------------------------- the method is available for `Tz` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TimeZone` which provides `offset_from_local_datetime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 703 + use chrono::offset::TimeZone; [INFO] [stdout] | [INFO] [stdout] help: there is a method `offset_from_local_date` with a similar name [INFO] [stdout] | [INFO] [stdout] 806 - .offset_from_local_datetime(&local_datetime) [INFO] [stdout] 806 + .offset_from_local_date(&local_datetime) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:807:31 [INFO] [stdout] | [INFO] [stdout] 807 | .map(|o| o.fix()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 807 | .map(|o: /* Type */| o.fix()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zoneinfo64` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "997e1c9a72a6b54e19003cb8b3c8d4965f3868a3f2f51c344dc55f51bb85aa7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997e1c9a72a6b54e19003cb8b3c8d4965f3868a3f2f51c344dc55f51bb85aa7f", kill_on_drop: false }` [INFO] [stdout] 997e1c9a72a6b54e19003cb8b3c8d4965f3868a3f2f51c344dc55f51bb85aa7f