[INFO] fetching crate odbc-iter 0.2.7... [INFO] testing odbc-iter-0.2.7 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate odbc-iter 0.2.7 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate odbc-iter 0.2.7 [INFO] finished tweaking crates.io crate odbc-iter 0.2.7 [INFO] tweaked toml for crates.io crate odbc-iter 0.2.7 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate odbc-iter 0.2.7 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding odbc v0.13.0 (available: v0.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e28e80b0698036159d40b99c3e1d59f01f9ba50f6ed9d9003272b931b1e8a318 [INFO] running `Command { std: "docker" "start" "-a" "e28e80b0698036159d40b99c3e1d59f01f9ba50f6ed9d9003272b931b1e8a318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e28e80b0698036159d40b99c3e1d59f01f9ba50f6ed9d9003272b931b1e8a318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28e80b0698036159d40b99c3e1d59f01f9ba50f6ed9d9003272b931b1e8a318", kill_on_drop: false }` [INFO] [stdout] e28e80b0698036159d40b99c3e1d59f01f9ba50f6ed9d9003272b931b1e8a318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf69c11087865704ce27584c4312eca9c218a9baeff572015a709aac3d033df0 [INFO] running `Command { std: "docker" "start" "-a" "cf69c11087865704ce27584c4312eca9c218a9baeff572015a709aac3d033df0", kill_on_drop: false }` [INFO] [stderr] Compiling odbc-sys v0.6.3 [INFO] [stderr] Compiling error-context v0.1.2 [INFO] [stderr] Compiling odbc-safe v0.4.1 [INFO] [stderr] Compiling odbc v0.13.0 [INFO] [stderr] Compiling odbc-iter v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/row.rs:694:24 [INFO] [stdout] | [INFO] [stdout] 694 | NaiveDate::from_ymd( [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_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/row.rs:699:14 [INFO] [stdout] | [INFO] [stdout] 699 | .and_hms_nano( [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/row.rs:719:24 [INFO] [stdout] | [INFO] [stdout] 719 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead [INFO] [stdout] --> src/row.rs:738:24 [INFO] [stdout] | [INFO] [stdout] 738 | NaiveTime::from_hms_nano( [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/value.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/value.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | .and_hms_nano( [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/value.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead [INFO] [stdout] --> src/value.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | NaiveTime::from_hms_nano( [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/odbc_type.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/odbc_type.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | .and_hms_nano( [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/odbc_type.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | NaiveDateTime::from_timestamp(ts as i64, (ts.fract() * 1_000_000_000.0) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:516:20 [INFO] [stdout] | [INFO] [stdout] 516 | fn as_nullable(&self) -> NullableValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 516 | fn as_nullable(&self) -> NullableValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:521:23 [INFO] [stdout] | [INFO] [stdout] 521 | fn as_nullable_as(&self, null: &'static str) -> NullableValue; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 521 | fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | fn as_nullable_as(&self, null: &'static str) -> NullableValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 526 | fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "cf69c11087865704ce27584c4312eca9c218a9baeff572015a709aac3d033df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf69c11087865704ce27584c4312eca9c218a9baeff572015a709aac3d033df0", kill_on_drop: false }` [INFO] [stdout] cf69c11087865704ce27584c4312eca9c218a9baeff572015a709aac3d033df0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22922942faa0c63979df615a7240c3b43bf37d364cddc57fb28d7e9164e99d8a [INFO] running `Command { std: "docker" "start" "-a" "22922942faa0c63979df615a7240c3b43bf37d364cddc57fb28d7e9164e99d8a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/row.rs:694:24 [INFO] [stdout] | [INFO] [stdout] 694 | NaiveDate::from_ymd( [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_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/row.rs:699:14 [INFO] [stdout] | [INFO] [stdout] 699 | .and_hms_nano( [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/row.rs:719:24 [INFO] [stdout] | [INFO] [stdout] 719 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead [INFO] [stdout] --> src/row.rs:738:24 [INFO] [stdout] | [INFO] [stdout] 738 | NaiveTime::from_hms_nano( [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/value.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/value.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | .and_hms_nano( [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/value.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead [INFO] [stdout] --> src/value.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | NaiveTime::from_hms_nano( [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/odbc_type.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/odbc_type.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | .and_hms_nano( [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/odbc_type.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | NaiveDateTime::from_timestamp(ts as i64, (ts.fract() * 1_000_000_000.0) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:516:20 [INFO] [stdout] | [INFO] [stdout] 516 | fn as_nullable(&self) -> NullableValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 516 | fn as_nullable(&self) -> NullableValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:521:23 [INFO] [stdout] | [INFO] [stdout] 521 | fn as_nullable_as(&self, null: &'static str) -> NullableValue; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 521 | fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | fn as_nullable_as(&self, null: &'static str) -> NullableValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 526 | fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling odbc-iter v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/row.rs:694:24 [INFO] [stdout] | [INFO] [stdout] 694 | NaiveDate::from_ymd( [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_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/row.rs:699:14 [INFO] [stdout] | [INFO] [stdout] 699 | .and_hms_nano( [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/row.rs:719:24 [INFO] [stdout] | [INFO] [stdout] 719 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead [INFO] [stdout] --> src/row.rs:738:24 [INFO] [stdout] | [INFO] [stdout] 738 | NaiveTime::from_hms_nano( [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/value.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/value.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | .and_hms_nano( [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/value.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead [INFO] [stdout] --> src/value.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | NaiveTime::from_hms_nano( [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/odbc_type.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | NaiveDate::from_ymd( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_nano`: use `and_hms_nano_opt()` instead [INFO] [stdout] --> src/odbc_type.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | .and_hms_nano( [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/odbc_type.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | NaiveDateTime::from_timestamp(ts as i64, (ts.fract() * 1_000_000_000.0) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/odbc_type.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(ts.as_naive_date_time().timestamp_millis(), 1547115460229); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> src/result_set.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 378 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:516:20 [INFO] [stdout] | [INFO] [stdout] 516 | fn as_nullable(&self) -> NullableValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 516 | fn as_nullable(&self) -> NullableValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:521:23 [INFO] [stdout] | [INFO] [stdout] 521 | fn as_nullable_as(&self, null: &'static str) -> NullableValue; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 521 | fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | fn as_nullable_as(&self, null: &'static str) -> NullableValue { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 526 | fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcb4K3yb/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libchrono-915b24ec7522bbb0,libiana_time_zone-693b81a5c0b46492,libnum_traits-6a9f211205bd6663,libassert_matches-58327a20575d53ab,libregex-8406651371aa72e6,libregex_automata-f2f92a9233e18233,libaho_corasick-199d7569d6a85641,libmemchr-2d97b38eddd0133f,libregex_syntax-46a265ba7a2fe258,libodbc-3916215b19ce10ba,libodbc_safe-d324e03b9efa6034,libodbc_sys-11cfe48c50593c80,liblog-394b918668cad64a,liblazy_static-b3603208c0de2608,liberror_context-e1e425e37ce0eb29}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lodbc" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcb4K3yb/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/odbc_iter-8e128126810fdcb8" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lodbc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `odbc-iter` (lib test) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22922942faa0c63979df615a7240c3b43bf37d364cddc57fb28d7e9164e99d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22922942faa0c63979df615a7240c3b43bf37d364cddc57fb28d7e9164e99d8a", kill_on_drop: false }` [INFO] [stdout] 22922942faa0c63979df615a7240c3b43bf37d364cddc57fb28d7e9164e99d8a