[INFO] cloning repository https://github.com/u1roh/graph_in_rust_with_unsafe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/u1roh/graph_in_rust_with_unsafe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu1roh%2Fgraph_in_rust_with_unsafe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu1roh%2Fgraph_in_rust_with_unsafe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05589b16939a5f01e51d2bdd5167cc70fc0fe4f2 [INFO] checking u1roh/graph_in_rust_with_unsafe against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu1roh%2Fgraph_in_rust_with_unsafe" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/u1roh/graph_in_rust_with_unsafe [INFO] finished tweaking git repo https://github.com/u1roh/graph_in_rust_with_unsafe [INFO] tweaked toml for git repo https://github.com/u1roh/graph_in_rust_with_unsafe written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/u1roh/graph_in_rust_with_unsafe on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/u1roh/graph_in_rust_with_unsafe 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41e7f95a85a841f4e268efcfd0209f61f56ec7757c7e18abc0f1dc5a5ef2836d [INFO] running `Command { std: "docker" "start" "-a" "41e7f95a85a841f4e268efcfd0209f61f56ec7757c7e18abc0f1dc5a5ef2836d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41e7f95a85a841f4e268efcfd0209f61f56ec7757c7e18abc0f1dc5a5ef2836d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e7f95a85a841f4e268efcfd0209f61f56ec7757c7e18abc0f1dc5a5ef2836d", kill_on_drop: false }` [INFO] [stdout] 41e7f95a85a841f4e268efcfd0209f61f56ec7757c7e18abc0f1dc5a5ef2836d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b40b371d5bbde9c7d6886e2f21d74c4fedebb8b91775fa471313915c57f36a1f [INFO] running `Command { std: "docker" "start" "-a" "b40b371d5bbde9c7d6886e2f21d74c4fedebb8b91775fa471313915c57f36a1f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking mepoo v0.1.0 (https://github.com/u1roh/mepoo.git#dd29e280) [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking graph_in_rust_with_unsafe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `list::*` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | pub use list::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 49 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_sentinel` and `value` are never used [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 53 | impl Node { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 54 | pub fn is_sentinel(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeMut` is never constructed [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct NodeMut<'a, T>(&'a mut Node); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sentinel`, `get_mut_unchecked`, `get_mut`, `tail`, `is_empty`, and `push_front` are never used [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 86 | impl List { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn sentinel(&self) -> *const Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub unsafe fn get_mut_unchecked(&mut self, ptr: *const Node) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_mut(&mut self, ptr: *const Node) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn tail(&self) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_sentinel` and `value` are never used [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | impl Node { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 11 | pub fn is_sentinel(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeMut` is never constructed [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct NodeMut<'a, T>(&'a mut Node); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_unchecked`, `get_mut`, `tail`, `is_empty`, and `push_front` are never used [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 43 | impl List { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub unsafe fn get_mut_unchecked(&mut self, ptr: Ptr>) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_mut(&mut self, ptr: Ptr>) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn tail(&self) -> Ref> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | struct Graph<'a, T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeRefMut` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct NodeRefMut<'a, T>(&'a mut Node); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value`, `value_mut`, and `other` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a, T> NodeRefMut<'a, T> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 68 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn other(&mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_graph` is never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn construct_graph() -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `other` is never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 94 | impl Node { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 95 | pub fn other(&self) -> &Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `head` and `head_mut` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 100 | impl Graph { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 101 | pub fn head(&self) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn head_mut(&mut self) -> NodeRefMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 215 | impl Pool { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_mut(&mut self, p: Ptr) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_sentinel` and `value` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 248 | impl Node { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 249 | pub fn is_sentinel(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeMut` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct NodeMut<'a, T>(&'a mut Node); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sentinel`, `tail`, `is_empty`, and `push_front` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 281 | impl List { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn sentinel(&self) -> Ptr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn tail(&self) -> Ref> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_mut(&mut self, ptr: *const Node) -> Option> { [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] 120 | pub fn get_mut(&mut self, ptr: *const Node) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn next(&self) -> Ref { [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] 14 | pub fn next(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn prev(&self) -> Ref { [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] 17 | pub fn prev(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | fn sentinel(&self) -> Ref> { [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 sentinel(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_ref(&self, ptr: Ptr>) -> Option>> { [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] 61 | pub fn get_ref(&self, ptr: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_mut(&mut self, ptr: Ptr>) -> Option> { [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] 67 | pub fn get_mut(&mut self, ptr: Ptr>) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn head(&self) -> Ref> { [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] 70 | pub fn head(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn tail(&self) -> Ref> { [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 | pub fn tail(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [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] 106 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn head_mut(&mut self) -> NodeRefMut { [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 head_mut(&mut self) -> NodeRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn get(&self, p: Ptr) -> Ref { [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] 228 | pub fn get(&self, p: Ptr) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn next(&self) -> Ref { [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] 252 | pub fn next(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn prev(&self) -> Ref { [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] 255 | pub fn prev(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn head(&self) -> Ref> { [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] 298 | pub fn head(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn tail(&self) -> Ref> { [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] 301 | pub fn tail(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn get(&self, p: Ptr>) -> Option>> { [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] 307 | pub fn get(&self, p: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [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] 341 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/test03_two_nodes_graph.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node<'a, T> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/test03_two_nodes_graph.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 101 | impl<'a, T> NodeRefMut<'a, T> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 102 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/test03_two_nodes_graph.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct Node<'a, T> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 254 | pub value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/test07_nodes_in_arena.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node<'a, T> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | pub value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | struct Graph<'a, T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> src/test07_nodes_in_arena.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Graph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 62 | nodes: Arena>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `other` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a, T> NodeRefMut<'a, T> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 68 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn other(&mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 215 | impl Pool { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_mut(&mut self, p: Ptr) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeMut` is never constructed [INFO] [stdout] --> src/test07_nodes_in_arena.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct NodeMut<'a, T>(&'a mut Node); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test03_two_nodes_graph.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn node1_mut(&mut self) -> NodeRefMut { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn node1_mut(&mut self) -> NodeRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_mut(&mut self, ptr: *const Node) -> Option> { [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] 120 | pub fn get_mut(&mut self, ptr: *const Node) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn next(&self) -> Ref { [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] 14 | pub fn next(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn prev(&self) -> Ref { [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] 17 | pub fn prev(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | fn sentinel(&self) -> Ref> { [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 sentinel(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_ref(&self, ptr: Ptr>) -> Option>> { [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] 61 | pub fn get_ref(&self, ptr: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_mut(&mut self, ptr: Ptr>) -> Option> { [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] 67 | pub fn get_mut(&mut self, ptr: Ptr>) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn head(&self) -> Ref> { [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] 70 | pub fn head(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn tail(&self) -> Ref> { [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 | pub fn tail(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [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] 106 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn head_mut(&mut self) -> NodeRefMut { [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 head_mut(&mut self) -> NodeRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn get(&self, p: Ptr) -> Ref { [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] 228 | pub fn get(&self, p: Ptr) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn next(&self) -> Ref { [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] 252 | pub fn next(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn prev(&self) -> Ref { [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] 255 | pub fn prev(&self) -> Ref<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn head(&self) -> Ref> { [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] 298 | pub fn head(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn tail(&self) -> Ref> { [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] 301 | pub fn tail(&self) -> Ref<'_, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn get(&self, p: Ptr>) -> Option>> { [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] 307 | pub fn get(&self, p: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test07_nodes_in_arena.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [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] 341 | pub fn remove(&mut self, node: Ptr>) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "b40b371d5bbde9c7d6886e2f21d74c4fedebb8b91775fa471313915c57f36a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b40b371d5bbde9c7d6886e2f21d74c4fedebb8b91775fa471313915c57f36a1f", kill_on_drop: false }` [INFO] [stdout] b40b371d5bbde9c7d6886e2f21d74c4fedebb8b91775fa471313915c57f36a1f