[INFO] fetching crate scannit-core 1.0.11... [INFO] building scannit-core-1.0.11 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate scannit-core 1.0.11 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate scannit-core 1.0.11 [INFO] finished tweaking crates.io crate scannit-core 1.0.11 [INFO] tweaked toml for crates.io crate scannit-core 1.0.11 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scannit-core 1.0.11 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.5.3 (available: v0.10.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono-tz v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6b5ed1e2134915c758477d50ba7dbdc1735f94090a9dfe9e4314025b1f12ecc [INFO] running `Command { std: "docker" "start" "-a" "a6b5ed1e2134915c758477d50ba7dbdc1735f94090a9dfe9e4314025b1f12ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6b5ed1e2134915c758477d50ba7dbdc1735f94090a9dfe9e4314025b1f12ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b5ed1e2134915c758477d50ba7dbdc1735f94090a9dfe9e4314025b1f12ecc", kill_on_drop: false }` [INFO] [stdout] a6b5ed1e2134915c758477d50ba7dbdc1735f94090a9dfe9e4314025b1f12ecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d08df43e3998e4e78d20ed7862d8067109c5168c526f1e4d7c15abf738a33a7 [INFO] running `Command { std: "docker" "start" "-a" "1d08df43e3998e4e78d20ed7862d8067109c5168c526f1e4d7c15abf738a33a7", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling scannit-core v1.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | pub period_start_date_1: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | pub period_end_date_1: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub period_start_date_2: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub period_end_date_2: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/en1545date.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | NaiveDate::from_ymd(1997, 1, 1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/en1545date.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | NaiveTime::from_hms(0, 0, 0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | period_start_date_1: from_en1545_date(start_date_1).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:181:57 [INFO] [stdout] | [INFO] [stdout] 181 | period_end_date_1: from_en1545_date(end_date_1).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:185:61 [INFO] [stdout] | [INFO] [stdout] 185 | period_start_date_2: from_en1545_date(start_date_2).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:186:57 [INFO] [stdout] | [INFO] [stdout] 186 | period_end_date_2: from_en1545_date(end_date_2).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.98s [INFO] running `Command { std: "docker" "inspect" "1d08df43e3998e4e78d20ed7862d8067109c5168c526f1e4d7c15abf738a33a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d08df43e3998e4e78d20ed7862d8067109c5168c526f1e4d7c15abf738a33a7", kill_on_drop: false }` [INFO] [stdout] 1d08df43e3998e4e78d20ed7862d8067109c5168c526f1e4d7c15abf738a33a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74b5a83268d3161579000f5d6508c0ecd23a4c736399d772ce1fc9d3f3b5c747 [INFO] running `Command { std: "docker" "start" "-a" "74b5a83268d3161579000f5d6508c0ecd23a4c736399d772ce1fc9d3f3b5c747", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | pub period_start_date_1: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | pub period_end_date_1: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub period_start_date_2: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub period_end_date_2: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/en1545date.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | NaiveDate::from_ymd(1997, 1, 1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/en1545date.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | NaiveTime::from_hms(0, 0, 0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | period_start_date_1: from_en1545_date(start_date_1).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:181:57 [INFO] [stdout] | [INFO] [stdout] 181 | period_end_date_1: from_en1545_date(end_date_1).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:185:61 [INFO] [stdout] | [INFO] [stdout] 185 | period_start_date_2: from_en1545_date(start_date_2).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:186:57 [INFO] [stdout] | [INFO] [stdout] 186 | period_end_date_2: from_en1545_date(end_date_2).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scannit-core v1.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | pub period_start_date_1: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | pub period_end_date_1: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub period_start_date_2: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/travelcard.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub period_end_date_2: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/en1545date.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | NaiveDate::from_ymd(1997, 1, 1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/en1545date.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | NaiveTime::from_hms(0, 0, 0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/en1545date.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let expected = Utc.ymd(2050, 6, 5).and_hms(21, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/en1545date.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | let expected = Utc.ymd(2050, 6, 5).and_hms(21, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/en1545date.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let expected = Utc.ymd(1996, 12, 31).and_hms(22, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/en1545date.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | let expected = Utc.ymd(1996, 12, 31).and_hms(22, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/en1545date.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | let expected = Utc.ymd(2050, 6, 5).and_hms(23, 30, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/en1545date.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | let expected = Utc.ymd(2050, 6, 5).and_hms(23, 30, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/en1545date.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let expected = Utc.ymd(1997, 1, 1).and_hms(2, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/en1545date.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | let expected = Utc.ymd(1997, 1, 1).and_hms(2, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | period_start_date_1: from_en1545_date(start_date_1).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:181:57 [INFO] [stdout] | [INFO] [stdout] 181 | period_end_date_1: from_en1545_date(end_date_1).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:185:61 [INFO] [stdout] | [INFO] [stdout] 185 | period_start_date_2: from_en1545_date(start_date_2).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/travelcard.rs:186:57 [INFO] [stdout] | [INFO] [stdout] 186 | period_end_date_2: from_en1545_date(end_date_2).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "74b5a83268d3161579000f5d6508c0ecd23a4c736399d772ce1fc9d3f3b5c747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b5a83268d3161579000f5d6508c0ecd23a4c736399d772ce1fc9d3f3b5c747", kill_on_drop: false }` [INFO] [stdout] 74b5a83268d3161579000f5d6508c0ecd23a4c736399d772ce1fc9d3f3b5c747