[INFO] fetching crate frond 0.1.1...
[INFO] testing frond-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate frond 0.1.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate frond 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3cd3efe68677bd36915e8b66d5b6fe1d72a1fc66d75eee479bccc4196306a60d
[INFO] running `Command { std: "docker" "start" "-a" "3cd3efe68677bd36915e8b66d5b6fe1d72a1fc66d75eee479bccc4196306a60d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3cd3efe68677bd36915e8b66d5b6fe1d72a1fc66d75eee479bccc4196306a60d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cd3efe68677bd36915e8b66d5b6fe1d72a1fc66d75eee479bccc4196306a60d", kill_on_drop: false }`
[INFO] [stdout] 3cd3efe68677bd36915e8b66d5b6fe1d72a1fc66d75eee479bccc4196306a60d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 845ae658390f730dcaaf8e9c08d67c1215e0f522e89ba33018062dfb75e987d9
[INFO] running `Command { std: "docker" "start" "-a" "845ae658390f730dcaaf8e9c08d67c1215e0f522e89ba33018062dfb75e987d9", kill_on_drop: false }`
[INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default
[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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout] --> src/composite.rs:67:13
[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]
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout] --> src/composite.rs:69:14
[INFO] [stdout] |
[INFO] [stdout] 69 | for (key, value) in iter {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[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: `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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:20:12
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> Option>;
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:38:15
[INFO] [stdout] |
[INFO] [stdout] 38 | fn insert(&self, key: Key, value: Value) -> (Option, Self) {
[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] 38 | fn insert(&self, key: Key, value: Value) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:45:15
[INFO] [stdout] |
[INFO] [stdout] 45 | fn remove(&self, key: Key) -> (Option, Self) {
[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] 45 | fn remove(&self, key: Key) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 69 | fn get(&self, key: Key) -> 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] 69 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:97:12
[INFO] [stdout] |
[INFO] [stdout] 97 | fn get(&self, key: Key) -> 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] 97 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/composite.rs:52:16
[INFO] [stdout] |
[INFO] [stdout] 52 | pub fn get(&self, key: Key) -> 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] 52 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/naive.rs:45:16
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get(&self, key: Key) -> 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] 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.64s
[INFO] running `Command { std: "docker" "inspect" "845ae658390f730dcaaf8e9c08d67c1215e0f522e89ba33018062dfb75e987d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "845ae658390f730dcaaf8e9c08d67c1215e0f522e89ba33018062dfb75e987d9", kill_on_drop: false }`
[INFO] [stdout] 845ae658390f730dcaaf8e9c08d67c1215e0f522e89ba33018062dfb75e987d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3bf7e2a637dbd73ce5a461a3f503dcf38d358122c01cfb244c6cddff783f75b0
[INFO] running `Command { std: "docker" "start" "-a" "3bf7e2a637dbd73ce5a461a3f503dcf38d358122c01cfb244c6cddff783f75b0", kill_on_drop: false }`
[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)]` (part of `#[warn(unused)]`) on by default
[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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout] --> src/composite.rs:67:13
[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]
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout] --> src/composite.rs:69:14
[INFO] [stdout] |
[INFO] [stdout] 69 | for (key, value) in iter {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[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: `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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:20:12
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> Option>;
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:38:15
[INFO] [stdout] |
[INFO] [stdout] 38 | fn insert(&self, key: Key, value: Value) -> (Option, Self) {
[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] 38 | fn insert(&self, key: Key, value: Value) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:45:15
[INFO] [stdout] |
[INFO] [stdout] 45 | fn remove(&self, key: Key) -> (Option, Self) {
[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] 45 | fn remove(&self, key: Key) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 69 | fn get(&self, key: Key) -> 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] 69 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:97:12
[INFO] [stdout] |
[INFO] [stdout] 97 | fn get(&self, key: Key) -> 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] 97 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling frond v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/composite.rs:52:16
[INFO] [stdout] |
[INFO] [stdout] 52 | pub fn get(&self, key: Key) -> 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] 52 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/naive.rs:45:16
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get(&self, key: Key) -> 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] 45 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[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)]` (part of `#[warn(unused)]`) on by default
[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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout] --> src/composite.rs:67:13
[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]
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout] --> src/composite.rs:69:14
[INFO] [stdout] |
[INFO] [stdout] 69 | for (key, value) in iter {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[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: `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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:20:12
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 20 | fn get(&self, key: Key) -> Option>;
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:38:15
[INFO] [stdout] |
[INFO] [stdout] 38 | fn insert(&self, key: Key, value: Value) -> (Option, Self) {
[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] 38 | fn insert(&self, key: Key, value: Value) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:45:15
[INFO] [stdout] |
[INFO] [stdout] 45 | fn remove(&self, key: Key) -> (Option, Self) {
[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] 45 | fn remove(&self, key: Key) -> (Option>, Self) {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 69 | fn get(&self, key: Key) -> 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] 69 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:97:12
[INFO] [stdout] |
[INFO] [stdout] 97 | fn get(&self, key: Key) -> 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] 97 | fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/composite.rs:52:16
[INFO] [stdout] |
[INFO] [stdout] 52 | pub fn get(&self, key: Key) -> 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] 52 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/naive.rs:45:16
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get(&self, key: Key) -> 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] 45 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "3bf7e2a637dbd73ce5a461a3f503dcf38d358122c01cfb244c6cddff783f75b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bf7e2a637dbd73ce5a461a3f503dcf38d358122c01cfb244c6cddff783f75b0", kill_on_drop: false }`
[INFO] [stdout] 3bf7e2a637dbd73ce5a461a3f503dcf38d358122c01cfb244c6cddff783f75b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2c8cb6fe407341076ce4138b445848c1d0ba42a0492ddc49c664537af2bed9da
[INFO] running `Command { std: "docker" "start" "-a" "2c8cb6fe407341076ce4138b445848c1d0ba42a0492ddc49c664537af2bed9da", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr] --> src/composite.rs:69:9
[INFO] [stderr] |
[INFO] [stderr] 67 | let mut ret = todo!();
[INFO] [stderr] | ------- any code following this expression is unreachable
[INFO] [stderr] 68 |
[INFO] [stderr] 69 | / for (key, value) in iter {
[INFO] [stderr] 70 | | self.assert_key_in_bounds(key);
[INFO] [stderr] 71 | | todo!()
[INFO] [stderr] 72 | | }
[INFO] [stderr] | |_________^ unreachable statement
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `iter`
[INFO] [stderr] --> src/composite.rs:65:9
[INFO] [stderr] |
[INFO] [stderr] 65 | iter: I,
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `ret`
[INFO] [stderr] --> src/composite.rs:67:13
[INFO] [stderr] |
[INFO] [stderr] 67 | let mut ret = todo!();
[INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr] --> src/composite.rs:69:14
[INFO] [stderr] |
[INFO] [stderr] 69 | for (key, value) in iter {
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr] --> src/composite.rs:69:19
[INFO] [stderr] |
[INFO] [stderr] 69 | for (key, value) in iter {
[INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `rhs`
[INFO] [stderr] --> src/composite.rs:85:25
[INFO] [stderr] |
[INFO] [stderr] 85 | pub fn merge(&self, rhs: &Composite) -> Composite {
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr] --> src/composite.rs:91:9
[INFO] [stderr] |
[INFO] [stderr] 91 | start: std::ops::Bound<&[u8]>,
[INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr] --> src/composite.rs:92:9
[INFO] [stderr] |
[INFO] [stderr] 92 | end: std::ops::Bound<&[u8]>,
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr] --> src/composite.rs:97:36
[INFO] [stderr] |
[INFO] [stderr] 97 | fn assert_key_in_bounds(&self, key: Key) {
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr]
[INFO] [stderr] warning: function cannot return without recursing
[INFO] [stderr] --> src/lib.rs:101:5
[INFO] [stderr] |
[INFO] [stderr] 101 | / fn range<'a>(
[INFO] [stderr] 102 | | &'a self,
[INFO] [stderr] 103 | | start: std::ops::Bound<&[u8]>,
[INFO] [stderr] 104 | | end: std::ops::Bound<&[u8]>,
[INFO] [stderr] 105 | | ) -> Self::Iter<'a> {
[INFO] [stderr] | |_______________________^ cannot return without recursing
[INFO] [stderr] 106 | Composite::range(self, start, end)
[INFO] [stderr] | ---------------------------------- recursive call site
[INFO] [stderr] |
[INFO] [stderr] = help: a `loop` may express intention better if this is on purpose
[INFO] [stderr] = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: field `inner` is never read
[INFO] [stderr] --> src/composite.rs:9:5
[INFO] [stderr] |
[INFO] [stderr] 8 | pub struct Iter<'a, A: Interface, B: Interface> {
[INFO] [stderr] | ---- field in this struct
[INFO] [stderr] 9 | inner: &'a Composite,
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]
[INFO] [stderr] warning: field `merge_threshold` is never read
[INFO] [stderr] --> src/composite.rs:31:5
[INFO] [stderr] |
[INFO] [stderr] 27 | pub struct Composite {
[INFO] [stderr] | --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 31 | merge_threshold: usize,
[INFO] [stderr] | ^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `Composite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]
[INFO] [stderr] warning: method `range` is never used
[INFO] [stderr] --> src/composite.rs:89:8
[INFO] [stderr] |
[INFO] [stderr] 34 | impl Composite {
[INFO] [stderr] | ------------------------------------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 89 | fn range<'a>(
[INFO] [stderr] | ^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/lib.rs:20:12
[INFO] [stderr] |
[INFO] [stderr] 20 | fn get(&self, key: Key) -> Option;
[INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 20 | fn get(&self, key: Key) -> Option>;
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/lib.rs:38:15
[INFO] [stderr] |
[INFO] [stderr] 38 | fn insert(&self, key: Key, value: Value) -> (Option, Self) {
[INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 38 | fn insert(&self, key: Key, value: Value) -> (Option>, Self) {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/lib.rs:45:15
[INFO] [stderr] |
[INFO] [stderr] 45 | fn remove(&self, key: Key) -> (Option, Self) {
[INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 45 | fn remove(&self, key: Key) -> (Option>, Self) {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/lib.rs:69:12
[INFO] [stderr] |
[INFO] [stderr] 69 | fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 69 | fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/lib.rs:97:12
[INFO] [stderr] |
[INFO] [stderr] 97 | fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 97 | fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/composite.rs:52:16
[INFO] [stderr] |
[INFO] [stderr] 52 | pub fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 52 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/naive.rs:45:16
[INFO] [stderr] |
[INFO] [stderr] 45 | pub fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 45 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: `frond` (lib) generated 20 warnings (run `cargo fix --lib -p frond` to apply 15 suggestions)
[INFO] [stderr] warning: `frond` (lib test) generated 20 warnings (20 duplicates)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/frond-41c95f2dc629bfeb)
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Running unittests src/bin/throughput.rs (/opt/rustwide/target/debug/deps/throughput-acf1e29f2f5bd66e)
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Doc-tests frond
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "2c8cb6fe407341076ce4138b445848c1d0ba42a0492ddc49c664537af2bed9da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c8cb6fe407341076ce4138b445848c1d0ba42a0492ddc49c664537af2bed9da", kill_on_drop: false }`
[INFO] [stdout] 2c8cb6fe407341076ce4138b445848c1d0ba42a0492ddc49c664537af2bed9da