[INFO] fetching crate frond 0.1.1...
[INFO] testing frond-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0
[INFO] extracting crate frond 0.1.1 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate frond 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b391a37ce40d6e89d0ff613b16d88170e5900b48c3bf994e3a5ded567e61e2c
[INFO] running `Command { std: "docker" "start" "-a" "3b391a37ce40d6e89d0ff613b16d88170e5900b48c3bf994e3a5ded567e61e2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b391a37ce40d6e89d0ff613b16d88170e5900b48c3bf994e3a5ded567e61e2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b391a37ce40d6e89d0ff613b16d88170e5900b48c3bf994e3a5ded567e61e2c", kill_on_drop: false }`
[INFO] [stdout] 3b391a37ce40d6e89d0ff613b16d88170e5900b48c3bf994e3a5ded567e61e2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] 05c135e93f9d2d50012a588a6709192999ac28c87476c20c68219499d2194eb5
[INFO] running `Command { std: "docker" "start" "-a" "05c135e93f9d2d50012a588a6709192999ac28c87476c20c68219499d2194eb5", 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)]` 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: 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 1.31s
[INFO] running `Command { std: "docker" "inspect" "05c135e93f9d2d50012a588a6709192999ac28c87476c20c68219499d2194eb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05c135e93f9d2d50012a588a6709192999ac28c87476c20c68219499d2194eb5", kill_on_drop: false }`
[INFO] [stdout] 05c135e93f9d2d50012a588a6709192999ac28c87476c20c68219499d2194eb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] d8bb3a99c77f56db3aed12dd3dbb532d254fb78057015dcf14f7c24b0ad3c4bc
[INFO] running `Command { std: "docker" "start" "-a" "d8bb3a99c77f56db3aed12dd3dbb532d254fb78057015dcf14f7c24b0ad3c4bc", 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)]` 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] [stderr] Compiling frond v0.1.1 (/opt/rustwide/workdir)
[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] [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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.07s
[INFO] running `Command { std: "docker" "inspect" "d8bb3a99c77f56db3aed12dd3dbb532d254fb78057015dcf14f7c24b0ad3c4bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8bb3a99c77f56db3aed12dd3dbb532d254fb78057015dcf14f7c24b0ad3c4bc", kill_on_drop: false }`
[INFO] [stdout] d8bb3a99c77f56db3aed12dd3dbb532d254fb78057015dcf14f7c24b0ad3c4bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] 9578c1edfccc4fc80eb323bc9a2163d5084a9915c2e37e3478bb1b2201ac573f
[INFO] running `Command { std: "docker" "start" "-a" "9578c1edfccc4fc80eb323bc9a2163d5084a9915c2e37e3478bb1b2201ac573f", 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)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `ret`
[INFO] [stderr] --> src/composite.rs:67:17
[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] = note: `#[warn(unused_variables)]` on by default
[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: `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] 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)]` 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/lib.rs:20:12
[INFO] [stderr] |
[INFO] [stderr] 20 | fn get(&self, key: Key) -> Option;
[INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 20 | fn get(&self, key: Key) -> Option>;
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/lib.rs:38:15
[INFO] [stderr] |
[INFO] [stderr] 38 | fn insert(&self, key: Key, value: Value) -> (Option, Self) {
[INFO] [stderr] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 38 | fn insert(&self, key: Key, value: Value) -> (Option>, Self) {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/lib.rs:45:15
[INFO] [stderr] |
[INFO] [stderr] 45 | fn remove(&self, key: Key) -> (Option, Self) {
[INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 45 | fn remove(&self, key: Key) -> (Option>, Self) {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/lib.rs:69:12
[INFO] [stderr] |
[INFO] [stderr] 69 | fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 69 | fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/lib.rs:97:12
[INFO] [stderr] |
[INFO] [stderr] 97 | fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 97 | fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/composite.rs:52:16
[INFO] [stderr] |
[INFO] [stderr] 52 | pub fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 52 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/naive.rs:45:16
[INFO] [stderr] |
[INFO] [stderr] 45 | pub fn get(&self, key: Key) -> Option {
[INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 45 | pub fn get(&self, key: Key) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: `frond` (lib) generated 19 warnings (run `cargo fix --lib -p frond` to apply 7 suggestions)
[INFO] [stderr] warning: `frond` (lib test) generated 19 warnings (19 duplicates)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/frond-fd00a1d1ee74927f)
[INFO] [stderr] Running unittests src/bin/throughput.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/throughput-e885816348052837)
[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] [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" "9578c1edfccc4fc80eb323bc9a2163d5084a9915c2e37e3478bb1b2201ac573f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9578c1edfccc4fc80eb323bc9a2163d5084a9915c2e37e3478bb1b2201ac573f", kill_on_drop: false }`
[INFO] [stdout] 9578c1edfccc4fc80eb323bc9a2163d5084a9915c2e37e3478bb1b2201ac573f