[INFO] fetching crate karsher 0.9.0... [INFO] checking karsher-0.9.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate karsher 0.9.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate karsher 0.9.0 [INFO] finished tweaking crates.io crate karsher 0.9.0 [INFO] tweaked toml for crates.io crate karsher 0.9.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate karsher 0.9.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate karsher 0.9.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline-derive v0.6.0 [INFO] [stderr] Downloaded clipboard-win v4.4.1 [INFO] [stderr] Downloaded fd-lock v3.0.5 [INFO] [stderr] Downloaded windows-sys v0.30.0 [INFO] [stderr] Downloaded io-lifetimes v0.6.1 [INFO] [stderr] Downloaded rustix v0.34.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60bf93a75a663eb7ff7aaac52fb882686699945ec53419e5b14a29602c2fad69 [INFO] running `Command { std: "docker" "start" "-a" "60bf93a75a663eb7ff7aaac52fb882686699945ec53419e5b14a29602c2fad69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60bf93a75a663eb7ff7aaac52fb882686699945ec53419e5b14a29602c2fad69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60bf93a75a663eb7ff7aaac52fb882686699945ec53419e5b14a29602c2fad69", kill_on_drop: false }` [INFO] [stdout] 60bf93a75a663eb7ff7aaac52fb882686699945ec53419e5b14a29602c2fad69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f946cd0f85b5c8a10084fd601c47c876d82793e94f6c3f58462e5b55c5bbc42a [INFO] running `Command { std: "docker" "start" "-a" "f946cd0f85b5c8a10084fd601c47c876d82793e94f6c3f58462e5b55c5bbc42a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling io-lifetimes v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling rustix v0.34.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking slab_tree v0.3.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking fd-lock v3.0.5 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling rustyline-derive v0.6.0 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking karsher v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `eof` and `none_of` [INFO] [stdout] --> src/prelude.rs:8:72 [INFO] [stdout] | [INFO] [stdout] 8 | alpha1, alphanumeric1, i128 as I128, multispace0, multispace1, none_of, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | combinator::{all_consuming, cut, eof, map, map_parser, opt, rest, verify}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/prelude.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/prelude.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `Ordering`, `path::PathBuf`, and `process::ExitCode` [INFO] [stdout] --> src/prelude.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | process::ExitCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | sync::atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of a double negation [INFO] [stdout] --> src/calculator/tests.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(Number::Int(--5), compute("--5", &mut ctx).unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the prefix `--` could be misinterpreted as a decrement operator which exists in other languages [INFO] [stdout] = note: use `-= 1` if you meant to decrement the value [INFO] [stdout] = note: `#[warn(double_negations)]` on by default [INFO] [stdout] help: add parentheses for clarity [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(Number::Int(-(-5)), compute("--5", &mut ctx).unwrap()); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `eof` and `none_of` [INFO] [stdout] --> src/prelude.rs:8:72 [INFO] [stdout] | [INFO] [stdout] 8 | alpha1, alphanumeric1, i128 as I128, multispace0, multispace1, none_of, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | combinator::{all_consuming, cut, eof, map, map_parser, opt, rest, verify}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/prelude.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `Ordering`, `path::PathBuf`, and `process::ExitCode` [INFO] [stdout] --> src/prelude.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | process::ExitCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | sync::atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_no_op`, `contains`, and `len` are never used [INFO] [stdout] --> src/db/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Op { [INFO] [stdout] | -- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn read_no_op( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn contains(&self, k: &K) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | fn len(&self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge_current_tree_with` and `open_tree_and_apply` are never used [INFO] [stdout] --> src/db/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait DbOp: Op { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn merge_current_tree_with(&mut self, tree_name_source: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn open_tree_and_apply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cache_command/os_command.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn extract_args<'a>(s: &'a str) -> Res> { [INFO] [stdout] | ^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 2 | fn extract_args<'a>(s: &'a str) -> Res<'a, Vec<&'a str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cache_command/os_command.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn extract_envs<'a>(s: &'a str) -> Res> { [INFO] [stdout] | ^^ ---------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 17 | fn extract_envs<'a>(s: &'a str) -> Res<'a, Vec<(&'a str, &'a str)>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cache_command/os_command.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn extract_program<'a>(s: &'a str) -> Res<&'a str> { [INFO] [stdout] | ^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | fn extract_program<'a>(s: &'a str) -> Res<'a, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | fn add_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 75 | fn add_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn del_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 104 | fn del_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 111 | fn get_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | fn concat_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 115 | fn concat_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | fn backup_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 125 | fn backup_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn restore_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 132 | fn restore_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | fn exec_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 136 | fn exec_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | fn cd_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 149 | fn cd_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn list_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 159 | fn list_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | fn current_cache_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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 current_cache_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | fn help_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 173 | fn help_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | fn clear_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 177 | fn clear_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | fn list_cache_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 184 | fn list_cache_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | fn using_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 226 | fn using_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | fn dump_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 230 | fn dump_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | fn del_cache_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 245 | fn del_cache_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn parse_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 258 | pub fn parse_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn tag_no_space<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<&'a str> { [INFO] [stdout] | ^^ -- ------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn tag_no_space<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<'a, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | fn tag_no_space_no_case<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<&'a str> { [INFO] [stdout] | ^^ -- ------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn tag_no_space_no_case<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<'a, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_number(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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 parse_number(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_variable(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 26 | fn parse_variable(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | fn parse_constant(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 37 | fn parse_constant(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse_paren(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 41 | fn parse_paren(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_fn(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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 parse_fn(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | fn parse_value(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 88 | fn parse_value(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | fn parse_exp(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 122 | fn parse_exp(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | fn parse_mult(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 126 | fn parse_mult(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | fn parse_div(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 130 | fn parse_div(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | fn parse_mod(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 134 | fn parse_mod(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | fn parse_add(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 137 | fn parse_add(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | fn parse_subtr(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 141 | fn parse_subtr(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | fn parse_expression(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 145 | fn parse_expression(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | pub(super) fn parse_var_expr(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 149 | pub(super) fn parse_var_expr(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/file_db.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_guard(&self) -> Option>>; [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] 33 | fn get_guard(&self) -> Option>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/file_db.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_guard(&self) -> Option>> { [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] 47 | fn get_guard(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/db/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Op { [INFO] [stdout] | -- method in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | fn contains(&self, k: &K) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge_current_tree_with` and `open_tree_and_apply` are never used [INFO] [stdout] --> src/db/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait DbOp: Op { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn merge_current_tree_with(&mut self, tree_name_source: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn open_tree_and_apply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyString` is never constructed [INFO] [stdout] --> src/db/database.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | struct MyString(String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cache_command/os_command.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn extract_args<'a>(s: &'a str) -> Res> { [INFO] [stdout] | ^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 2 | fn extract_args<'a>(s: &'a str) -> Res<'a, Vec<&'a str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cache_command/os_command.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn extract_envs<'a>(s: &'a str) -> Res> { [INFO] [stdout] | ^^ ---------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 17 | fn extract_envs<'a>(s: &'a str) -> Res<'a, Vec<(&'a str, &'a str)>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cache_command/os_command.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn extract_program<'a>(s: &'a str) -> Res<&'a str> { [INFO] [stdout] | ^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | fn extract_program<'a>(s: &'a str) -> Res<'a, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | fn add_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 75 | fn add_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn del_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 104 | fn del_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 111 | fn get_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | fn concat_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 115 | fn concat_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | fn backup_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 125 | fn backup_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn restore_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 132 | fn restore_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | fn exec_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 136 | fn exec_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | fn cd_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 149 | fn cd_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn list_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 159 | fn list_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | fn current_cache_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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 current_cache_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | fn help_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 173 | fn help_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | fn clear_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 177 | fn clear_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | fn list_cache_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 184 | fn list_cache_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | fn using_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 226 | fn using_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | fn dump_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 230 | fn dump_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | fn del_cache_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 245 | fn del_cache_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache_command/parser.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn parse_command(command: &str) -> Res { [INFO] [stdout] | ^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 258 | pub fn parse_command(command: &str) -> Res<'_, CacheCommand<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn tag_no_space<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<&'a str> { [INFO] [stdout] | ^^ -- ------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn tag_no_space<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<'a, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | fn tag_no_space_no_case<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<&'a str> { [INFO] [stdout] | ^^ -- ------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn tag_no_space_no_case<'a>(t: &'a str) -> impl Fn(&'a str) -> Res<'a, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_number(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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 parse_number(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_variable(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 26 | fn parse_variable(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | fn parse_constant(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 37 | fn parse_constant(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse_paren(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 41 | fn parse_paren(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_fn(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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 parse_fn(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | fn parse_value(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 88 | fn parse_value(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | fn parse_exp(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 122 | fn parse_exp(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | fn parse_mult(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 126 | fn parse_mult(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | fn parse_div(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 130 | fn parse_div(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | fn parse_mod(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 134 | fn parse_mod(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | fn parse_add(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 137 | fn parse_add(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | fn parse_subtr(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 141 | fn parse_subtr(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | fn parse_expression(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 145 | fn parse_expression(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/calculator/parser.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | pub(super) fn parse_var_expr(s: &str) -> Res { [INFO] [stdout] | ^^^^ ---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 149 | pub(super) fn parse_var_expr(s: &str) -> Res<'_, Value<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/file_db.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_guard(&self) -> Option>>; [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] 33 | fn get_guard(&self) -> Option>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/file_db.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_guard(&self) -> Option>> { [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] 47 | fn get_guard(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.67s [INFO] running `Command { std: "docker" "inspect" "f946cd0f85b5c8a10084fd601c47c876d82793e94f6c3f58462e5b55c5bbc42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f946cd0f85b5c8a10084fd601c47c876d82793e94f6c3f58462e5b55c5bbc42a", kill_on_drop: false }` [INFO] [stdout] f946cd0f85b5c8a10084fd601c47c876d82793e94f6c3f58462e5b55c5bbc42a