[INFO] fetching crate til-cli 0.1.1... [INFO] testing til-cli-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate til-cli 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate til-cli 0.1.1 [INFO] finished tweaking crates.io crate til-cli 0.1.1 [INFO] tweaked toml for crates.io crate til-cli 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate til-cli 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding directories v1.0.2 (available: v6.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded directories v1.0.2 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7813a61853abfc7119452e998afb79a58179a6869c35a4d6646be68350cd5715 [INFO] running `Command { std: "docker" "start" "-a" "7813a61853abfc7119452e998afb79a58179a6869c35a4d6646be68350cd5715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7813a61853abfc7119452e998afb79a58179a6869c35a4d6646be68350cd5715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7813a61853abfc7119452e998afb79a58179a6869c35a4d6646be68350cd5715", kill_on_drop: false }` [INFO] [stdout] 7813a61853abfc7119452e998afb79a58179a6869c35a4d6646be68350cd5715 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7754c7431d75ffd86c3b3c9baf50b1876fe06033e954c465c17ca4548ad3d919 [INFO] running `Command { std: "docker" "start" "-a" "7754c7431d75ffd86c3b3c9baf50b1876fe06033e954c465c17ca4548ad3d919", kill_on_drop: false }` [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling til-cli v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/file.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_til_file_path(root_path: &Path, file_date: Date) -> PathBuf { [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/learned.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/learned.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let date = Local::today(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "7754c7431d75ffd86c3b3c9baf50b1876fe06033e954c465c17ca4548ad3d919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7754c7431d75ffd86c3b3c9baf50b1876fe06033e954c465c17ca4548ad3d919", kill_on_drop: false }` [INFO] [stdout] 7754c7431d75ffd86c3b3c9baf50b1876fe06033e954c465c17ca4548ad3d919 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c5ea5f1489b920db5434356a5263c8beac55620fecbb8162b1d8e82d7e61831 [INFO] running `Command { std: "docker" "start" "-a" "9c5ea5f1489b920db5434356a5263c8beac55620fecbb8162b1d8e82d7e61831", kill_on_drop: false }` [INFO] [stderr] Compiling til-cli v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/file.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_til_file_path(root_path: &Path, file_date: Date) -> PathBuf { [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/learned.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/learned.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let date = Local::today(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Local` in this scope [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | let dt = Local.ymd(2014, 11, 28); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 11 + use crate::tests::chrono::Local; [INFO] [stdout] | [INFO] [stdout] 11 + use chrono::Local; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/file.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_til_file_path(root_path: &Path, file_date: Date) -> PathBuf { [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/learned.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/learned.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let date = Local::today(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_date` in this scope [INFO] [stdout] --> src/lib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(format_date(dt), "2014-11-28"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `til-cli` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9c5ea5f1489b920db5434356a5263c8beac55620fecbb8162b1d8e82d7e61831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5ea5f1489b920db5434356a5263c8beac55620fecbb8162b1d8e82d7e61831", kill_on_drop: false }` [INFO] [stdout] 9c5ea5f1489b920db5434356a5263c8beac55620fecbb8162b1d8e82d7e61831