[INFO] fetching crate git-cinnabar 0.7.2... [INFO] testing git-cinnabar-0.7.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate git-cinnabar 0.7.2 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate git-cinnabar 0.7.2 [INFO] finished tweaking crates.io crate git-cinnabar 0.7.2 [INFO] tweaked toml for crates.io crate git-cinnabar 0.7.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate git-cinnabar 0.7.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate git-cinnabar 0.7.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac6442c2c312e6824c46eb2358e0d74105896784f7bd409f49dace3defaad8f4 [INFO] running `Command { std: "docker" "start" "-a" "ac6442c2c312e6824c46eb2358e0d74105896784f7bd409f49dace3defaad8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac6442c2c312e6824c46eb2358e0d74105896784f7bd409f49dace3defaad8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6442c2c312e6824c46eb2358e0d74105896784f7bd409f49dace3defaad8f4", kill_on_drop: false }` [INFO] [stdout] ac6442c2c312e6824c46eb2358e0d74105896784f7bd409f49dace3defaad8f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37857a6362e9453e412a1d8ea74185d44fa0710ef5845ba1a28272f67ab0eaa8 [INFO] running `Command { std: "docker" "start" "-a" "37857a6362e9453e412a1d8ea74185d44fa0710ef5845ba1a28272f67ab0eaa8", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling target v2.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling git-cinnabar v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling git-version-macro v0.3.9 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling git-version v0.3.9 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling getset v0.1.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling shared_child v1.0.1 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Compiling lru v0.13.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling concat_const v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling tee v0.1.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/hg_bundle.rs:1186:22 [INFO] [stdout] | [INFO] [stdout] 1186 | .map(|p| (p.to_git(store).unwrap().into())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1186 - .map(|p| (p.to_git(store).unwrap().into())) [INFO] [stdout] 1186 + .map(|p| p.to_git(store).unwrap().into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:549:17 [INFO] [stdout] | [INFO] [stdout] 549 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 549 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/commit.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(&self) -> Option { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/libcinnabar.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_str_slice(&self) -> strslice; [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] 35 | fn as_str_slice(&self) -> strslice<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/libcinnabar.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_str_slice(&self) -> strslice { [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] 39 | fn as_str_slice(&self) -> strslice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn changeset_heads(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub fn changeset_heads(&self) -> Ref<'_, ChangesetHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn changeset_heads_mut(&self) -> RefMut { [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] 130 | pub fn changeset_heads_mut(&self) -> RefMut<'_, ChangesetHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn manifest_heads(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn manifest_heads(&self) -> Ref<'_, ManifestHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn manifest_heads_mut(&self) -> RefMut { [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] 147 | pub fn manifest_heads_mut(&self) -> RefMut<'_, ManifestHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn hg2git(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | pub fn hg2git(&self) -> Ref<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn hg2git_mut(&self) -> RefMut { [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] 158 | pub fn hg2git_mut(&self) -> RefMut<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn git2hg(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn git2hg(&self) -> Ref<'_, git_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn git2hg_mut(&self) -> RefMut { [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] 169 | pub fn git2hg_mut(&self) -> RefMut<'_, git_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn files_meta(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn files_meta(&self) -> Ref<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn files_meta_mut(&self) -> RefMut { [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] 180 | pub fn files_meta_mut(&self) -> RefMut<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn parse(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn parse(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn extra(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn extra(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn patch(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | pub fn patch(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:635:18 [INFO] [stdout] | [INFO] [stdout] 635 | pub fn parse(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 635 | pub fn parse(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:674:18 [INFO] [stdout] | [INFO] [stdout] 674 | pub fn extra(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 674 | pub fn extra(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_bundle.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter_diff(&self) -> RevDiffIter { [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] 122 | pub fn iter_diff(&self) -> RevDiffIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_bundle.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn next_part(&mut self) -> io::Result> { [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] 445 | pub fn next_part(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_bundle.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn new_part(&mut self, info: BundlePartInfo) -> io::Result> { [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] 683 | pub fn new_part(&mut self, info: BundlePartInfo) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn as_string(&self) -> 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] 52 | pub fn as_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse; [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] 185 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse { [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] 198 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse { [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] 246 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 410 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse { [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] 529 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:1307:30 [INFO] [stdout] | [INFO] [stdout] 1307 | fn cinnabar_clone_info(line: &[u8]) -> Result, String> { [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] 1307 | fn cinnabar_clone_info(line: &[u8]) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect_http.rs:808:21 [INFO] [stdout] | [INFO] [stdout] 808 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 808 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect_stdio.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | fn push_command(&mut self, mut input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 156 | fn push_command(&mut self, mut input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_data.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | fn normalize_hg_author(author: &[u8]) -> (Cow<[u8]>, Cow<[u8]>) { [INFO] [stdout] | ^^^^^ --------- --------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 89 | fn normalize_hg_author(author: &[u8]) -> (Cow<'_, [u8]>, Cow<'_, [u8]>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_data.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn cleanup(s: &BStr) -> Cow<[u8]> { [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] 90 | fn cleanup(s: &BStr) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "37857a6362e9453e412a1d8ea74185d44fa0710ef5845ba1a28272f67ab0eaa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37857a6362e9453e412a1d8ea74185d44fa0710ef5845ba1a28272f67ab0eaa8", kill_on_drop: false }` [INFO] [stdout] 37857a6362e9453e412a1d8ea74185d44fa0710ef5845ba1a28272f67ab0eaa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e28ac4fa4030b1c6f329afc9a36efcb5556df1e3415e4d369bbd1731d6c0bb9 [INFO] running `Command { std: "docker" "start" "-a" "7e28ac4fa4030b1c6f329afc9a36efcb5556df1e3415e4d369bbd1731d6c0bb9", kill_on_drop: false }` [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling git-cinnabar v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling git-version v0.3.9 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling shared_child v1.0.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling concat_const v0.1.3 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling lru v0.13.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tee v0.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/hg_bundle.rs:1186:22 [INFO] [stdout] | [INFO] [stdout] 1186 | .map(|p| (p.to_git(store).unwrap().into())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1186 - .map(|p| (p.to_git(store).unwrap().into())) [INFO] [stdout] 1186 + .map(|p| p.to_git(store).unwrap().into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:549:17 [INFO] [stdout] | [INFO] [stdout] 549 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 549 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/commit.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(&self) -> Option { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/libcinnabar.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_str_slice(&self) -> strslice; [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] 35 | fn as_str_slice(&self) -> strslice<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/libcinnabar.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_str_slice(&self) -> strslice { [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] 39 | fn as_str_slice(&self) -> strslice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn changeset_heads(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub fn changeset_heads(&self) -> Ref<'_, ChangesetHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn changeset_heads_mut(&self) -> RefMut { [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] 130 | pub fn changeset_heads_mut(&self) -> RefMut<'_, ChangesetHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn manifest_heads(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn manifest_heads(&self) -> Ref<'_, ManifestHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn manifest_heads_mut(&self) -> RefMut { [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] 147 | pub fn manifest_heads_mut(&self) -> RefMut<'_, ManifestHeads> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn hg2git(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | pub fn hg2git(&self) -> Ref<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn hg2git_mut(&self) -> RefMut { [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] 158 | pub fn hg2git_mut(&self) -> RefMut<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn git2hg(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn git2hg(&self) -> Ref<'_, git_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn git2hg_mut(&self) -> RefMut { [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] 169 | pub fn git2hg_mut(&self) -> RefMut<'_, git_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn files_meta(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn files_meta(&self) -> Ref<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn files_meta_mut(&self) -> RefMut { [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] 180 | pub fn files_meta_mut(&self) -> RefMut<'_, hg_notes_tree> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn parse(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn parse(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn extra(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn extra(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn patch(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | pub fn patch(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:635:18 [INFO] [stdout] | [INFO] [stdout] 635 | pub fn parse(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 635 | pub fn parse(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:674:18 [INFO] [stdout] | [INFO] [stdout] 674 | pub fn extra(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 674 | pub fn extra(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tree_util.rs:822:5 [INFO] [stdout] | [INFO] [stdout] 755 | fn test_recurse_tree_iter() { [INFO] [stdout] | --------------------------- move the `impl` block outside of this function `test_recurse_tree_iter` [INFO] [stdout] ... [INFO] [stdout] 822 | impl Empty for std::vec::IntoIter { [INFO] [stdout] | ^^^^^^^^-----^^^^^------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `IntoIter` is not local [INFO] [stdout] | `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_bundle.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter_diff(&self) -> RevDiffIter { [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] 122 | pub fn iter_diff(&self) -> RevDiffIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_bundle.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn next_part(&mut self) -> io::Result> { [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] 445 | pub fn next_part(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_bundle.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn new_part(&mut self, info: BundlePartInfo) -> io::Result> { [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] 683 | pub fn new_part(&mut self, info: BundlePartInfo) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn as_string(&self) -> 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] 52 | pub fn as_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse; [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] 185 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse { [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] 198 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse { [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] 246 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 410 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse { [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] 529 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect.rs:1307:30 [INFO] [stdout] | [INFO] [stdout] 1307 | fn cinnabar_clone_info(line: &[u8]) -> Result, String> { [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] 1307 | fn cinnabar_clone_info(line: &[u8]) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect_http.rs:808:21 [INFO] [stdout] | [INFO] [stdout] 808 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 808 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_connect_stdio.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | fn push_command(&mut self, mut input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 156 | fn push_command(&mut self, mut input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_data.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | fn normalize_hg_author(author: &[u8]) -> (Cow<[u8]>, Cow<[u8]>) { [INFO] [stdout] | ^^^^^ --------- --------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 89 | fn normalize_hg_author(author: &[u8]) -> (Cow<'_, [u8]>, Cow<'_, [u8]>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hg_data.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn cleanup(s: &BStr) -> Cow<[u8]> { [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] 90 | fn cleanup(s: &BStr) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "7e28ac4fa4030b1c6f329afc9a36efcb5556df1e3415e4d369bbd1731d6c0bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e28ac4fa4030b1c6f329afc9a36efcb5556df1e3415e4d369bbd1731d6c0bb9", kill_on_drop: false }` [INFO] [stdout] 7e28ac4fa4030b1c6f329afc9a36efcb5556df1e3415e4d369bbd1731d6c0bb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 687937a3b673ef049e940f17126e8950d27614e6b8e5fb6532b8ea549783ba89 [INFO] running `Command { std: "docker" "start" "-a" "687937a3b673ef049e940f17126e8950d27614e6b8e5fb6532b8ea549783ba89", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/hg_bundle.rs:1186:22 [INFO] [stderr] | [INFO] [stderr] 1186 | .map(|p| (p.to_git(store).unwrap().into())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1186 - .map(|p| (p.to_git(store).unwrap().into())) [INFO] [stderr] 1186 + .map(|p| p.to_git(store).unwrap().into()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:549:17 [INFO] [stderr] | [INFO] [stderr] 549 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 549 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/git/commit.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn parse(&self) -> Option { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 27 | pub fn parse(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/libcinnabar.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | fn as_str_slice(&self) -> strslice; [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] 35 | fn as_str_slice(&self) -> strslice<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/libcinnabar.rs:39:21 [INFO] [stderr] | [INFO] [stderr] 39 | fn as_str_slice(&self) -> strslice { [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] 39 | fn as_str_slice(&self) -> strslice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:118:28 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn changeset_heads(&self) -> Ref { [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] 118 | pub fn changeset_heads(&self) -> Ref<'_, ChangesetHeads> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:130:32 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn changeset_heads_mut(&self) -> RefMut { [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] 130 | pub fn changeset_heads_mut(&self) -> RefMut<'_, ChangesetHeads> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn manifest_heads(&self) -> Ref { [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] 135 | pub fn manifest_heads(&self) -> Ref<'_, ManifestHeads> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:147:31 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn manifest_heads_mut(&self) -> RefMut { [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] 147 | pub fn manifest_heads_mut(&self) -> RefMut<'_, ManifestHeads> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:152:19 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn hg2git(&self) -> Ref { [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] 152 | pub fn hg2git(&self) -> Ref<'_, hg_notes_tree> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:158:23 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn hg2git_mut(&self) -> RefMut { [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] 158 | pub fn hg2git_mut(&self) -> RefMut<'_, hg_notes_tree> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:163:19 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn git2hg(&self) -> Ref { [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] 163 | pub fn git2hg(&self) -> Ref<'_, git_notes_tree> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:169:23 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn git2hg_mut(&self) -> RefMut { [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] 169 | pub fn git2hg_mut(&self) -> RefMut<'_, git_notes_tree> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:174:23 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn files_meta(&self) -> Ref { [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] 174 | pub fn files_meta(&self) -> Ref<'_, hg_notes_tree> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:180:27 [INFO] [stderr] | [INFO] [stderr] 180 | pub fn files_meta_mut(&self) -> RefMut { [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] 180 | pub fn files_meta_mut(&self) -> RefMut<'_, hg_notes_tree> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:239:18 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn parse(&self) -> Option { [INFO] [stderr] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 239 | pub fn parse(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:301:18 [INFO] [stderr] | [INFO] [stderr] 301 | pub fn extra(&self) -> Option { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 301 | pub fn extra(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:320:18 [INFO] [stderr] | [INFO] [stderr] 320 | pub fn patch(&self) -> Option { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 320 | pub fn patch(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:635:18 [INFO] [stderr] | [INFO] [stderr] 635 | pub fn parse(&self) -> Option { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 635 | pub fn parse(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:674:18 [INFO] [stderr] | [INFO] [stderr] 674 | pub fn extra(&self) -> Option { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 674 | pub fn extra(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/tree_util.rs:822:5 [INFO] [stderr] | [INFO] [stderr] 755 | fn test_recurse_tree_iter() { [INFO] [stderr] | --------------------------- move the `impl` block outside of this function `test_recurse_tree_iter` [INFO] [stderr] ... [INFO] [stderr] 822 | impl Empty for std::vec::IntoIter { [INFO] [stderr] | ^^^^^^^^-----^^^^^------------------^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `IntoIter` is not local [INFO] [stderr] | `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_bundle.rs:122:22 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn iter_diff(&self) -> RevDiffIter { [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] 122 | pub fn iter_diff(&self) -> RevDiffIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_bundle.rs:445:22 [INFO] [stderr] | [INFO] [stderr] 445 | pub fn next_part(&mut self) -> io::Result> { [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] 445 | pub fn next_part(&mut self) -> io::Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_bundle.rs:683:21 [INFO] [stderr] | [INFO] [stderr] 683 | pub fn new_part(&mut self, info: BundlePartInfo) -> io::Result> { [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] 683 | pub fn new_part(&mut self, info: BundlePartInfo) -> io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn as_string(&self) -> 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] 52 | pub fn as_string(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect.rs:185:21 [INFO] [stderr] | [INFO] [stderr] 185 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse; [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] 185 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect.rs:198:17 [INFO] [stderr] | [INFO] [stderr] 198 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse { [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] 198 | fn unbundle(&mut self, _heads: Option<&[HgChangesetId]>, _input: File) -> UnbundleResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse { [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] 246 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect.rs:410:21 [INFO] [stderr] | [INFO] [stderr] 410 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 410 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect.rs:529:17 [INFO] [stderr] | [INFO] [stderr] 529 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse { [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] 529 | fn unbundle(&mut self, heads: Option<&[HgChangesetId]>, input: File) -> UnbundleResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect.rs:1307:30 [INFO] [stderr] | [INFO] [stderr] 1307 | fn cinnabar_clone_info(line: &[u8]) -> Result, String> { [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] 1307 | fn cinnabar_clone_info(line: &[u8]) -> Result>, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect_http.rs:808:21 [INFO] [stderr] | [INFO] [stderr] 808 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 808 | fn push_command(&mut self, input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_connect_stdio.rs:156:21 [INFO] [stderr] | [INFO] [stderr] 156 | fn push_command(&mut self, mut input: File, command: &str, args: HgArgs) -> UnbundleResponse { [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] 156 | fn push_command(&mut self, mut input: File, command: &str, args: HgArgs) -> UnbundleResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_data.rs:89:32 [INFO] [stderr] | [INFO] [stderr] 89 | fn normalize_hg_author(author: &[u8]) -> (Cow<[u8]>, Cow<[u8]>) { [INFO] [stderr] | ^^^^^ --------- --------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [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] 89 | fn normalize_hg_author(author: &[u8]) -> (Cow<'_, [u8]>, Cow<'_, [u8]>) { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hg_data.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 90 | fn cleanup(s: &BStr) -> Cow<[u8]> { [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] 90 | fn cleanup(s: &BStr) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `git-cinnabar` (bin "git-cinnabar" test) generated 35 warnings (run `cargo fix --bin "git-cinnabar" --tests` to apply 34 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_cinnabar-ede3558355d922ac) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test hg::test_abbrev_hg_object_id ... ok [INFO] [stdout] test hg_connect_http::test_exactsize_read_rewind_body ... ok [INFO] [stdout] test hg_connect::test_encode_decode_caps ... ok [INFO] [stdout] test hg_connect::test_unescape_batched_output ... ok [INFO] [stdout] test hg_bundle::test_bundle_part_writer ... ok [INFO] [stdout] test hg_data::test_authorship_from_git ... ok [INFO] [stdout] test hg_bundle::test_bundle_part_info ... ok [INFO] [stdout] test logging::test_target_map ... ok [INFO] [stdout] test hg_data::test_authorship_to_git ... ok [INFO] [stdout] test hg_data::test_authorship_to_hg ... ok [INFO] [stdout] test test_hg_url ... ok [INFO] [stdout] test store::test_branches_for_url ... ok [INFO] [stdout] test store::test_changeset_extra ... ok [INFO] [stdout] test tree_util::test_diff_by_path ... ok [INFO] [stdout] test store::test_dag ... ok [INFO] [stdout] test test_checks_from_config ... ok [INFO] [stdout] test tree_util::test_recurse_tree_iter ... ok [INFO] [stdout] test util::test_filter_map_while ... ok [INFO] [stdout] test util::test_optionext ... ok [INFO] [stdout] test version::test_build_branch ... ok [INFO] [stdout] test xdiff::test_textdiff ... ok [INFO] [stdout] test xdiff::test_bytediff ... ok [INFO] [stdout] test hg_data::test_authorship_from_hg ... ok [INFO] [stdout] test version::test_version ... ok [INFO] [stdout] test tree_util::test_cmp_path ... ok [INFO] [stdout] test tree_util::test_merge_join_by_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "687937a3b673ef049e940f17126e8950d27614e6b8e5fb6532b8ea549783ba89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687937a3b673ef049e940f17126e8950d27614e6b8e5fb6532b8ea549783ba89", kill_on_drop: false }` [INFO] [stdout] 687937a3b673ef049e940f17126e8950d27614e6b8e5fb6532b8ea549783ba89