[INFO] fetching crate frond 0.1.1...
[INFO] checking frond-0.1.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170
[INFO] extracting crate frond 0.1.1 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate frond 0.1.1
[INFO] finished tweaking crates.io crate frond 0.1.1
[INFO] tweaked toml for crates.io crate frond 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate frond 0.1.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate frond 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f14cd0a4e0c81aad567ad7871ec038697712ee6fd069b0c2bdd47b749115b205
[INFO] running `Command { std: "docker" "start" "-a" "f14cd0a4e0c81aad567ad7871ec038697712ee6fd069b0c2bdd47b749115b205", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f14cd0a4e0c81aad567ad7871ec038697712ee6fd069b0c2bdd47b749115b205", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f14cd0a4e0c81aad567ad7871ec038697712ee6fd069b0c2bdd47b749115b205", kill_on_drop: false }`
[INFO] [stdout] f14cd0a4e0c81aad567ad7871ec038697712ee6fd069b0c2bdd47b749115b205
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f2093da1eb712aace1610cc83201277b050ac280429186e64b1f4e57ee392b2
[INFO] running `Command { std: "docker" "start" "-a" "3f2093da1eb712aace1610cc83201277b050ac280429186e64b1f4e57ee392b2", kill_on_drop: false }`
[INFO] [stderr] Checking frond v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> src/composite.rs:69:9
[INFO] [stdout] |
[INFO] [stdout] 67 | let mut ret = todo!();
[INFO] [stdout] | ------- any code following this expression is unreachable
[INFO] [stdout] 68 |
[INFO] [stdout] 69 | / for (key, value) in iter {
[INFO] [stdout] 70 | | self.assert_key_in_bounds(key);
[INFO] [stdout] 71 | | todo!()
[INFO] [stdout] 72 | | }
[INFO] [stdout] | |_________^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> src/composite.rs:69:9
[INFO] [stdout] |
[INFO] [stdout] 67 | let mut ret = todo!();
[INFO] [stdout] | ------- any code following this expression is unreachable
[INFO] [stdout] 68 |
[INFO] [stdout] 69 | / for (key, value) in iter {
[INFO] [stdout] 70 | | self.assert_key_in_bounds(key);
[INFO] [stdout] 71 | | todo!()
[INFO] [stdout] 72 | | }
[INFO] [stdout] | |_________^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout] --> src/composite.rs:67:17
[INFO] [stdout] |
[INFO] [stdout] 67 | let mut ret = todo!();
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout] --> src/composite.rs:69:19
[INFO] [stdout] |
[INFO] [stdout] 69 | for (key, value) in iter {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout] --> src/composite.rs:65:9
[INFO] [stdout] |
[INFO] [stdout] 65 | iter: I,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout] --> src/composite.rs:85:25
[INFO] [stdout] |
[INFO] [stdout] 85 | pub fn merge(&self, rhs: &Composite) -> Composite {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout] --> src/composite.rs:91:9
[INFO] [stdout] |
[INFO] [stdout] 91 | start: std::ops::Bound<&[u8]>,
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout] --> src/composite.rs:92:9
[INFO] [stdout] |
[INFO] [stdout] 92 | end: std::ops::Bound<&[u8]>,
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout] --> src/composite.rs:97:36
[INFO] [stdout] |
[INFO] [stdout] 97 | fn assert_key_in_bounds(&self, key: Key) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout] --> src/lib.rs:101:5
[INFO] [stdout] |
[INFO] [stdout] 101 | / fn range<'a>(
[INFO] [stdout] 102 | | &'a self,
[INFO] [stdout] 103 | | start: std::ops::Bound<&[u8]>,
[INFO] [stdout] 104 | | end: std::ops::Bound<&[u8]>,
[INFO] [stdout] 105 | | ) -> Self::Iter<'a> {
[INFO] [stdout] | |_______________________^ cannot return without recursing
[INFO] [stdout] 106 | Composite::range(self, start, end)
[INFO] [stdout] | ---------------------------------- recursive call site
[INFO] [stdout] |
[INFO] [stdout] = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout] --> src/composite.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Iter<'a, A: Interface, B: Interface> {
[INFO] [stdout] | ---- field in this struct
[INFO] [stdout] 9 | inner: &'a Composite,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `merge_threshold` is never read
[INFO] [stdout] --> src/composite.rs:31:5
[INFO] [stdout] |
[INFO] [stdout] 27 | pub struct Composite {
[INFO] [stdout] | --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 | merge_threshold: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Composite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `range` is never used
[INFO] [stdout] --> src/composite.rs:89:8
[INFO] [stdout] |
[INFO] [stdout] 34 | impl Composite {
[INFO] [stdout] | ------------------------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 | fn range<'a>(
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:20:12
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> Option;
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> Option>;
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout] --> src/composite.rs:67:17
[INFO] [stdout] |
[INFO] [stdout] 67 | let mut ret = todo!();
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout] --> src/composite.rs:69:19
[INFO] [stdout] |
[INFO] [stdout] 69 | for (key, value) in iter {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout] --> src/composite.rs:65:9
[INFO] [stdout] |
[INFO] [stdout] 65 | iter: I,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout] --> src/composite.rs:85:25
[INFO] [stdout] |
[INFO] [stdout] 85 | pub fn merge(&self, rhs: &Composite) -> Composite {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:38:15
[INFO] [stdout] |
[INFO] [stdout] 38 | fn insert(&self, key: Key, value: Value) -> (Option, Self) {
[INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 38 | fn insert(&self, key: Key, value: Value) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout] --> src/composite.rs:91:9
[INFO] [stdout] |
[INFO] [stdout] 91 | start: std::ops::Bound<&[u8]>,
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout] --> src/composite.rs:92:9
[INFO] [stdout] |
[INFO] [stdout] 92 | end: std::ops::Bound<&[u8]>,
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout] --> src/composite.rs:97:36
[INFO] [stdout] |
[INFO] [stdout] 97 | fn assert_key_in_bounds(&self, key: Key) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:45:15
[INFO] [stdout] |
[INFO] [stdout] 45 | fn remove(&self, key: Key) -> (Option, Self) {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 45 | fn remove(&self, key: Key) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 69 | fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 69 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:97:12
[INFO] [stdout] |
[INFO] [stdout] 97 | fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 97 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/composite.rs:52:16
[INFO] [stdout] |
[INFO] [stdout] 52 | pub fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 52 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/naive.rs:45:16
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout] --> src/lib.rs:101:5
[INFO] [stdout] |
[INFO] [stdout] 101 | / fn range<'a>(
[INFO] [stdout] 102 | | &'a self,
[INFO] [stdout] 103 | | start: std::ops::Bound<&[u8]>,
[INFO] [stdout] 104 | | end: std::ops::Bound<&[u8]>,
[INFO] [stdout] 105 | | ) -> Self::Iter<'a> {
[INFO] [stdout] | |_______________________^ cannot return without recursing
[INFO] [stdout] 106 | Composite::range(self, start, end)
[INFO] [stdout] | ---------------------------------- recursive call site
[INFO] [stdout] |
[INFO] [stdout] = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout] --> src/composite.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Iter<'a, A: Interface, B: Interface> {
[INFO] [stdout] | ---- field in this struct
[INFO] [stdout] 9 | inner: &'a Composite,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `merge_threshold` is never read
[INFO] [stdout] --> src/composite.rs:31:5
[INFO] [stdout] |
[INFO] [stdout] 27 | pub struct Composite {
[INFO] [stdout] | --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 | merge_threshold: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Composite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `range` is never used
[INFO] [stdout] --> src/composite.rs:89:8
[INFO] [stdout] |
[INFO] [stdout] 34 | impl Composite {
[INFO] [stdout] | ------------------------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 | fn range<'a>(
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:20:12
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> Option;
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> Option>;
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:38:15
[INFO] [stdout] |
[INFO] [stdout] 38 | fn insert(&self, key: Key, value: Value) -> (Option, Self) {
[INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 38 | fn insert(&self, key: Key, value: Value) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:45:15
[INFO] [stdout] |
[INFO] [stdout] 45 | fn remove(&self, key: Key) -> (Option, Self) {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 45 | fn remove(&self, key: Key) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 69 | fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 69 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lib.rs:97:12
[INFO] [stdout] |
[INFO] [stdout] 97 | fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 97 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/composite.rs:52:16
[INFO] [stdout] |
[INFO] [stdout] 52 | pub fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 52 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/naive.rs:45:16
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get(&self, key: Key) -> Option {
[INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "3f2093da1eb712aace1610cc83201277b050ac280429186e64b1f4e57ee392b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f2093da1eb712aace1610cc83201277b050ac280429186e64b1f4e57ee392b2", kill_on_drop: false }`
[INFO] [stdout] 3f2093da1eb712aace1610cc83201277b050ac280429186e64b1f4e57ee392b2