[INFO] cloning repository https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fohlc-timeserie-db.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fohlc-timeserie-db.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee1e99fc1491ad52dd3afe3c0fe4899e487518fb [INFO] testing Simon-Bertrand/ohlc-timeserie-db.rs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fohlc-timeserie-db.rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs [INFO] finished tweaking git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs [INFO] tweaked toml for git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Simon-Bertrand/ohlc-timeserie-db.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2ec1b67e006179b070b5d9558bc7429fb388f56ead4f9bf795be74628d95eef [INFO] running `Command { std: "docker" "start" "-a" "e2ec1b67e006179b070b5d9558bc7429fb388f56ead4f9bf795be74628d95eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2ec1b67e006179b070b5d9558bc7429fb388f56ead4f9bf795be74628d95eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ec1b67e006179b070b5d9558bc7429fb388f56ead4f9bf795be74628d95eef", kill_on_drop: false }` [INFO] [stdout] e2ec1b67e006179b070b5d9558bc7429fb388f56ead4f9bf795be74628d95eef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4d02b45c83b28b2609f6771353087031e4085ff1d6cc01aec6063d09d6c8cfe7 [INFO] running `Command { std: "docker" "start" "-a" "4d02b45c83b28b2609f6771353087031e4085ff1d6cc01aec6063d09d6c8cfe7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling timeseries_database v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `datastruct::tspoint::TsPoint` [INFO] [stdout] --> src/datastruct/collection/collection.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{datastruct::tspoint::TsPoint, datastruct::bloc::bloc::Bloc, datastruct::indexmap::indexmap::IndexMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collection::Collection` [INFO] [stdout] --> src/system/queryparser.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{datastruct::{tspoint::TsPoint, collection::Collection}, indexing::{indexresult::IndexResult, aggregator::Aggregator}, BATCH_S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | if (a < b) { return *default } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - if (a < b) { return *default } [INFO] [stdout] 14 + if a < b { return *default } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | if(min src/indexing/aggregator/aggregator.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataToParse` should have a snake case name [INFO] [stdout] --> src/channels/inoutputs/inoutputs.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn json_to_points(dataToParse : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `data_to_parse` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compression/encodemap/formatter.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(bytes : &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(bytes : &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OHLC_core` should have a snake case name [INFO] [stdout] --> src/indexing/aggregator/aggregator.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ohlc_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_query_string(&self, query_string : &str) -> IndexResult { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_query_string(&self, query_string : &str) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | fn ts_query_string_to_indexresult(&self, query_string : &str, agg : Option) -> IndexResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn ts_query_string_to_indexresult(&self, query_string : &str, agg : Option) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | fn batch_query_string_to_indexresult(&self, query_string : &str) -> IndexResult { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | fn batch_query_string_to_indexresult(&self, query_string : &str) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::OsString` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsString}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.88s [INFO] running `Command { std: "docker" "inspect" "4d02b45c83b28b2609f6771353087031e4085ff1d6cc01aec6063d09d6c8cfe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d02b45c83b28b2609f6771353087031e4085ff1d6cc01aec6063d09d6c8cfe7", kill_on_drop: false }` [INFO] [stdout] 4d02b45c83b28b2609f6771353087031e4085ff1d6cc01aec6063d09d6c8cfe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c32a609b33bc6d0b902061f170901ddcc2844f359c156f99c4cc965d180e1bef [INFO] running `Command { std: "docker" "start" "-a" "c32a609b33bc6d0b902061f170901ddcc2844f359c156f99c4cc965d180e1bef", kill_on_drop: false }` [INFO] [stderr] Compiling timeseries_database v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `datastruct::tspoint::TsPoint` [INFO] [stdout] --> src/datastruct/collection/collection.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{datastruct::tspoint::TsPoint, datastruct::bloc::bloc::Bloc, datastruct::indexmap::indexmap::IndexMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collection::Collection` [INFO] [stdout] --> src/system/queryparser.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{datastruct::{tspoint::TsPoint, collection::Collection}, indexing::{indexresult::IndexResult, aggregator::Aggregator}, BATCH_S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | if (a < b) { return *default } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - if (a < b) { return *default } [INFO] [stdout] 14 + if a < b { return *default } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | if(min src/indexing/aggregator/aggregator.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataToParse` should have a snake case name [INFO] [stdout] --> src/channels/inoutputs/inoutputs.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn json_to_points(dataToParse : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `data_to_parse` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compression/encodemap/formatter.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(bytes : &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(bytes : &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OHLC_core` should have a snake case name [INFO] [stdout] --> src/indexing/aggregator/aggregator.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ohlc_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_query_string(&self, query_string : &str) -> IndexResult { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_query_string(&self, query_string : &str) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | fn ts_query_string_to_indexresult(&self, query_string : &str, agg : Option) -> IndexResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn ts_query_string_to_indexresult(&self, query_string : &str, agg : Option) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | fn batch_query_string_to_indexresult(&self, query_string : &str) -> IndexResult { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | fn batch_query_string_to_indexresult(&self, query_string : &str) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::OsString` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsString}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `datastruct::tspoint::TsPoint` [INFO] [stdout] --> src/datastruct/collection/collection.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{datastruct::tspoint::TsPoint, datastruct::bloc::bloc::Bloc, datastruct::indexmap::indexmap::IndexMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collection::Collection` [INFO] [stdout] --> src/system/queryparser.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{datastruct::{tspoint::TsPoint, collection::Collection}, indexing::{indexresult::IndexResult, aggregator::Aggregator}, BATCH_S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | if (a < b) { return *default } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - if (a < b) { return *default } [INFO] [stdout] 14 + if a < b { return *default } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sysutils/helpers/helpers.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | if(min src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsString}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_STEP` and `source::Source` [INFO] [stdout] --> tests/write_read_test.rs:5:116 [INFO] [stdout] | [INFO] [stdout] 5 | ...t::{collection::Collection, source::Source, tspoint::{TsPoint, TsPointData}}, MAX_LINE_BLOC, DEFAULT_STEP, BATCH_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/query_string_test.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut source : &mut Source = sys.sources.get_mut(&OsString::from("TEST")).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/ohlc_aggregation_test.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut source : &mut Source = sys.sources.get_mut(&OsString::from("TEST")).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/indexing/aggregator/aggregator.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataToParse` should have a snake case name [INFO] [stdout] --> src/channels/inoutputs/inoutputs.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn json_to_points(dataToParse : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `data_to_parse` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compression/encodemap/formatter.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(bytes : &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(bytes : &[u8]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OHLC_core` should have a snake case name [INFO] [stdout] --> src/indexing/aggregator/aggregator.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn OHLC_core(width : u64, x : &[TsPoint]) -> TsPoint { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ohlc_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_query_string(&self, query_string : &str) -> IndexResult { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_query_string(&self, query_string : &str) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | fn ts_query_string_to_indexresult(&self, query_string : &str, agg : Option) -> IndexResult { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn ts_query_string_to_indexresult(&self, query_string : &str, agg : Option) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system/queryparser.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | fn batch_query_string_to_indexresult(&self, query_string : &str) -> IndexResult { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | fn batch_query_string_to_indexresult(&self, query_string : &str) -> IndexResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcUgpqyS/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtimeseries_database-24ead2c66d70f259.rlib,libbincode-66f2559cb7879276.rlib,libserde_json-fc52163b763dd1a8.rlib,libryu-d13899e55c17b23e.rlib,libitoa-10e0d0f6ad8ac545.rlib,libregex-6ee3ba0631e620e5.rlib,libaho_corasick-a6e85e2ce4291248.rlib,libmemchr-d88797af6a5880b4.rlib,libregex_syntax-463d0c7d8345154b.rlib,librust_decimal-c407071796369918.rlib,libserde-93cd16aa8f061f09.rlib,libarrayvec-9dc360b2cb2ad52c.rlib,libnum_traits-aa170a4a4ab0fd40.rlib,librand-059a2557638350a4.rlib,librand_chacha-02330f0ff2dd6172.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-6ab55a5717ce56b5.rlib,libgetrandom-73606f8bcd7607e1.rlib,liblibc-8bce775e86e2f38c.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcUgpqyS/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/query_string_test-6457ba6fe53d9397" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-73606f8bcd7607e1.rlib(getrandom-73606f8bcd7607e1.getrandom.81a20442d7291705-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h56df436123b699baE+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timeseries_database` (test "query_string_test") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcL0sAwS/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtimeseries_database-24ead2c66d70f259.rlib,libbincode-66f2559cb7879276.rlib,libserde_json-fc52163b763dd1a8.rlib,libryu-d13899e55c17b23e.rlib,libitoa-10e0d0f6ad8ac545.rlib,libregex-6ee3ba0631e620e5.rlib,libaho_corasick-a6e85e2ce4291248.rlib,libmemchr-d88797af6a5880b4.rlib,libregex_syntax-463d0c7d8345154b.rlib,librust_decimal-c407071796369918.rlib,libserde-93cd16aa8f061f09.rlib,libarrayvec-9dc360b2cb2ad52c.rlib,libnum_traits-aa170a4a4ab0fd40.rlib,librand-059a2557638350a4.rlib,librand_chacha-02330f0ff2dd6172.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-6ab55a5717ce56b5.rlib,libgetrandom-73606f8bcd7607e1.rlib,liblibc-8bce775e86e2f38c.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcL0sAwS/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ohlc_aggregation_test-bd78228e51963c73" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-73606f8bcd7607e1.rlib(getrandom-73606f8bcd7607e1.getrandom.81a20442d7291705-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h56df436123b699baE+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timeseries_database` (test "ohlc_aggregation_test") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c32a609b33bc6d0b902061f170901ddcc2844f359c156f99c4cc965d180e1bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32a609b33bc6d0b902061f170901ddcc2844f359c156f99c4cc965d180e1bef", kill_on_drop: false }` [INFO] [stdout] c32a609b33bc6d0b902061f170901ddcc2844f359c156f99c4cc965d180e1bef