[INFO] fetching crate ssh-parser 0.5.0... [INFO] testing ssh-parser-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ssh-parser 0.5.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ssh-parser 0.5.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] 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cookie-factory v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f3467aa4dfcfbb27d6b71decd16e9e189a8e03a062e30043502cd7263c333fe4 [INFO] running `Command { std: "docker" "start" "-a" "f3467aa4dfcfbb27d6b71decd16e9e189a8e03a062e30043502cd7263c333fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3467aa4dfcfbb27d6b71decd16e9e189a8e03a062e30043502cd7263c333fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3467aa4dfcfbb27d6b71decd16e9e189a8e03a062e30043502cd7263c333fe4", kill_on_drop: false }` [INFO] [stdout] f3467aa4dfcfbb27d6b71decd16e9e189a8e03a062e30043502cd7263c333fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fcf3096a3254d65d08e8a46a406d05ca451671178327d84a5816c8054b3d02de [INFO] running `Command { std: "docker" "start" "-a" "fcf3096a3254d65d08e8a46a406d05ca451671178327d84a5816c8054b3d02de", kill_on_drop: false }` [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:28 [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 0.51s [INFO] running `Command { std: "docker" "inspect" "fcf3096a3254d65d08e8a46a406d05ca451671178327d84a5816c8054b3d02de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf3096a3254d65d08e8a46a406d05ca451671178327d84a5816c8054b3d02de", kill_on_drop: false }` [INFO] [stdout] fcf3096a3254d65d08e8a46a406d05ca451671178327d84a5816c8054b3d02de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b9a7816a2295af2ae8ffc4c7682a154ea55fb9584e9cd36ac07d3727a14ffa11 [INFO] running `Command { std: "docker" "start" "-a" "b9a7816a2295af2ae8ffc4c7682a154ea55fb9584e9cd36ac07d3727a14ffa11", 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:28 [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] 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:28 [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.79s [INFO] running `Command { std: "docker" "inspect" "b9a7816a2295af2ae8ffc4c7682a154ea55fb9584e9cd36ac07d3727a14ffa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a7816a2295af2ae8ffc4c7682a154ea55fb9584e9cd36ac07d3727a14ffa11", kill_on_drop: false }` [INFO] [stdout] b9a7816a2295af2ae8ffc4c7682a154ea55fb9584e9cd36ac07d3727a14ffa11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d4b9d10007d046341b0dbb73937623d2c2cfbd986b9abe888330294b4253af28 [INFO] running `Command { std: "docker" "start" "-a" "d4b9d10007d046341b0dbb73937623d2c2cfbd986b9abe888330294b4253af28", 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:28 [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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ssh_parser-4fc4b5faecde7c1d) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::test_compatibility ... ok [INFO] [stdout] test tests::test_new_keys ... ok [INFO] [stdout] test tests::test_version_with_comments ... ok [INFO] [stdout] test tests::test_identification ... ok [INFO] [stdout] test tests::test_invalid_packet0 ... ok [INFO] [stdout] test ssh::tests::test_one_name_list ... ok [INFO] [stdout] test ssh::tests::test_name ... ok [INFO] [stdout] test ssh::tests::test_empty_name_list ... ok [INFO] [stdout] test tests::test_dh_reply ... ok [INFO] [stdout] test tests::test_client_key_exchange ... ok [INFO] [stdout] test ssh::tests::test_two_names_list ... ok [INFO] [stdout] test tests::test_dh_init ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests ssh_parser [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" "d4b9d10007d046341b0dbb73937623d2c2cfbd986b9abe888330294b4253af28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b9d10007d046341b0dbb73937623d2c2cfbd986b9abe888330294b4253af28", kill_on_drop: false }` [INFO] [stdout] d4b9d10007d046341b0dbb73937623d2c2cfbd986b9abe888330294b4253af28