[INFO] fetching crate chrono-tz 0.8.4... [INFO] checking chrono-tz-0.8.4 against master#020bbe46bdf613c0b8211984eaa8e5fe97d6c92d for pr-122960 [INFO] extracting crate chrono-tz 0.8.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate chrono-tz 0.8.4 on toolchain 020bbe46bdf613c0b8211984eaa8e5fe97d6c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chrono-tz 0.8.4 [INFO] finished tweaking crates.io crate chrono-tz 0.8.4 [INFO] tweaked toml for crates.io crate chrono-tz 0.8.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded derive_arbitrary v1.3.2 [INFO] [stderr] Downloaded phf_generator v0.11.2 [INFO] [stderr] Downloaded chrono-tz-build v0.2.1 [INFO] [stderr] Downloaded serde_test v1.0.176 [INFO] [stderr] Downloaded arbitrary v1.3.2 [INFO] [stderr] Downloaded phf_codegen v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2be427304a15bfee1f1e82dde014e3c2e1cadf236873c6898146550dd529d3f4 [INFO] running `Command { std: "docker" "start" "-a" "2be427304a15bfee1f1e82dde014e3c2e1cadf236873c6898146550dd529d3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2be427304a15bfee1f1e82dde014e3c2e1cadf236873c6898146550dd529d3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be427304a15bfee1f1e82dde014e3c2e1cadf236873c6898146550dd529d3f4", kill_on_drop: false }` [INFO] [stdout] 2be427304a15bfee1f1e82dde014e3c2e1cadf236873c6898146550dd529d3f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e99cf81ccdaf5f16e2f9eba5476a5cb29f787d9f5a60fb131c758b883a17fe63 [INFO] running `Command { std: "docker" "start" "-a" "e99cf81ccdaf5f16e2f9eba5476a5cb29f787d9f5a60fb131c758b883a17fe63", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.8.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | Duration::seconds(self.offset.utc_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | Duration::seconds(self.offset.dst_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 331 | let timestamp = local.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | let timestamp = utc.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | Duration::seconds(self.offset.utc_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | Duration::seconds(self.offset.dst_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 331 | let timestamp = local.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | let timestamp = utc.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | let dt1 = (dt + Duration::days(days)).with_timezone(&Eastern); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:181:62 [INFO] [stdout] | [INFO] [stdout] 181 | let dt2 = dt.with_timezone(&Eastern) + Duration::days(days); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let two_hours = Duration::hours(2); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | let later = dt + Duration::days(180); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:248:38 [INFO] [stdout] | [INFO] [stdout] 248 | let new = dt + Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:303:37 [INFO] [stdout] | [INFO] [stdout] 303 | let before = dt - Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | let after = dt + Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.67s [INFO] running `Command { std: "docker" "inspect" "e99cf81ccdaf5f16e2f9eba5476a5cb29f787d9f5a60fb131c758b883a17fe63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e99cf81ccdaf5f16e2f9eba5476a5cb29f787d9f5a60fb131c758b883a17fe63", kill_on_drop: false }` [INFO] [stdout] e99cf81ccdaf5f16e2f9eba5476a5cb29f787d9f5a60fb131c758b883a17fe63 [INFO] checking chrono-tz-0.8.4 against try#8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde for pr-122960 [INFO] extracting crate chrono-tz 0.8.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate chrono-tz 0.8.4 on toolchain 8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chrono-tz 0.8.4 [INFO] finished tweaking crates.io crate chrono-tz 0.8.4 [INFO] tweaked toml for crates.io crate chrono-tz 0.8.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8243a5a2be934e9254c6588984487e59ab09aa3a90ef11f931a164ea02384811 [INFO] running `Command { std: "docker" "start" "-a" "8243a5a2be934e9254c6588984487e59ab09aa3a90ef11f931a164ea02384811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8243a5a2be934e9254c6588984487e59ab09aa3a90ef11f931a164ea02384811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8243a5a2be934e9254c6588984487e59ab09aa3a90ef11f931a164ea02384811", kill_on_drop: false }` [INFO] [stdout] 8243a5a2be934e9254c6588984487e59ab09aa3a90ef11f931a164ea02384811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0c118b43ace93039fa7fc6cc8b3404944eff7b392384c4ac8b5cb25f76c109a [INFO] running `Command { std: "docker" "start" "-a" "e0c118b43ace93039fa7fc6cc8b3404944eff7b392384c4ac8b5cb25f76c109a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.8.4 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | Duration::seconds(self.offset.utc_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | Duration::seconds(self.offset.dst_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 331 | let timestamp = local.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | let timestamp = utc.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/numberphile.rs from 2021 edition to 2024 [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | Duration::seconds(self.offset.utc_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | Duration::seconds(self.offset.dst_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 331 | let timestamp = local.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | let timestamp = utc.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | let dt1 = (dt + Duration::days(days)).with_timezone(&Eastern); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:181:62 [INFO] [stdout] | [INFO] [stdout] 181 | let dt2 = dt.with_timezone(&Eastern) + Duration::days(days); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let two_hours = Duration::hours(2); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | let later = dt + Duration::days(180); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:248:38 [INFO] [stdout] | [INFO] [stdout] 248 | let new = dt + Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:303:37 [INFO] [stdout] | [INFO] [stdout] 303 | let before = dt - Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | let after = dt + Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.98s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling chrono-tz v0.8.4 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | Duration::seconds(self.offset.utc_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | Duration::seconds(self.offset.dst_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 331 | let timestamp = local.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | let timestamp = utc.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | let dt1 = (dt + Duration::days(days)).with_timezone(&Eastern); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:181:62 [INFO] [stdout] | [INFO] [stdout] 181 | let dt2 = dt.with_timezone(&Eastern) + Duration::days(days); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let two_hours = Duration::hours(2); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead [INFO] [stdout] --> src/lib.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | let later = dt + Duration::days(180); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/lib.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | let dt = dt + Duration::seconds(1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:248:38 [INFO] [stdout] | [INFO] [stdout] 248 | let new = dt + Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:303:37 [INFO] [stdout] | [INFO] [stdout] 303 | let before = dt - Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead [INFO] [stdout] --> src/lib.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | let after = dt + Duration::hours(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | Duration::seconds(self.offset.utc_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead [INFO] [stdout] --> src/timezone_impl.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | Duration::seconds(self.offset.dst_offset as i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 331 | let timestamp = local.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/timezone_impl.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | let timestamp = utc.timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "e0c118b43ace93039fa7fc6cc8b3404944eff7b392384c4ac8b5cb25f76c109a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c118b43ace93039fa7fc6cc8b3404944eff7b392384c4ac8b5cb25f76c109a", kill_on_drop: false }` [INFO] [stdout] e0c118b43ace93039fa7fc6cc8b3404944eff7b392384c4ac8b5cb25f76c109a