[INFO] fetching crate investments 7.9.1... [INFO] checking investments-7.9.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate investments 7.9.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate investments 7.9.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate investments 7.9.1 [INFO] tweaked toml for crates.io crate investments 7.9.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate investments 7.9.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate investments 7.9.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 162bb05692b8f20cbeab2c1faac714c4c056e1ad8d78c5c4fb2b4a0aacec2df9 [INFO] running `Command { std: "docker" "start" "-a" "162bb05692b8f20cbeab2c1faac714c4c056e1ad8d78c5c4fb2b4a0aacec2df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "162bb05692b8f20cbeab2c1faac714c4c056e1ad8d78c5c4fb2b4a0aacec2df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "162bb05692b8f20cbeab2c1faac714c4c056e1ad8d78c5c4fb2b4a0aacec2df9", kill_on_drop: false }` [INFO] [stdout] 162bb05692b8f20cbeab2c1faac714c4c056e1ad8d78c5c4fb2b4a0aacec2df9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2618fc66fe846155cda48895dea9bb2fd6018b66bd853d97350b8d81266dfa7 [INFO] running `Command { std: "docker" "start" "-a" "f2618fc66fe846155cda48895dea9bb2fd6018b66bd853d97350b8d81266dfa7", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling openssl-src v300.5.1+3.5.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking cssparser v0.34.0 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking servo_arc v0.4.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking debug_unsafe v0.1.3 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Checking html5ever v0.29.1 [INFO] [stderr] Checking atoi_simd v0.16.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking yaml-rust2 v0.10.3 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zip v4.2.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Checking codepage v0.1.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking ego-tree v0.10.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking xml-rs v0.8.26 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking governor v0.10.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking serde-xml-rs v0.8.1 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking calamine v0.28.0 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking easy-logging v1.1.0 [INFO] [stderr] Checking scraper v0.23.1 [INFO] [stderr] Checking rust_decimal v1.37.2 [INFO] [stderr] Compiling tonic-build v0.13.1 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking clap_complete v4.5.54 [INFO] [stderr] Checking shellexpand v3.1.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking chrono-tz v0.10.3 [INFO] [stderr] Checking yaml-merge-keys v0.8.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking quick-xml v0.38.0 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling xls_table_derive v0.8.10 [INFO] [stderr] Compiling static_table_derive v0.1.80 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking platforms v3.6.0 [INFO] [stderr] Checking isin v0.1.19 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Checking cusip v0.3.3 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking separator v0.4.1 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Compiling investments v7.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking mockito v1.7.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tonic v0.13.1 [INFO] [stderr] Checking diesel v2.2.11 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/analysis/performance/statistics.rs:30:63 [INFO] [stdout] | [INFO] [stdout] 30 | currencies: ["USD", "RUB"].iter().map(|¤cy| ( [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 31 | | PortfolioCurrencyStatistics { [INFO] [stdout] | |________________^ [INFO] [stdout] ... [INFO] [stdout] 44 | } [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | )).collect(), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 ~ currencies: ["USD", "RUB"].iter().map(|¤cy| PortfolioCurrencyStatistics { [INFO] [stdout] 31 | currency: currency.to_owned(), [INFO] [stdout] ... [INFO] [stdout] 42 | projected_commissions: dec!(0), [INFO] [stdout] 43 ~ }).collect(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/analysis/performance/statistics.rs:30:63 [INFO] [stdout] | [INFO] [stdout] 30 | currencies: ["USD", "RUB"].iter().map(|¤cy| ( [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 31 | | PortfolioCurrencyStatistics { [INFO] [stdout] | |________________^ [INFO] [stdout] ... [INFO] [stdout] 44 | } [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | )).collect(), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 ~ currencies: ["USD", "RUB"].iter().map(|¤cy| PortfolioCurrencyStatistics { [INFO] [stdout] 31 | currency: currency.to_owned(), [INFO] [stdout] ... [INFO] [stdout] 42 | projected_commissions: dec!(0), [INFO] [stdout] 43 ~ }).collect(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMetadata` is never constructed [INFO] [stdout] --> src/quotes/tbank/tinkoff.public.invest.api.contract.v1.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct ResponseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorDetail` is never constructed [INFO] [stdout] --> src/quotes/tbank/tinkoff.public.invest.api.contract.v1.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct ErrorDetail { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/backtesting/stock.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | fn select_instrument(&self, date: Date, today: Date, quotes: &Quotes, first: bool) -> GenericResult<(Date, CurrentInstrument)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------------- the same lifetime is hidden 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] 58 | fn select_instrument(&self, date: Date, today: Date, quotes: &Quotes, first: bool) -> GenericResult<(Date, CurrentInstrument<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/validators.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | fn info(&self) -> TradeInfo; [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] 58 | fn info(&self) -> TradeInfo<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/validators.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | fn info(&self) -> TradeInfo { [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] 62 | fn info(&self) -> TradeInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/validators.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn info(&self) -> TradeInfo { [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] 73 | fn info(&self) -> TradeInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/bcs/common.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn trim_column_title(title: &str) -> Cow { [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] 53 | pub fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/ib/sections.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn parse_header(record: &StringRecord) -> RecordSpec { [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] 143 | fn parse_header(record: &StringRecord) -> RecordSpec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/sber/common.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn trim_column_title(title: &str) -> Cow { [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] 28 | pub fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/tbank/common.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn trim_column_title(title: &str) -> Cow { [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] 85 | pub fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn borrow(&self) -> MutexGuard { [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] 18 | pub fn borrow(&self) -> MutexGuard<'_, SqliteConnection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/formats/html/table.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn trim_column_title(title: &str) -> Cow; [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] 16 | fn trim_column_title(title: &str) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/formats/xls/table.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn trim_column_title(title: &str) -> Cow; [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] 16 | fn trim_column_title(title: &str) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/instruments.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_or_empty(&self, symbol: &str) -> MaybeOwned { [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] 102 | pub fn get_or_empty(&self, symbol: &str) -> MaybeOwned<'_, Instrument> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | fn colorify_title(name: &str) -> ANSIString { [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] 154 | fn colorify_title(name: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | fn colorify_restriction(message: &str) -> ANSIString { [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] 158 | fn colorify_restriction(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 162 | fn colorify_buy(message: &str) -> ANSIString { [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] 162 | fn colorify_buy(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | fn colorify_sell(message: &str) -> ANSIString { [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] 166 | fn colorify_sell(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | fn colorify_commission(message: &str) -> ANSIString { [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] 170 | fn colorify_commission(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quotes/cbr/deposits.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | fn trim_column_title(title: &str) -> Cow { [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] 146 | fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tax_statement/statement/parser.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn read_data(&mut self) -> GenericResult> { [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] 128 | pub fn read_data(&mut self) -> GenericResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tax_statement/statement/parser.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | fn read_raw(&mut self, size: usize) -> GenericResult> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden 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] 169 | fn read_raw(&mut self, size: usize) -> GenericResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tax_statement/statement/parser.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | fn encode(data: &str) -> GenericResult> { [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] 262 | fn encode(data: &str) -> GenericResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn fold_spaces(string: &str) -> Cow { [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] 89 | pub fn fold_spaces(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `retest` [INFO] [stdout] --> tests/generate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use retest::{Plan, DiffKind}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `retest` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use retest::{Plan, DiffKind}; [INFO] [stdout] 4 + use rstest::{Plan, DiffKind}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `retest` [INFO] [stdout] --> tests/generate.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | let mut test = retest::Test::new(self.app) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `retest` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 275 - let mut test = retest::Test::new(self.app) [INFO] [stdout] 275 + let mut test = rstest::Test::new(self.app) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `retest` [INFO] [stdout] --> tests/generate.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | fn build(self) -> retest::Test { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `retest` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 263 - fn build(self) -> retest::Test { [INFO] [stdout] 263 + fn build(self) -> rstest::Test { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `investments` (test "generate") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `ResponseMetadata` is never constructed [INFO] [stdout] --> src/quotes/tbank/tinkoff.public.invest.api.contract.v1.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct ResponseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorDetail` is never constructed [INFO] [stdout] --> src/quotes/tbank/tinkoff.public.invest.api.contract.v1.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct ErrorDetail { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/backtesting/stock.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | fn select_instrument(&self, date: Date, today: Date, quotes: &Quotes, first: bool) -> GenericResult<(Date, CurrentInstrument)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------------- the same lifetime is hidden 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] 58 | fn select_instrument(&self, date: Date, today: Date, quotes: &Quotes, first: bool) -> GenericResult<(Date, CurrentInstrument<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/validators.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | fn info(&self) -> TradeInfo; [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] 58 | fn info(&self) -> TradeInfo<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/validators.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | fn info(&self) -> TradeInfo { [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] 62 | fn info(&self) -> TradeInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/validators.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn info(&self) -> TradeInfo { [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] 73 | fn info(&self) -> TradeInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/bcs/common.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn trim_column_title(title: &str) -> Cow { [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] 53 | pub fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/ib/sections.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn parse_header(record: &StringRecord) -> RecordSpec { [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] 143 | fn parse_header(record: &StringRecord) -> RecordSpec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/sber/common.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn trim_column_title(title: &str) -> Cow { [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] 28 | pub fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broker_statement/tbank/common.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn trim_column_title(title: &str) -> Cow { [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] 85 | pub fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn borrow(&self) -> MutexGuard { [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] 18 | pub fn borrow(&self) -> MutexGuard<'_, SqliteConnection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/formats/html/table.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn trim_column_title(title: &str) -> Cow; [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] 16 | fn trim_column_title(title: &str) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/formats/xls/table.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn trim_column_title(title: &str) -> Cow; [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] 16 | fn trim_column_title(title: &str) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/instruments.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_or_empty(&self, symbol: &str) -> MaybeOwned { [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] 102 | pub fn get_or_empty(&self, symbol: &str) -> MaybeOwned<'_, Instrument> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | fn colorify_title(name: &str) -> ANSIString { [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] 154 | fn colorify_title(name: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | fn colorify_restriction(message: &str) -> ANSIString { [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] 158 | fn colorify_restriction(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 162 | fn colorify_buy(message: &str) -> ANSIString { [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] 162 | fn colorify_buy(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | fn colorify_sell(message: &str) -> ANSIString { [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] 166 | fn colorify_sell(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/portfolio/formatting.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | fn colorify_commission(message: &str) -> ANSIString { [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] 170 | fn colorify_commission(message: &str) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/quotes/cbr/deposits.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | fn trim_column_title(title: &str) -> Cow { [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] 146 | fn trim_column_title(title: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tax_statement/statement/parser.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn read_data(&mut self) -> GenericResult> { [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] 128 | pub fn read_data(&mut self) -> GenericResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tax_statement/statement/parser.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | fn read_raw(&mut self, size: usize) -> GenericResult> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden 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] 169 | fn read_raw(&mut self, size: usize) -> GenericResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tax_statement/statement/parser.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | fn encode(data: &str) -> GenericResult> { [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] 262 | fn encode(data: &str) -> GenericResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn fold_spaces(string: &str) -> Cow { [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] 89 | pub fn fold_spaces(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2618fc66fe846155cda48895dea9bb2fd6018b66bd853d97350b8d81266dfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2618fc66fe846155cda48895dea9bb2fd6018b66bd853d97350b8d81266dfa7", kill_on_drop: false }` [INFO] [stdout] f2618fc66fe846155cda48895dea9bb2fd6018b66bd853d97350b8d81266dfa7