[INFO] fetching crate xi-rope 0.3.0... [INFO] testing xi-rope-0.3.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate xi-rope 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate xi-rope 0.3.0 [INFO] finished tweaking crates.io crate xi-rope 0.3.0 [INFO] tweaked toml for crates.io crate xi-rope 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xi-rope 0.3.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding bytecount v0.5.1 (available: v0.6.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac78909b953f5ea7a59650cc5fddbbde909d73d71a36c11a0b8a9e5c7646ad56 [INFO] running `Command { std: "docker" "start" "-a" "ac78909b953f5ea7a59650cc5fddbbde909d73d71a36c11a0b8a9e5c7646ad56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac78909b953f5ea7a59650cc5fddbbde909d73d71a36c11a0b8a9e5c7646ad56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac78909b953f5ea7a59650cc5fddbbde909d73d71a36c11a0b8a9e5c7646ad56", kill_on_drop: false }` [INFO] [stdout] ac78909b953f5ea7a59650cc5fddbbde909d73d71a36c11a0b8a9e5c7646ad56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96d2409908ab74a23f42934786f00b55d8c7e88dd2a245bd9e7ddaa237100c2a [INFO] running `Command { std: "docker" "start" "-a" "96d2409908ab74a23f42934786f00b55d8c7e88dd2a245bd9e7ddaa237100c2a", kill_on_drop: false }` [INFO] [stderr] Compiling bytecount v0.5.1 [INFO] [stderr] Compiling xi-rope v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] 120 + CountMatcher::Zero => seg.count == 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] 121 + CountMatcher::NonZero => seg.count != 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tree.rs:255:45 [INFO] [stdout] | [INFO] [stdout] 255 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] 255 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:658:52 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] 658 + pub fn prev>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:695:52 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 695 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] 695 + pub fn next>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LinesMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:276:33 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delta.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn iter_inserts(&self) -> InsertsIter { [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] 325 | pub fn iter_inserts(&self) -> InsertsIter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delta.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn iter_deletions(&self) -> DeletionsIter { [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] 330 | pub fn iter_deletions(&self) -> DeletionsIter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow { [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] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:255:40 [INFO] [stdout] | [INFO] [stdout] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow { [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] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow { [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] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter { [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] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn complement_iter(&self) -> RangeIter { [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] 297 | pub fn complement_iter(&self) -> RangeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper { [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] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:499:43 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter { [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] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:510:41 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw { [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] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:524:37 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn lines(&self, range: T) -> Lines { [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] 524 | pub fn lines(&self, range: T) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:535:44 [INFO] [stdout] | [INFO] [stdout] 535 | pub fn slice_to_cow(&self, range: T) -> Cow { [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] 535 | pub fn slice_to_cow(&self, range: T) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spans.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn iter(&self) -> SpanIter { [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] 284 | pub fn iter(&self) -> SpanIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "96d2409908ab74a23f42934786f00b55d8c7e88dd2a245bd9e7ddaa237100c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d2409908ab74a23f42934786f00b55d8c7e88dd2a245bd9e7ddaa237100c2a", kill_on_drop: false }` [INFO] [stdout] 96d2409908ab74a23f42934786f00b55d8c7e88dd2a245bd9e7ddaa237100c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80d489c04cc61a27d8093d2b851af782cd33cc39cd42383ccffba72ace1548d2 [INFO] running `Command { std: "docker" "start" "-a" "80d489c04cc61a27d8093d2b851af782cd33cc39cd42383ccffba72ace1548d2", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] 120 + CountMatcher::Zero => seg.count == 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] 121 + CountMatcher::NonZero => seg.count != 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tree.rs:255:45 [INFO] [stdout] | [INFO] [stdout] 255 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] 255 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:658:52 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] 658 + pub fn prev>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:695:52 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 695 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] 695 + pub fn next>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LinesMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:276:33 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delta.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn iter_inserts(&self) -> InsertsIter { [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] 325 | pub fn iter_inserts(&self) -> InsertsIter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delta.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn iter_deletions(&self) -> DeletionsIter { [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] 330 | pub fn iter_deletions(&self) -> DeletionsIter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow { [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] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:255:40 [INFO] [stdout] | [INFO] [stdout] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow { [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] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow { [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] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter { [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] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn complement_iter(&self) -> RangeIter { [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] 297 | pub fn complement_iter(&self) -> RangeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper { [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] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:499:43 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter { [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] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:510:41 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw { [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] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:524:37 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn lines(&self, range: T) -> Lines { [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] 524 | pub fn lines(&self, range: T) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:535:44 [INFO] [stdout] | [INFO] [stdout] 535 | pub fn slice_to_cow(&self, range: T) -> Cow { [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] 535 | pub fn slice_to_cow(&self, range: T) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spans.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn iter(&self) -> SpanIter { [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] 284 | pub fn iter(&self) -> SpanIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xi-rope v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] 120 + CountMatcher::Zero => seg.count == 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] 121 + CountMatcher::NonZero => seg.count != 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tree.rs:255:45 [INFO] [stdout] | [INFO] [stdout] 255 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] 255 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:658:52 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] 658 + pub fn prev>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:695:52 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 695 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] 695 + pub fn next>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LinesMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:276:33 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delta.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn iter_inserts(&self) -> InsertsIter { [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] 325 | pub fn iter_inserts(&self) -> InsertsIter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/delta.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn iter_deletions(&self) -> DeletionsIter { [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] 330 | pub fn iter_deletions(&self) -> DeletionsIter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow { [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] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:255:40 [INFO] [stdout] | [INFO] [stdout] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow { [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] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow { [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] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter { [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] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn complement_iter(&self) -> RangeIter { [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] 297 | pub fn complement_iter(&self) -> RangeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multiset.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper { [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] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:499:43 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter { [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] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:510:41 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw { [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] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:524:37 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn lines(&self, range: T) -> Lines { [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] 524 | pub fn lines(&self, range: T) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rope.rs:535:44 [INFO] [stdout] | [INFO] [stdout] 535 | pub fn slice_to_cow(&self, range: T) -> Cow { [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] 535 | pub fn slice_to_cow(&self, range: T) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spans.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn iter(&self) -> SpanIter { [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] 284 | pub fn iter(&self) -> SpanIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "80d489c04cc61a27d8093d2b851af782cd33cc39cd42383ccffba72ace1548d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d489c04cc61a27d8093d2b851af782cd33cc39cd42383ccffba72ace1548d2", kill_on_drop: false }` [INFO] [stdout] 80d489c04cc61a27d8093d2b851af782cd33cc39cd42383ccffba72ace1548d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5433132afcfb1631d2f27eb7dc465ed0f13743eb87205d2f64e12d6a5ba6186 [INFO] running `Command { std: "docker" "start" "-a" "c5433132afcfb1631d2f27eb7dc465ed0f13743eb87205d2f64e12d6a5ba6186", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/multiset.rs:120:35 [INFO] [stderr] | [INFO] [stderr] 120 | CountMatcher::Zero => (seg.count == 0), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 120 - CountMatcher::Zero => (seg.count == 0), [INFO] [stderr] 120 + CountMatcher::Zero => seg.count == 0, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/multiset.rs:121:38 [INFO] [stderr] | [INFO] [stderr] 121 | CountMatcher::NonZero => (seg.count != 0), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 121 - CountMatcher::NonZero => (seg.count != 0), [INFO] [stderr] 121 + CountMatcher::NonZero => seg.count != 0, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/tree.rs:255:45 [INFO] [stderr] | [INFO] [stderr] 255 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 255 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stderr] 255 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/tree.rs:658:52 [INFO] [stderr] | [INFO] [stderr] 658 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 658 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stderr] 658 + pub fn prev>(&mut self) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/tree.rs:695:52 [INFO] [stderr] | [INFO] [stderr] 695 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 695 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stderr] 695 + pub fn next>(&mut self) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rope.rs:227:24 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct LinesMetric(usize); // number of lines [INFO] [stderr] | ----------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `LinesMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rope.rs:276:33 [INFO] [stderr] | [INFO] [stderr] 276 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stderr] | -------------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/delta.rs:325:25 [INFO] [stderr] | [INFO] [stderr] 325 | pub fn iter_inserts(&self) -> InsertsIter { [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] 325 | pub fn iter_inserts(&self) -> InsertsIter<'_, N> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/delta.rs:330:27 [INFO] [stderr] | [INFO] [stderr] 330 | pub fn iter_deletions(&self) -> DeletionsIter { [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] 330 | pub fn iter_deletions(&self) -> DeletionsIter<'_, N> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/engine.rs:249:37 [INFO] [stderr] | [INFO] [stderr] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow { [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] 249 | fn deletes_from_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/engine.rs:255:40 [INFO] [stderr] | [INFO] [stderr] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow { [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] 255 | fn deletes_from_union_before_index(&self, rev_index: usize, invert_undos: bool) -> Cow<'_, Subset> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/engine.rs:295:41 [INFO] [stderr] | [INFO] [stderr] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow { [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] 295 | fn deletes_from_cur_union_for_index(&self, rev_index: usize) -> Cow<'_, Subset> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/multiset.rs:291:23 [INFO] [stderr] | [INFO] [stderr] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter { [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] 291 | pub fn range_iter(&self, matcher: CountMatcher) -> RangeIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/multiset.rs:297:28 [INFO] [stderr] | [INFO] [stderr] 297 | pub fn complement_iter(&self) -> RangeIter { [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] 297 | pub fn complement_iter(&self) -> RangeIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/multiset.rs:334:19 [INFO] [stderr] | [INFO] [stderr] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper { [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] 334 | pub fn mapper(&self, matcher: CountMatcher) -> Mapper<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rope.rs:499:43 [INFO] [stderr] | [INFO] [stderr] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter { [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] 499 | pub fn iter_chunks(&self, range: T) -> ChunkIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rope.rs:510:41 [INFO] [stderr] | [INFO] [stderr] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw { [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] 510 | pub fn lines_raw(&self, range: T) -> LinesRaw<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rope.rs:524:37 [INFO] [stderr] | [INFO] [stderr] 524 | pub fn lines(&self, range: T) -> Lines { [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] 524 | pub fn lines(&self, range: T) -> Lines<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rope.rs:535:44 [INFO] [stderr] | [INFO] [stderr] 535 | pub fn slice_to_cow(&self, range: T) -> Cow { [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] 535 | pub fn slice_to_cow(&self, range: T) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spans.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | pub fn iter(&self) -> SpanIter { [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] 284 | pub fn iter(&self) -> SpanIter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `xi-rope` (lib) generated 20 warnings (run `cargo fix --lib -p xi-rope` to apply 18 suggestions) [INFO] [stderr] warning: `xi-rope` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xi_rope-2ba5b4af9798be90) [INFO] [stdout] [INFO] [stdout] running 144 tests [INFO] [stdout] test breaks::tests::concat ... ok [INFO] [stdout] test breaks::tests::empty ... ok [INFO] [stdout] test breaks::tests::default_metric_test ... ok [INFO] [stdout] test breaks::tests::fromleaf ... ok [INFO] [stdout] test breaks::tests::one ... ok [INFO] [stdout] test breaks::tests::larger ... ok [INFO] [stdout] test compare::tests::avx_mask ... ok [INFO] [stdout] test compare::tests::find_back_utf8 ... ok [INFO] [stdout] test compare::tests::find_diff_range ... ok [INFO] [stdout] test compare::tests::ne_avx ... ok [INFO] [stdout] test compare::tests::find_diff_range_ne_lens ... ok [INFO] [stdout] test compare::tests::ne_idx_rev_utf8 ... ok [INFO] [stdout] test compare::tests::find_forward_utf8 ... ok [INFO] [stdout] test compare::tests::ne_len ... ok [INFO] [stdout] test compare::tests::ne_len_rev ... ok [INFO] [stdout] test compare::tests::ne_rev_regression1 ... ok [INFO] [stdout] test compare::tests::ne_len_rev_sse ... ok [INFO] [stdout] test compare::tests::scanner_backward_simple ... ok [INFO] [stdout] test compare::tests::scan_back_ne_lens ... ok [INFO] [stdout] test compare::tests::ne_len_simd ... ok [INFO] [stdout] test compare::tests::scanner_forward_simple ... ok [INFO] [stdout] test compare::tests::scanner_back ... ok [INFO] [stdout] test delta::tests::is_identity ... ok [INFO] [stdout] test delta::tests::fancy_bounds ... ok [INFO] [stdout] test delta::tests::inserted_subset ... ok [INFO] [stdout] test delta::tests::as_simple_insert ... ok [INFO] [stdout] test delta::tests::is_simple_delete ... ok [INFO] [stdout] test delta::tests::iter_deletions ... ok [INFO] [stdout] test delta::tests::iter_inserts ... ok [INFO] [stdout] test delta::tests::factor ... ok [INFO] [stdout] test delta::tests::simple ... ok [INFO] [stdout] test delta::tests::synthesize ... ok [INFO] [stdout] test delta::tests::transform_expand ... ok [INFO] [stdout] test delta::tests::transform_shrink ... ok [INFO] [stdout] test engine::tests::compute_transforms_1 ... ok [INFO] [stdout] test engine::tests::compute_deltas_1 ... ok [INFO] [stdout] test diff::tests::diff_smoke_test ... ok [INFO] [stdout] test engine::tests::edit_rev_empty ... ok [INFO] [stdout] test engine::tests::compute_transforms_2 ... ok [INFO] [stdout] test engine::tests::edit_rev_undo_2 ... ok [INFO] [stdout] test engine::tests::edit_rev_undo ... ok [INFO] [stdout] test engine::tests::edit_rev_concurrent ... ok [INFO] [stdout] test engine::tests::edit_rev_simple ... ok [INFO] [stdout] test engine::tests::find_base_1 ... ok [INFO] [stdout] test engine::tests::find_common_1 ... ok [INFO] [stdout] test engine::tests::gc ... ok [INFO] [stdout] test engine::tests::edit_rev_undo_3 ... ok [INFO] [stdout] test engine::tests::gc_2 ... ok [INFO] [stdout] test engine::tests::gc_4 ... ok [INFO] [stdout] test diff::tests::test_larger_diff ... ok [INFO] [stdout] test engine::tests::gc_5 ... ok [INFO] [stdout] test engine::tests::gc_6 ... ok [INFO] [stdout] test engine::tests::merge_insert_only_whiteboard ... ok [INFO] [stdout] test engine::tests::merge_session_priorities ... ok [INFO] [stdout] test engine::tests::merge_max_undo_so_far ... ok [INFO] [stdout] test engine::tests::merge_simple_delete_1 ... ok [INFO] [stdout] test engine::tests::rearrange_1 ... ok [INFO] [stdout] test engine::tests::merge_simple_delete_2 ... ok [INFO] [stdout] test engine::tests::merge_idempotent ... ok [INFO] [stdout] test engine::tests::gc_3 ... ok [INFO] [stdout] test engine::tests::merge_associative ... ok [INFO] [stdout] test engine::tests::rebase_1 ... ok [INFO] [stdout] test engine::tests::merge_priorities ... ok [INFO] [stdout] test engine::tests::try_delta_rev_head ... ok [INFO] [stdout] test engine::tests::merge_whiteboard ... ok [INFO] [stdout] test engine::tests::try_delta_rev_head_2 ... ok [INFO] [stdout] test engine::tests::try_delta_rev_head_missing_token ... ok [INFO] [stdout] test engine::tests::try_delta_rev_head_3 ... ok [INFO] [stdout] test engine::tests::undo ... ok [INFO] [stdout] test engine::tests::undo_2 ... ok [INFO] [stdout] test engine::tests::undo_3 ... ok [INFO] [stdout] test engine::tests::undo_4 ... ok [INFO] [stdout] test engine::tests::undo_5 ... ok [INFO] [stdout] test find::tests::find_casei_ascii_nonalpha ... ok [INFO] [stdout] test find::tests::compare_cursor_str_small ... ok [INFO] [stdout] test find::tests::find_casei_0xc4 ... ok [INFO] [stdout] test find::tests::compare_cursor_str_medium ... ok [INFO] [stdout] test find::tests::find_casei_small ... ok [INFO] [stdout] test find::tests::find_casei_special ... ok [INFO] [stdout] test find::tests::find_small ... ok [INFO] [stdout] test find::tests::find_medium ... ok [INFO] [stdout] test find::tests::compare_cursor_regex_singleline ... ok [INFO] [stdout] test find::tests::compare_cursor_regex_multiline ... ok [INFO] [stdout] test interval::tests::after ... ok [INFO] [stdout] test interval::tests::before ... ok [INFO] [stdout] test interval::tests::contains ... ok [INFO] [stdout] test interval::tests::empty ... ok [INFO] [stdout] test interval::tests::intersect ... ok [INFO] [stdout] test interval::tests::suffix ... ok [INFO] [stdout] test interval::tests::size ... ok [INFO] [stdout] test interval::tests::prefix ... ok [INFO] [stdout] test multiset::tests::test_apply ... ok [INFO] [stdout] test interval::tests::translate ... ok [INFO] [stdout] test multiset::tests::test_complement ... ok [INFO] [stdout] test multiset::tests::test_find_deletions ... ok [INFO] [stdout] test multiset::tests::test_mapper ... ok [INFO] [stdout] test multiset::tests::trivial ... ok [INFO] [stdout] test multiset::tests::union ... ok [INFO] [stdout] test rope::tests::default_metric_test ... ok [INFO] [stdout] test multiset::tests::transform ... ok [INFO] [stdout] test rope::tests::eq_med ... ok [INFO] [stdout] test rope::tests::eq_small ... ok [INFO] [stdout] test rope::tests::line_of_offset_small ... ok [INFO] [stdout] test rope::tests::line_offsets ... ok [INFO] [stdout] test rope::tests::lines_med ... ok [INFO] [stdout] test rope::tests::lines_raw_small ... ok [INFO] [stdout] test rope::tests::lines_small ... ok [INFO] [stdout] test find::tests::find_regex_small ... ok [INFO] [stdout] test rope::tests::next_codepoint_offset_small ... ok [INFO] [stdout] test rope::tests::next_grapheme_offset ... ok [INFO] [stdout] test find::tests::find_regex_small_casei ... ok [INFO] [stdout] test rope::tests::offset_of_line_small ... ok [INFO] [stdout] test rope::tests::peek_next_codepoint ... ok [INFO] [stdout] test rope::tests::prev_codepoint_offset_small ... ok [INFO] [stdout] test rope::tests::prev_grapheme_offset ... ok [INFO] [stdout] test rope::tests::replace_small ... ok [INFO] [stdout] test rope::tests::slice_to_cow_long_string_long_slice ... ok [INFO] [stdout] test rope::tests::slice_to_cow_long_string_short_slice ... ok [INFO] [stdout] test find::tests::find_regex_medium ... ok [INFO] [stdout] test rope::tests::utf16_code_units_metric ... ok [INFO] [stdout] test rope::tests::slice_to_cow_small_string ... ok [INFO] [stdout] test spans::tests::delete_intersecting_big_and_small ... ok [INFO] [stdout] test spans::tests::delete_intersecting_big_at_start ... ok [INFO] [stdout] test spans::tests::delete_intersecting_empty ... ok [INFO] [stdout] test spans::tests::test_delete_intersecting ... ok [INFO] [stdout] test spans::tests::test_merge ... ok [INFO] [stdout] test tree::test::at_or_next ... ok [INFO] [stdout] test spans::tests::test_merge_2 ... ok [INFO] [stdout] test tree::test::cursor_iter ... ok [INFO] [stdout] test tree::test::cursor_next_empty ... ok [INFO] [stdout] test tree::test::cursor_next_misc ... ok [INFO] [stdout] test engine::tests::edit_rev_bad_delta_len - should panic ... ok [INFO] [stdout] test tree::test::cursor_prev_misc ... ok [INFO] [stdout] test tree::test::next_zero_measure_large ... ok [INFO] [stdout] test multiset::tests::test_mapper_requires_non_decreasing - should panic ... ok [INFO] [stdout] test tree::test::node_is_empty ... ok [INFO] [stdout] test tree::test::prev_line_small ... ok [INFO] [stdout] test rope::tests::line_of_offset_panic - should panic ... ok [INFO] [stdout] test rope::tests::offset_of_line_panic - should panic ... ok [INFO] [stdout] test tree::test::prev_line_large ... ok [INFO] [stdout] test rope::tests::append_large ... ok [INFO] [stdout] test tree::test::cursor_next_triangle ... ok [INFO] [stdout] test tree::test::eq_rope_with_stack ... ok [INFO] [stdout] test rope::tests::next_grapheme_offset_with_ris_of_leaf_boundaries ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 144 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Doc-tests xi_rope [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/multiset.rs:120:35 [INFO] [stderr] | [INFO] [stderr] 120 | CountMatcher::Zero => (seg.count == 0), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 120 - CountMatcher::Zero => (seg.count == 0), [INFO] [stderr] 120 + CountMatcher::Zero => seg.count == 0, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/multiset.rs:121:38 [INFO] [stderr] | [INFO] [stderr] 121 | CountMatcher::NonZero => (seg.count != 0), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 121 - CountMatcher::NonZero => (seg.count != 0), [INFO] [stderr] 121 + CountMatcher::NonZero => seg.count != 0, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/tree.rs:255:45 [INFO] [stderr] | [INFO] [stderr] 255 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 255 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stderr] 255 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/tree.rs:658:52 [INFO] [stderr] | [INFO] [stderr] 658 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 658 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stderr] 658 + pub fn prev>(&mut self) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/tree.rs:695:52 [INFO] [stderr] | [INFO] [stderr] 695 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 695 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stderr] 695 + pub fn next>(&mut self) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/delta.rs - delta::Delta::factor (line 145) - compile ... ok [INFO] [stdout] test src/delta.rs - delta::Delta::synthesize (line 196) - compile ... ok [INFO] [stdout] test src/rope.rs - rope::Rope (line 60) ... ok [INFO] [stdout] test src/compare.rs - compare::RopeScanner<'a>::find_min_diff_range (line 344) ... ok [INFO] [stdout] test src/compare.rs - compare::RopeScanner<'a>::find_ne_char (line 283) ... ok [INFO] [stdout] test src/rope.rs - rope::Rope (line 70) ... ok [INFO] [stdout] test src/rope.rs - rope::Rope (line 81) ... ok [INFO] [stdout] test src/compare.rs - compare::RopeScanner<'a>::find_ne_char_back (line 216) ... ok [INFO] [stdout] test src/tree.rs - tree::Node::count (line 430) ... ok [INFO] [stdout] test src/tree.rs - tree::Cursor<'a,N>::iter (line 751) ... ok [INFO] [stdout] test src/tree.rs - tree::Node::count_base_units (line 447) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c5433132afcfb1631d2f27eb7dc465ed0f13743eb87205d2f64e12d6a5ba6186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5433132afcfb1631d2f27eb7dc465ed0f13743eb87205d2f64e12d6a5ba6186", kill_on_drop: false }` [INFO] [stdout] c5433132afcfb1631d2f27eb7dc465ed0f13743eb87205d2f64e12d6a5ba6186