[INFO] fetching crate scannit-core 1.0.11... [INFO] building scannit-core-1.0.11 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate scannit-core 1.0.11 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scannit-core 1.0.11 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c66f10e8e0efbbaf215408285b2ff79e82050dd6454e7ed0ee8e0c800269098 [INFO] running `Command { std: "docker" "start" "-a" "6c66f10e8e0efbbaf215408285b2ff79e82050dd6454e7ed0ee8e0c800269098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c66f10e8e0efbbaf215408285b2ff79e82050dd6454e7ed0ee8e0c800269098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c66f10e8e0efbbaf215408285b2ff79e82050dd6454e7ed0ee8e0c800269098", kill_on_drop: false }` [INFO] [stdout] 6c66f10e8e0efbbaf215408285b2ff79e82050dd6454e7ed0ee8e0c800269098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bf9a0a9c54a7e990af7bd0114d315e17f4a6883afce03eb6f62b85d0c9d3152 [INFO] running `Command { std: "docker" "start" "-a" "9bf9a0a9c54a7e990af7bd0114d315e17f4a6883afce03eb6f62b85d0c9d3152", 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 12.52s [INFO] running `Command { std: "docker" "inspect" "9bf9a0a9c54a7e990af7bd0114d315e17f4a6883afce03eb6f62b85d0c9d3152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf9a0a9c54a7e990af7bd0114d315e17f4a6883afce03eb6f62b85d0c9d3152", kill_on_drop: false }` [INFO] [stdout] 9bf9a0a9c54a7e990af7bd0114d315e17f4a6883afce03eb6f62b85d0c9d3152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed2ae2c961f86217abfd7842818b183d19220e012ac323aa3a930045f9154337 [INFO] running `Command { std: "docker" "start" "-a" "ed2ae2c961f86217abfd7842818b183d19220e012ac323aa3a930045f9154337", kill_on_drop: false }` [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] [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 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 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: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: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: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.81s [INFO] running `Command { std: "docker" "inspect" "ed2ae2c961f86217abfd7842818b183d19220e012ac323aa3a930045f9154337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2ae2c961f86217abfd7842818b183d19220e012ac323aa3a930045f9154337", kill_on_drop: false }` [INFO] [stdout] ed2ae2c961f86217abfd7842818b183d19220e012ac323aa3a930045f9154337