[INFO] fetching crate tdb_core 0.5.2... [INFO] building tdb_core-0.5.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate tdb_core 0.5.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate tdb_core 0.5.2 [INFO] finished tweaking crates.io crate tdb_core 0.5.2 [INFO] tweaked toml for crates.io crate tdb_core 0.5.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tdb_core 0.5.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding fern v0.5.9 (available: v0.7.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.4) [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a81cb881e05674c6a950e8df4bee569ed16fb3527ffd36c7efb69c7a18e95cc5 [INFO] running `Command { std: "docker" "start" "-a" "a81cb881e05674c6a950e8df4bee569ed16fb3527ffd36c7efb69c7a18e95cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a81cb881e05674c6a950e8df4bee569ed16fb3527ffd36c7efb69c7a18e95cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a81cb881e05674c6a950e8df4bee569ed16fb3527ffd36c7efb69c7a18e95cc5", kill_on_drop: false }` [INFO] [stdout] a81cb881e05674c6a950e8df4bee569ed16fb3527ffd36c7efb69c7a18e95cc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a7416c13f0250852e92fc685b1573a110af3f421ae4a150c1320efe3a2f6e63 [INFO] running `Command { std: "docker" "start" "-a" "0a7416c13f0250852e92fc685b1573a110af3f421ae4a150c1320efe3a2f6e63", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tdb_core v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern fn read_dtf_to_csv(fname: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub extern fn read_dtf_to_csv_with_limit(fname: *const c_char, num: u32) -> *mut c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub extern fn read_dtf_to_arr(fname: *const c_char) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub extern fn read_dtf_to_arr_with_limit(fname: *const c_char, num: u32) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub extern fn parse_stream(n: *mut c_uchar, len: u32) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub extern fn str_free(s: *mut c_char) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let naive_datetime = NaiveDateTime::from_timestamp(ts as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/utils.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let datetime_again: DateTime = DateTime::from_utc(naive_datetime, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `levels` is never read [INFO] [stdout] --> src/postprocessing/level.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Levels { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | levels: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Levels` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bins` is never read [INFO] [stdout] --> src/postprocessing/histogram.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Histogram { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | pub(crate) bins: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Histogram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exchange` and `symbol` are never read [INFO] [stdout] --> src/storage/filetype.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | struct KaikoCsvEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 45 | pub id: String, [INFO] [stdout] 46 | pub exchange: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/dtf/ffi.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | CString::from_raw(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = CString::from_raw(s); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.60s [INFO] running `Command { std: "docker" "inspect" "0a7416c13f0250852e92fc685b1573a110af3f421ae4a150c1320efe3a2f6e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7416c13f0250852e92fc685b1573a110af3f421ae4a150c1320efe3a2f6e63", kill_on_drop: false }` [INFO] [stdout] 0a7416c13f0250852e92fc685b1573a110af3f421ae4a150c1320efe3a2f6e63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e7e86fab04cf4b3f538118059012de57a1cce605b08308ae958b0de41b98b7a [INFO] running `Command { std: "docker" "start" "-a" "0e7e86fab04cf4b3f538118059012de57a1cce605b08308ae958b0de41b98b7a", kill_on_drop: false }` [INFO] [stderr] Compiling tdb_core v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern fn read_dtf_to_csv(fname: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub extern fn read_dtf_to_csv_with_limit(fname: *const c_char, num: u32) -> *mut c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub extern fn read_dtf_to_arr(fname: *const c_char) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub extern fn read_dtf_to_arr_with_limit(fname: *const c_char, num: u32) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub extern fn parse_stream(n: *mut c_uchar, len: u32) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub extern fn str_free(s: *mut c_char) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let naive_datetime = NaiveDateTime::from_timestamp(ts as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/utils.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let datetime_again: DateTime = DateTime::from_utc(naive_datetime, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `levels` is never read [INFO] [stdout] --> src/postprocessing/level.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Levels { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | levels: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Levels` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bins` is never read [INFO] [stdout] --> src/postprocessing/histogram.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Histogram { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | pub(crate) bins: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Histogram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exchange` and `symbol` are never read [INFO] [stdout] --> src/storage/filetype.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | struct KaikoCsvEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 45 | pub id: String, [INFO] [stdout] 46 | pub exchange: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/dtf/ffi.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | CString::from_raw(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = CString::from_raw(s); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern fn read_dtf_to_csv(fname: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub extern fn read_dtf_to_csv_with_limit(fname: *const c_char, num: u32) -> *mut c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub extern fn read_dtf_to_arr(fname: *const c_char) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub extern fn read_dtf_to_arr_with_limit(fname: *const c_char, num: u32) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub extern fn parse_stream(n: *mut c_uchar, len: u32) -> Slice { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dtf/ffi.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub extern fn str_free(s: *mut c_char) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let naive_datetime = NaiveDateTime::from_timestamp(ts as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/utils.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let datetime_again: DateTime = DateTime::from_utc(naive_datetime, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `dtf::update::Update::serialize_raw` [INFO] [stdout] --> src/dtf/update.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | let result = up.serialize_raw(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/storage/dtf_file_metadata.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 122 - .into_iter() [INFO] [stdout] 122 + .iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 121 - let expected: Vec = ["foo", "bar", "key:value", "test2"] [INFO] [stdout] 121 + let expected: Vec = IntoIterator::into_iter(["foo", "bar", "key:value", "test2"]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/dtf/file_format.rs:1229:40 [INFO] [stdout] | [INFO] [stdout] 1229 | write_batches(&mut bytes, [up].into_iter().peekable()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 1229 - write_batches(&mut bytes, [up].into_iter().peekable()).unwrap(); [INFO] [stdout] 1229 + write_batches(&mut bytes, [up].iter().peekable()).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 1229 - write_batches(&mut bytes, [up].into_iter().peekable()).unwrap(); [INFO] [stdout] 1229 + write_batches(&mut bytes, IntoIterator::into_iter([up]).peekable()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exchange` and `symbol` are never read [INFO] [stdout] --> src/storage/filetype.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | struct KaikoCsvEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 45 | pub id: String, [INFO] [stdout] 46 | pub exchange: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/dtf/ffi.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | CString::from_raw(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = CString::from_raw(s); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "0e7e86fab04cf4b3f538118059012de57a1cce605b08308ae958b0de41b98b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7e86fab04cf4b3f538118059012de57a1cce605b08308ae958b0de41b98b7a", kill_on_drop: false }` [INFO] [stdout] 0e7e86fab04cf4b3f538118059012de57a1cce605b08308ae958b0de41b98b7a