[INFO] fetching crate libimagentrydatetime 0.10.1... [INFO] checking libimagentrydatetime-0.10.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate libimagentrydatetime 0.10.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate libimagentrydatetime 0.10.1 [INFO] finished tweaking crates.io crate libimagentrydatetime 0.10.1 [INFO] tweaked toml for crates.io crate libimagentrydatetime 0.10.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libimagentrydatetime 0.10.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.5) [INFO] [stderr] Adding toml-query v0.9.2 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9389255d0a0efd9e67bd24022aba6672288ae696656eabbf14cc4bac6194a6d7 [INFO] running `Command { std: "docker" "start" "-a" "9389255d0a0efd9e67bd24022aba6672288ae696656eabbf14cc4bac6194a6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9389255d0a0efd9e67bd24022aba6672288ae696656eabbf14cc4bac6194a6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9389255d0a0efd9e67bd24022aba6672288ae696656eabbf14cc4bac6194a6d7", kill_on_drop: false }` [INFO] [stdout] 9389255d0a0efd9e67bd24022aba6672288ae696656eabbf14cc4bac6194a6d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82b3f145826cc45fce5e1b24b6281d90a29e7f0294b6c2c4c4193b826913b39f [INFO] running `Command { std: "docker" "start" "-a" "82b3f145826cc45fce5e1b24b6281d90a29e7f0294b6c2c4c4193b826913b39f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking libimagerror v0.10.1 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Checking libimagutil v0.10.1 [INFO] [stderr] Compiling toml-query_derive v0.9.2 [INFO] [stderr] Checking toml-query v0.9.2 [INFO] [stderr] Checking libimagstore v0.10.1 [INFO] [stderr] Checking libimagentrydatetime v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/datepath/compiler.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/datepath/compiler.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 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/datepath/compiler.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/datepath/compiler.rs:170:50 [INFO] [stdout] | [INFO] [stdout] 170 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 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/datepath/compiler.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/datepath/compiler.rs:176:50 [INFO] [stdout] | [INFO] [stdout] 176 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 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/datepath/compiler.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/datepath/compiler.rs:182:50 [INFO] [stdout] | [INFO] [stdout] 182 | let dt = NaiveDate::from_ymd(2000, 1, 1).and_hms(0, 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/datepath/compiler.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | let dt = NaiveDate::from_ymd(1, 1, 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/datepath/compiler.rs:188:47 [INFO] [stdout] | [INFO] [stdout] 188 | let dt = NaiveDate::from_ymd(1, 1, 1).and_hms(0, 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/datetime.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | let date = NaiveDate::from_ymd(2000, 01, 02); [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/datetime.rs:234:35 [INFO] [stdout] | [INFO] [stdout] 234 | let time = NaiveTime::from_hms(03, 04, 05); [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/datetime.rs:272:35 [INFO] [stdout] | [INFO] [stdout] 272 | let date = NaiveDate::from_ymd(2000, 01, 02); [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/datetime.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | let time = NaiveTime::from_hms(03, 04, 05); [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/datetime.rs:307:35 [INFO] [stdout] | [INFO] [stdout] 307 | let date = NaiveDate::from_ymd(2000, 01, 02); [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/datetime.rs:308:35 [INFO] [stdout] | [INFO] [stdout] 308 | let time = NaiveTime::from_hms(03, 04, 05); [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/range.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | NaiveDate::from_ymd(2000, 02, 02), [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/range.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | NaiveTime::from_hms(12, 00, 02) [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/range.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | NaiveDate::from_ymd(2000, 02, 02), [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/range.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | NaiveTime::from_hms(12, 00, 01) [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/range.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | NaiveDate::from_ymd(2000, 02, 02), [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/range.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | NaiveTime::from_hms(12, 00, 01) [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/range.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | NaiveDate::from_ymd(2000, 02, 02), [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/range.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | NaiveTime::from_hms(12, 00, 02) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/datetime.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | assert!(res.is_ok(), format!("Error: {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - assert!(res.is_ok(), format!("Error: {:?}", res)); [INFO] [stdout] 242 + assert!(res.is_ok(), "Error: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/datetime.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 281 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stdout] 281 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/datetime.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | assert!(d.is_ok(), format!("Expected Ok(_), got: {:?}", d)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 290 - assert!(d.is_ok(), format!("Expected Ok(_), got: {:?}", d)); [INFO] [stdout] 290 + assert!(d.is_ok(), "Expected Ok(_), got: {:?}", d); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/datetime.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 316 | assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 316 - assert!(res.is_ok(), format!("Expected Ok(_), got: {:?}", res)); [INFO] [stdout] 316 + assert!(res.is_ok(), "Expected Ok(_), got: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "82b3f145826cc45fce5e1b24b6281d90a29e7f0294b6c2c4c4193b826913b39f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b3f145826cc45fce5e1b24b6281d90a29e7f0294b6c2c4c4193b826913b39f", kill_on_drop: false }` [INFO] [stdout] 82b3f145826cc45fce5e1b24b6281d90a29e7f0294b6c2c4c4193b826913b39f