[INFO] fetching crate segsource 0.2.0... [INFO] testing segsource-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate segsource 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate segsource 0.2.0 [INFO] finished tweaking crates.io crate segsource 0.2.0 [INFO] tweaked toml for crates.io crate segsource 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate segsource 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding backtrace v0.3.71 (available: v0.3.76) [INFO] [stderr] Adding color-backtrace v0.5.1 (available: v0.7.1) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.5.0) [INFO] [stderr] Adding memmap2 v0.3.1 (available: v0.9.8) [INFO] [stderr] Adding snafu v0.6.10 (available: v0.8.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.7.4 [INFO] [stderr] Downloaded fs3 v0.5.0 [INFO] [stderr] Downloaded here v1.1.1 [INFO] [stderr] Downloaded pmhelp-internal v0.0.2 [INFO] [stderr] Downloaded snafu v0.6.10 [INFO] [stderr] Downloaded color-backtrace v0.5.1 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded snafu-derive v0.6.10 [INFO] [stderr] Downloaded pmhelp v0.0.2 [INFO] [stderr] Downloaded segsource-derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d2c94ea6dcce7587430e9d6aecc71c7b7ac2f053921e4a6031834651b122375 [INFO] running `Command { std: "docker" "start" "-a" "8d2c94ea6dcce7587430e9d6aecc71c7b7ac2f053921e4a6031834651b122375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d2c94ea6dcce7587430e9d6aecc71c7b7ac2f053921e4a6031834651b122375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2c94ea6dcce7587430e9d6aecc71c7b7ac2f053921e4a6031834651b122375", kill_on_drop: false }` [INFO] [stdout] 8d2c94ea6dcce7587430e9d6aecc71c7b7ac2f053921e4a6031834651b122375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8d06a8556555c12084b8c0a846f20f3ea1705838d8f7e0c3243610bff13331c [INFO] running `Command { std: "docker" "start" "-a" "a8d06a8556555c12084b8c0a846f20f3ea1705838d8f7e0c3243610bff13331c", kill_on_drop: false }` [INFO] [stderr] Compiling here v1.1.1 [INFO] [stderr] Compiling pmhelp-internal v0.0.2 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling pmhelp v0.0.2 [INFO] [stderr] Compiling segsource-derive v0.2.0 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling segsource v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn all(&self) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn all(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn segment(&self, start: usize, end: usize) -> 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] 85 | fn segment(&self, start: usize, end: usize) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_n(&self, offset: usize, num_items: usize) -> 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] 88 | fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | fn all_before(&self, offset: usize) -> 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] 95 | fn all_before(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn all_after(&self, offset: usize) -> 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] 101 | fn all_after(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/vec_source.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | fn segment(&self, start: usize, end: usize) -> 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] 54 | fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn next_n(&self, num_items: usize) -> 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] 136 | pub fn next_n(&self, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> 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] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:339:20 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn segment(&self, start: usize, end: usize) -> 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] 339 | pub fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn all_after(&self, offset: usize) -> 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] 349 | pub fn all_after(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn all_before(&self, offset: usize) -> 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] 359 | pub fn all_before(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "a8d06a8556555c12084b8c0a846f20f3ea1705838d8f7e0c3243610bff13331c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d06a8556555c12084b8c0a846f20f3ea1705838d8f7e0c3243610bff13331c", kill_on_drop: false }` [INFO] [stdout] a8d06a8556555c12084b8c0a846f20f3ea1705838d8f7e0c3243610bff13331c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31448397bf33f16090669dce811b47df7e6fa2a2bb46a6ddcb7412ba2cbefd58 [INFO] running `Command { std: "docker" "start" "-a" "31448397bf33f16090669dce811b47df7e6fa2a2bb46a6ddcb7412ba2cbefd58", kill_on_drop: false }` [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn all(&self) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn all(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn segment(&self, start: usize, end: usize) -> 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] 85 | fn segment(&self, start: usize, end: usize) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_n(&self, offset: usize, num_items: usize) -> 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] 88 | fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | fn all_before(&self, offset: usize) -> 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] 95 | fn all_before(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn all_after(&self, offset: usize) -> 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] 101 | fn all_after(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/vec_source.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | fn segment(&self, start: usize, end: usize) -> 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] 54 | fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn next_n(&self, num_items: usize) -> 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] 136 | pub fn next_n(&self, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> 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] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:339:20 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn segment(&self, start: usize, end: usize) -> 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] 339 | pub fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn all_after(&self, offset: usize) -> 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] 349 | pub fn all_after(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn all_before(&self, offset: usize) -> 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] 359 | pub fn all_before(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling color-backtrace v0.5.1 [INFO] [stderr] Compiling segsource v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn all(&self) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn all(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn segment(&self, start: usize, end: usize) -> 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] 85 | fn segment(&self, start: usize, end: usize) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_n(&self, offset: usize, num_items: usize) -> 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] 88 | fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | fn all_before(&self, offset: usize) -> 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] 95 | fn all_before(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/mod.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn all_after(&self, offset: usize) -> 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] 101 | fn all_after(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sources/vec_source.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | fn segment(&self, start: usize, end: usize) -> 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] 54 | fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn next_n(&self, num_items: usize) -> 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] 136 | pub fn next_n(&self, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> 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] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:339:20 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn segment(&self, start: usize, end: usize) -> 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] 339 | pub fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn all_after(&self, offset: usize) -> 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] 349 | pub fn all_after(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment/mod.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn all_before(&self, offset: usize) -> 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] 359 | pub fn all_before(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.48s [INFO] running `Command { std: "docker" "inspect" "31448397bf33f16090669dce811b47df7e6fa2a2bb46a6ddcb7412ba2cbefd58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31448397bf33f16090669dce811b47df7e6fa2a2bb46a6ddcb7412ba2cbefd58", kill_on_drop: false }` [INFO] [stdout] 31448397bf33f16090669dce811b47df7e6fa2a2bb46a6ddcb7412ba2cbefd58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd908532112695c80b943ad591e9b93357010a2208ae39a22a5fccc258d57d77 [INFO] running `Command { std: "docker" "start" "-a" "fd908532112695c80b943ad591e9b93357010a2208ae39a22a5fccc258d57d77", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sources/mod.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | fn all(&self) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | fn all(&self) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sources/mod.rs:85:16 [INFO] [stderr] | [INFO] [stderr] 85 | fn segment(&self, start: usize, end: usize) -> 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] 85 | fn segment(&self, start: usize, end: usize) -> Result>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sources/mod.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | fn get_n(&self, offset: usize, num_items: usize) -> 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] 88 | fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sources/mod.rs:95:19 [INFO] [stderr] | [INFO] [stderr] 95 | fn all_before(&self, offset: usize) -> 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] 95 | fn all_before(&self, offset: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sources/mod.rs:101:18 [INFO] [stderr] | [INFO] [stderr] 101 | fn all_after(&self, offset: usize) -> 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] 101 | fn all_after(&self, offset: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sources/vec_source.rs:54:16 [INFO] [stderr] | [INFO] [stderr] 54 | fn segment(&self, start: usize, end: usize) -> 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] 54 | fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/segment/mod.rs:136:19 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn next_n(&self, num_items: usize) -> 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] 136 | pub fn next_n(&self, num_items: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/segment/mod.rs:319:18 [INFO] [stderr] | [INFO] [stderr] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> 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] 319 | pub fn get_n(&self, offset: usize, num_items: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/segment/mod.rs:339:20 [INFO] [stderr] | [INFO] [stderr] 339 | pub fn segment(&self, start: usize, end: usize) -> 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] 339 | pub fn segment(&self, start: usize, end: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/segment/mod.rs:349:22 [INFO] [stderr] | [INFO] [stderr] 349 | pub fn all_after(&self, offset: usize) -> 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] 349 | pub fn all_after(&self, offset: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/segment/mod.rs:359:23 [INFO] [stderr] | [INFO] [stderr] 359 | pub fn all_before(&self, offset: usize) -> 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] 359 | pub fn all_before(&self, offset: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `segsource` (lib) generated 11 warnings (run `cargo fix --lib -p segsource` to apply 11 suggestions) [INFO] [stderr] warning: `segsource` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/segsource-2482d260b9ed9f1f) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test testing::segment::all_after ... ok [INFO] [stdout] test testing::segment::basic_be_test ... ok [INFO] [stdout] test testing::segment::basic_test_1 ... ok [INFO] [stdout] test testing::segment::next_n_as_slice_test ... ok [INFO] [stdout] test testing::segment::next_n_test ... ok [INFO] [stdout] test testing::segment::test_indexing ... ok [INFO] [stdout] test testing::segment::test_move_to ... ok [INFO] [stdout] test testing::segment::test_move_by ... ok [INFO] [stdout] test testing::segment::test_next_items_are ... ok [INFO] [stdout] test testing::segment::all_before ... ok [INFO] [stdout] test testing::segment::basic_le_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests segsource [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 64) ... ok [INFO] [stdout] test src/lib.rs - (line 79) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd908532112695c80b943ad591e9b93357010a2208ae39a22a5fccc258d57d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd908532112695c80b943ad591e9b93357010a2208ae39a22a5fccc258d57d77", kill_on_drop: false }` [INFO] [stdout] fd908532112695c80b943ad591e9b93357010a2208ae39a22a5fccc258d57d77