[INFO] fetching crate ssh-parser 0.5.0... [INFO] testing ssh-parser-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate ssh-parser 0.5.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ssh-parser 0.5.0 [INFO] finished tweaking crates.io crate ssh-parser 0.5.0 [INFO] tweaked toml for crates.io crate ssh-parser 0.5.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ssh-parser 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding rusticata-macros v4.1.0 (available: v5.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6802eb4a0c0c2df6d9dabe6fb66710ab700618126cb23d519b6f7f549ef72268 [INFO] running `Command { std: "docker" "start" "-a" "6802eb4a0c0c2df6d9dabe6fb66710ab700618126cb23d519b6f7f549ef72268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6802eb4a0c0c2df6d9dabe6fb66710ab700618126cb23d519b6f7f549ef72268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6802eb4a0c0c2df6d9dabe6fb66710ab700618126cb23d519b6f7f549ef72268", kill_on_drop: false }` [INFO] [stdout] 6802eb4a0c0c2df6d9dabe6fb66710ab700618126cb23d519b6f7f549ef72268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be6c59e4b520271355cd914e33c7c529368f22b403214ecc0b501a28f596a2ab [INFO] running `Command { std: "docker" "start" "-a" "be6c59e4b520271355cd914e33c7c529368f22b403214ecc0b501a28f596a2ab", kill_on_drop: false }` [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling ssh-parser v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion)> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided 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] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&str>> { [INFO] [stdout] | -- -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&'a str>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:290:31 [INFO] [stdout] | [INFO] [stdout] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket, &[u8])> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket<'_>, &[u8])> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.54s [INFO] running `Command { std: "docker" "inspect" "be6c59e4b520271355cd914e33c7c529368f22b403214ecc0b501a28f596a2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be6c59e4b520271355cd914e33c7c529368f22b403214ecc0b501a28f596a2ab", kill_on_drop: false }` [INFO] [stdout] be6c59e4b520271355cd914e33c7c529368f22b403214ecc0b501a28f596a2ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d2da4a9bffd3e527ee28d534a9e48adcfb758269b3a75b5e728e5c0fe9514a1 [INFO] running `Command { std: "docker" "start" "-a" "8d2da4a9bffd3e527ee28d534a9e48adcfb758269b3a75b5e728e5c0fe9514a1", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion)> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided 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] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&str>> { [INFO] [stdout] | -- -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&'a str>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:290:31 [INFO] [stdout] | [INFO] [stdout] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ssh-parser v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket, &[u8])> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket<'_>, &[u8])> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion)> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided 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] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&str>> { [INFO] [stdout] | -- -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&'a str>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:290:31 [INFO] [stdout] | [INFO] [stdout] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ssh.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket, &[u8])> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket<'_>, &[u8])> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "8d2da4a9bffd3e527ee28d534a9e48adcfb758269b3a75b5e728e5c0fe9514a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2da4a9bffd3e527ee28d534a9e48adcfb758269b3a75b5e728e5c0fe9514a1", kill_on_drop: false }` [INFO] [stdout] 8d2da4a9bffd3e527ee28d534a9e48adcfb758269b3a75b5e728e5c0fe9514a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a7fa2985b090bb85e483683a8e7a7cb26b730f9743e682edad14c4a7b75cdf1 [INFO] running `Command { std: "docker" "start" "-a" "5a7fa2985b090bb85e483683a8e7a7cb26b730f9743e682edad14c4a7b75cdf1", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 33 | fn parse_version(i: &[u8]) -> IResult<&[u8], SshVersion<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:56:36 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion)> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided 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] 56 | pub fn parse_ssh_identification(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, SshVersion<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:80:62 [INFO] [stderr] | [INFO] [stderr] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&str>> { [INFO] [stderr] | -- -- ^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 80 | fn parse_name_list<'a>(i: &'a [u8]) -> IResult<&'a [u8], Vec<&'a str>> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:114:33 [INFO] [stderr] | [INFO] [stderr] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 114 | fn parse_packet_key_exchange(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:205:28 [INFO] [stderr] | [INFO] [stderr] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 205 | fn parse_packet_dh_init(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:224:29 [INFO] [stderr] | [INFO] [stderr] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 224 | fn parse_packet_dh_reply(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:290:31 [INFO] [stderr] | [INFO] [stderr] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 290 | fn parse_packet_disconnect(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:324:26 [INFO] [stderr] | [INFO] [stderr] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 324 | fn parse_packet_debug(i: &[u8]) -> IResult<&[u8], SshPacket<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ssh.rs:362:28 [INFO] [stderr] | [INFO] [stderr] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket, &[u8])> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^ the same lifetime is elided here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided 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] 362 | pub fn parse_ssh_packet(i: &[u8]) -> IResult<&[u8], (SshPacket<'_>, &[u8])> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ssh-parser` (lib) generated 9 warnings (run `cargo fix --lib -p ssh-parser` to apply 9 suggestions) [INFO] [stderr] warning: `ssh-parser` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ssh_parser-4fc4b5faecde7c1d) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stderr] Doc-tests ssh_parser [INFO] [stdout] test ssh::tests::test_empty_name_list ... ok [INFO] [stdout] test ssh::tests::test_one_name_list ... ok [INFO] [stdout] test ssh::tests::test_two_names_list ... ok [INFO] [stdout] test tests::test_compatibility ... ok [INFO] [stdout] test tests::test_dh_reply ... ok [INFO] [stdout] test tests::test_client_key_exchange ... ok [INFO] [stdout] test tests::test_dh_init ... ok [INFO] [stdout] test ssh::tests::test_name ... ok [INFO] [stdout] test tests::test_identification ... ok [INFO] [stdout] test tests::test_invalid_packet0 ... ok [INFO] [stdout] test tests::test_new_keys ... ok [INFO] [stdout] test tests::test_version_with_comments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a7fa2985b090bb85e483683a8e7a7cb26b730f9743e682edad14c4a7b75cdf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a7fa2985b090bb85e483683a8e7a7cb26b730f9743e682edad14c4a7b75cdf1", kill_on_drop: false }` [INFO] [stdout] 5a7fa2985b090bb85e483683a8e7a7cb26b730f9743e682edad14c4a7b75cdf1