[INFO] fetching crate rsq 0.1.1... [INFO] building rsq-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rsq 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rsq 0.1.1 [INFO] finished tweaking crates.io crate rsq 0.1.1 [INFO] tweaked toml for crates.io crate rsq 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsq 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 uuid v0.8.2 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b9f7a6468374265489c776e66f7aa8a575a132a3b4fa4dbd87fdb2f90c85f39 [INFO] running `Command { std: "docker" "start" "-a" "7b9f7a6468374265489c776e66f7aa8a575a132a3b4fa4dbd87fdb2f90c85f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b9f7a6468374265489c776e66f7aa8a575a132a3b4fa4dbd87fdb2f90c85f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9f7a6468374265489c776e66f7aa8a575a132a3b4fa4dbd87fdb2f90c85f39", kill_on_drop: false }` [INFO] [stdout] 7b9f7a6468374265489c776e66f7aa8a575a132a3b4fa4dbd87fdb2f90c85f39 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d8abe7a2eede277ef2c9c9fd65c6bc591139a3ed2e87fa7db1349bb01f4af72 [INFO] running `Command { std: "docker" "start" "-a" "3d8abe7a2eede277ef2c9c9fd65c6bc591139a3ed2e87fa7db1349bb01f4af72", kill_on_drop: false }` [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rsq v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Utc, NaiveDateTime, NaiveDate, Datelike, Timelike}; [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/ktype.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Month(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | KType::Date(Date::::from_utc( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | KType::Date(Date::::from_utc( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:175:69 [INFO] [stdout] | [INFO] [stdout] 175 | KType::Timestamp(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:178:69 [INFO] [stdout] | [INFO] [stdout] 178 | KType::Datetime(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:179:69 [INFO] [stdout] | [INFO] [stdout] 179 | KType::Timespan(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:180:69 [INFO] [stdout] | [INFO] [stdout] 180 | KType::Minute(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:181:69 [INFO] [stdout] | [INFO] [stdout] 181 | KType::Second(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | KType::Timestamp(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | NaiveDateTime::from_timestamp(dt / 1_000_000_000, (dt % 1_000_000_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_num_days_from_ce`: use `from_num_days_from_ce_opt()` instead [INFO] [stdout] --> src/ktype.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | NaiveDate::from_num_days_from_ce(dt), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_num_days_from_ce`: use `from_num_days_from_ce_opt()` instead [INFO] [stdout] --> src/ktype.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | NaiveDate::from_num_days_from_ce(dt), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:218:50 [INFO] [stdout] | [INFO] [stdout] 218 | KType::Datetime(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:219:36 [INFO] [stdout] | [INFO] [stdout] 219 | NaiveDateTime::from_timestamp((dt / 1_000_000_000.0) as i64, dt as u32 % 1_000_000_000), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:223:50 [INFO] [stdout] | [INFO] [stdout] 223 | KType::Timespan(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | NaiveDateTime::from_timestamp(dt / 1_000_000_000, (dt % 1_000_000_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | KType::Minute(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | NaiveDateTime::from_timestamp((m * 60) as i64, 0), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:233:48 [INFO] [stdout] | [INFO] [stdout] 233 | KType::Second(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | NaiveDateTime::from_timestamp(s as i64, 0), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | KType::Time(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | NaiveDateTime::from_timestamp((s / 1000) as i64, 1_000_000*(s % 1_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/kobj.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | -13 => KObj::Atom(KType::Month(Utc::today())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/kobj.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | -14 => KObj::Atom(KType::Date(Utc::today())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endian` is never read [INFO] [stdout] --> src/header.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub endian: Endian, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "3d8abe7a2eede277ef2c9c9fd65c6bc591139a3ed2e87fa7db1349bb01f4af72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d8abe7a2eede277ef2c9c9fd65c6bc591139a3ed2e87fa7db1349bb01f4af72", kill_on_drop: false }` [INFO] [stdout] 3d8abe7a2eede277ef2c9c9fd65c6bc591139a3ed2e87fa7db1349bb01f4af72 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 631f5a80ad419bc1c05b3c6a3a3c5e3bba6b4083b5147e39203a8e968448e1e9 [INFO] running `Command { std: "docker" "start" "-a" "631f5a80ad419bc1c05b3c6a3a3c5e3bba6b4083b5147e39203a8e968448e1e9", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Utc, NaiveDateTime, NaiveDate, Datelike, Timelike}; [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/ktype.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Month(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | KType::Date(Date::::from_utc( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | KType::Date(Date::::from_utc( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:175:69 [INFO] [stdout] | [INFO] [stdout] 175 | KType::Timestamp(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:178:69 [INFO] [stdout] | [INFO] [stdout] 178 | KType::Datetime(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsq v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:179:69 [INFO] [stdout] | [INFO] [stdout] 179 | KType::Timespan(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:180:69 [INFO] [stdout] | [INFO] [stdout] 180 | KType::Minute(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:181:69 [INFO] [stdout] | [INFO] [stdout] 181 | KType::Second(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | KType::Timestamp(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | NaiveDateTime::from_timestamp(dt / 1_000_000_000, (dt % 1_000_000_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_num_days_from_ce`: use `from_num_days_from_ce_opt()` instead [INFO] [stdout] --> src/ktype.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | NaiveDate::from_num_days_from_ce(dt), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_num_days_from_ce`: use `from_num_days_from_ce_opt()` instead [INFO] [stdout] --> src/ktype.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | NaiveDate::from_num_days_from_ce(dt), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:218:50 [INFO] [stdout] | [INFO] [stdout] 218 | KType::Datetime(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:219:36 [INFO] [stdout] | [INFO] [stdout] 219 | NaiveDateTime::from_timestamp((dt / 1_000_000_000.0) as i64, dt as u32 % 1_000_000_000), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:223:50 [INFO] [stdout] | [INFO] [stdout] 223 | KType::Timespan(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | NaiveDateTime::from_timestamp(dt / 1_000_000_000, (dt % 1_000_000_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | KType::Minute(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | NaiveDateTime::from_timestamp((m * 60) as i64, 0), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:233:48 [INFO] [stdout] | [INFO] [stdout] 233 | KType::Second(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | NaiveDateTime::from_timestamp(s as i64, 0), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | KType::Time(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | NaiveDateTime::from_timestamp((s / 1000) as i64, 1_000_000*(s % 1_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/kobj.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | -13 => KObj::Atom(KType::Month(Utc::today())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/kobj.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | -14 => KObj::Atom(KType::Date(Utc::today())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endian` is never read [INFO] [stdout] --> src/header.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub endian: Endian, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Utc, NaiveDateTime, NaiveDate, Datelike, Timelike}; [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/ktype.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Month(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | KType::Date(Date::::from_utc( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/ktype.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | KType::Date(Date::::from_utc( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:175:69 [INFO] [stdout] | [INFO] [stdout] 175 | KType::Timestamp(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:178:69 [INFO] [stdout] | [INFO] [stdout] 178 | KType::Datetime(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:179:69 [INFO] [stdout] | [INFO] [stdout] 179 | KType::Timespan(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:180:69 [INFO] [stdout] | [INFO] [stdout] 180 | KType::Minute(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ktype.rs:181:69 [INFO] [stdout] | [INFO] [stdout] 181 | KType::Second(n) => {buf.write_i64::(n.timestamp_nanos() - 946684800000000000).unwrap(); buf}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | KType::Timestamp(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | NaiveDateTime::from_timestamp(dt / 1_000_000_000, (dt % 1_000_000_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_num_days_from_ce`: use `from_num_days_from_ce_opt()` instead [INFO] [stdout] --> src/ktype.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | NaiveDate::from_num_days_from_ce(dt), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_num_days_from_ce`: use `from_num_days_from_ce_opt()` instead [INFO] [stdout] --> src/ktype.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | NaiveDate::from_num_days_from_ce(dt), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:218:50 [INFO] [stdout] | [INFO] [stdout] 218 | KType::Datetime(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:219:36 [INFO] [stdout] | [INFO] [stdout] 219 | NaiveDateTime::from_timestamp((dt / 1_000_000_000.0) as i64, dt as u32 % 1_000_000_000), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:223:50 [INFO] [stdout] | [INFO] [stdout] 223 | KType::Timespan(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | NaiveDateTime::from_timestamp(dt / 1_000_000_000, (dt % 1_000_000_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | KType::Minute(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | NaiveDateTime::from_timestamp((m * 60) as i64, 0), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:233:48 [INFO] [stdout] | [INFO] [stdout] 233 | KType::Second(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | NaiveDateTime::from_timestamp(s as i64, 0), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/ktype.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | KType::Time(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/ktype.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | NaiveDateTime::from_timestamp((s / 1000) as i64, 1_000_000*(s % 1_000) as u32), Utc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/kobj.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | -13 => KObj::Atom(KType::Month(Utc::today())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/kobj.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | -14 => KObj::Atom(KType::Date(Utc::today())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endian` is never read [INFO] [stdout] --> src/header.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub endian: Endian, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "631f5a80ad419bc1c05b3c6a3a3c5e3bba6b4083b5147e39203a8e968448e1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631f5a80ad419bc1c05b3c6a3a3c5e3bba6b4083b5147e39203a8e968448e1e9", kill_on_drop: false }` [INFO] [stdout] 631f5a80ad419bc1c05b3c6a3a3c5e3bba6b4083b5147e39203a8e968448e1e9