[INFO] fetching crate org-rust-parser 0.1.5... [INFO] checking org-rust-parser-0.1.5 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate org-rust-parser 0.1.5 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate org-rust-parser 0.1.5 [INFO] finished tweaking crates.io crate org-rust-parser 0.1.5 [INFO] tweaked toml for crates.io crate org-rust-parser 0.1.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate org-rust-parser 0.1.5 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding phf v0.11.3 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41be987d5f81c8f4c3eecda4d4a194e4a2b056e5bc9410413bfe4724ebb6190b [INFO] running `Command { std: "docker" "start" "-a" "41be987d5f81c8f4c3eecda4d4a194e4a2b056e5bc9410413bfe4724ebb6190b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41be987d5f81c8f4c3eecda4d4a194e4a2b056e5bc9410413bfe4724ebb6190b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41be987d5f81c8f4c3eecda4d4a194e4a2b056e5bc9410413bfe4724ebb6190b", kill_on_drop: false }` [INFO] [stdout] 41be987d5f81c8f4c3eecda4d4a194e4a2b056e5bc9410413bfe4724ebb6190b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8093473d713b9a483ac63513a4ce13cb9bb04854da7679b31fd05636bd1a95d6 [INFO] running `Command { std: "docker" "start" "-a" "8093473d713b9a483ac63513a4ce13cb9bb04854da7679b31fd05636bd1a95d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking org-rust-parser v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `make_node_id` is never used [INFO] [stdout] --> src/node_pool.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn make_node_id(id: u32) -> NodeID { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_tree` is never used [INFO] [stdout] --> src/types.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 128 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn print_tree(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/heading.rs:216:34 [INFO] [stdout] | [INFO] [stdout] 216 | fn parse_keyword(mut cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 216 | fn parse_keyword(mut cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/item.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_counter_set(mut cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 194 | fn parse_counter_set(mut cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/item.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | fn parse_tag(mut cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 236 | fn parse_tag(mut cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/emoji.rs:1900:33 [INFO] [stdout] | [INFO] [stdout] 1900 | pub(crate) fn parse_emoji(name: &str) -> Result { [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] 1900 | pub(crate) fn parse_emoji(name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/entity.rs:403:34 [INFO] [stdout] | [INFO] [stdout] 403 | pub(crate) fn parse_entity(name: &str) -> Result { [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] 403 | pub(crate) fn parse_entity(name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/inline_src.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_header(cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 70 | fn parse_header(cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/inline_src.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_body(cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 73 | fn parse_body(cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/inline_src.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse_src(mut cursor: Cursor, lperim: u8, rperim: u8) -> Result> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ---- the same 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] 77 | fn parse_src(mut cursor: Cursor<'_>, lperim: u8, rperim: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node_pool.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get(&self, id: NodeID) -> Option<&'a Node> { [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] 105 | pub fn get(&self, id: NodeID) -> Option<&'a Node<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node_pool.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_mut(&mut self, id: NodeID) -> Option<&'a mut Node> { [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] 109 | pub fn get_mut(&mut self, id: NodeID) -> Option<&'a mut Node<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/types.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | mut cursor: Cursor<'a>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 48 | ) -> Result<(Cursor, HashMap<&'a str, &'a str>)> { [INFO] [stdout] | ------ -- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 48 | ) -> Result<(Cursor<'a>, HashMap<&'a str, &'a str>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/heading.rs:216:34 [INFO] [stdout] | [INFO] [stdout] 216 | fn parse_keyword(mut cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 216 | fn parse_keyword(mut cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/item.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_counter_set(mut cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 194 | fn parse_counter_set(mut cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element/item.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | fn parse_tag(mut cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 236 | fn parse_tag(mut cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/emoji.rs:1900:33 [INFO] [stdout] | [INFO] [stdout] 1900 | pub(crate) fn parse_emoji(name: &str) -> Result { [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] 1900 | pub(crate) fn parse_emoji(name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/entity.rs:403:34 [INFO] [stdout] | [INFO] [stdout] 403 | pub(crate) fn parse_entity(name: &str) -> Result { [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] 403 | pub(crate) fn parse_entity(name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/inline_src.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_header(cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 70 | fn parse_header(cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/inline_src.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_body(cursor: Cursor) -> Result> { [INFO] [stdout] | ^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 73 | fn parse_body(cursor: Cursor<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/inline_src.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse_src(mut cursor: Cursor, lperim: u8, rperim: u8) -> Result> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ---- the same 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] 77 | fn parse_src(mut cursor: Cursor<'_>, lperim: u8, rperim: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node_pool.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get(&self, id: NodeID) -> Option<&'a Node> { [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] 105 | pub fn get(&self, id: NodeID) -> Option<&'a Node<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node_pool.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_mut(&mut self, id: NodeID) -> Option<&'a mut Node> { [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] 109 | pub fn get_mut(&mut self, id: NodeID) -> Option<&'a mut Node<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/types.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | mut cursor: Cursor<'a>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 48 | ) -> Result<(Cursor, HashMap<&'a str, &'a str>)> { [INFO] [stdout] | ------ -- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 48 | ) -> Result<(Cursor<'a>, HashMap<&'a str, &'a str>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.90s [INFO] running `Command { std: "docker" "inspect" "8093473d713b9a483ac63513a4ce13cb9bb04854da7679b31fd05636bd1a95d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8093473d713b9a483ac63513a4ce13cb9bb04854da7679b31fd05636bd1a95d6", kill_on_drop: false }` [INFO] [stdout] 8093473d713b9a483ac63513a4ce13cb9bb04854da7679b31fd05636bd1a95d6