[INFO] cloning repository https://github.com/rmohta/rustcap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmohta/rustcap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmohta%2Frustcap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmohta%2Frustcap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 487e8a160ba1b6666384f6d888d9515d4088afcc [INFO] checking rmohta/rustcap against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmohta%2Frustcap" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmohta/rustcap on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rmohta/rustcap [INFO] finished tweaking git repo https://github.com/rmohta/rustcap [INFO] tweaked toml for git repo https://github.com/rmohta/rustcap written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/rmohta/rustcap already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d662d07c21117ceaa9190c17d1eb9ee661369d88cb17f4ff19af46660d40a0b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d662d07c21117ceaa9190c17d1eb9ee661369d88cb17f4ff19af46660d40a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d662d07c21117ceaa9190c17d1eb9ee661369d88cb17f4ff19af46660d40a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d662d07c21117ceaa9190c17d1eb9ee661369d88cb17f4ff19af46660d40a0b", kill_on_drop: false }` [INFO] [stdout] 6d662d07c21117ceaa9190c17d1eb9ee661369d88cb17f4ff19af46660d40a0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ea0604966681c16b3c3823e6403ccc1cf1680c75c414f5044c213731d343c87 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1ea0604966681c16b3c3823e6403ccc1cf1680c75c414f5044c213731d343c87", kill_on_drop: false }` [INFO] [stderr] Checking rustcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::MemReader` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::MemReader; [INFO] [stdout] | ^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BufReader` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::args` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::args; [INFO] [stdout] | ^^^^^^^^^^^^^ no `args` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::MemReader` [INFO] [stdout] --> src/pretty_hex.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::MemReader; [INFO] [stdout] | ^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BufReader` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::SeekSet`, `std::io::IoResult`, `std::io::IoError` [INFO] [stdout] --> src/dump_decoder.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekSet, IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `IoResult` in `io` [INFO] [stdout] | | no `SeekSet` in `io` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, SeekSet, IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekSet, Result, IoError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekSet, IoResult, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::InvalidInput`, `std::io::MismatchedFileTypeForOperation` [INFO] [stdout] --> src/dump_decoder.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{InvalidInput, MismatchedFileTypeForOperation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MismatchedFileTypeForOperation` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `InvalidInput` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `prototype::BigEndian`, `prototype::LittleEndian`, `prototype::Unknown` [INFO] [stdout] --> src/dump_decoder.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use prototype::{Descriptor, Endianness, BigEndian, LittleEndian, Unknown}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ no `Unknown` in `prototype` [INFO] [stdout] | | | [INFO] [stdout] | | no `LittleEndian` in `prototype` [INFO] [stdout] | no `BigEndian` in `prototype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::SeekCur`, `std::io::SeekSet`, `std::io::IoResult`, `std::io::IoError`, `std::io::InvalidInput` [INFO] [stdout] --> src/rec_descriptor.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekCur, SeekSet, IoResult, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ no `InvalidInput` in `io` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `IoError` in `io` [INFO] [stdout] | | | | no `IoResult` in `io` [INFO] [stdout] | | | no `SeekSet` in `io` [INFO] [stdout] | | no `SeekCur` in `io` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, SeekCur, SeekSet, IoResult, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekCur, SeekSet, Result, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekCur, SeekSet, IoResult, Error, InvalidInput}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::MemReader` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::MemReader; [INFO] [stdout] | ^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BufReader` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `prototype::LittleEndian`, `prototype::BigEndian`, `prototype::Unknown` [INFO] [stdout] --> src/rec_descriptor.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use prototype::{Descriptor, Endianness, LittleEndian, BigEndian, Unknown}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ no `Unknown` in `prototype` [INFO] [stdout] | | | [INFO] [stdout] | | no `BigEndian` in `prototype` [INFO] [stdout] | no `LittleEndian` in `prototype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::IoResult` [INFO] [stdout] --> src/prototype.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, IoResult}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ no `IoResult` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, IoResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::args` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::args; [INFO] [stdout] | ^^^^^^^^^^^^^ no `args` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::MemReader` [INFO] [stdout] --> src/pretty_hex.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::MemReader; [INFO] [stdout] | ^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BufReader` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::SeekSet`, `std::io::IoResult`, `std::io::IoError` [INFO] [stdout] --> src/dump_decoder.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekSet, IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `IoResult` in `io` [INFO] [stdout] | | no `SeekSet` in `io` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, SeekSet, IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekSet, Result, IoError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekSet, IoResult, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::InvalidInput`, `std::io::MismatchedFileTypeForOperation` [INFO] [stdout] --> src/dump_decoder.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{InvalidInput, MismatchedFileTypeForOperation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MismatchedFileTypeForOperation` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `InvalidInput` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let magic = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | self.version_major = try!(self.dump.read_le_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `prototype::BigEndian`, `prototype::LittleEndian`, `prototype::Unknown` [INFO] [stdout] --> src/dump_decoder.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use prototype::{Descriptor, Endianness, BigEndian, LittleEndian, Unknown}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ no `Unknown` in `prototype` [INFO] [stdout] | | | [INFO] [stdout] | | no `LittleEndian` in `prototype` [INFO] [stdout] | no `BigEndian` in `prototype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | self.version_minor = try!(self.dump.read_le_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | self.thiszone = try!(self.dump.read_le_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | self.sigfigs = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | self.snaplen = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | self.network = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | self.version_major = try!(self.dump.read_be_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | self.version_minor = try!(self.dump.read_be_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | self.thiszone = try!(self.dump.read_be_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::SeekCur`, `std::io::SeekSet`, `std::io::IoResult`, `std::io::IoError`, `std::io::InvalidInput` [INFO] [stdout] --> src/rec_descriptor.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekCur, SeekSet, IoResult, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ no `InvalidInput` in `io` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `IoError` in `io` [INFO] [stdout] | | | | no `IoResult` in `io` [INFO] [stdout] | | | no `SeekSet` in `io` [INFO] [stdout] | | no `SeekCur` in `io` [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, SeekCur, SeekSet, IoResult, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekCur, SeekSet, Result, IoError, InvalidInput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, SeekCur, SeekSet, IoResult, Error, InvalidInput}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | self.sigfigs = try!(self.dump.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | self.snaplen = try!(self.dump.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | self.network = try!(self.dump.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try!(i.init(&mut self.dump, self.endian)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `prototype::LittleEndian`, `prototype::BigEndian`, `prototype::Unknown` [INFO] [stdout] --> src/rec_descriptor.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use prototype::{Descriptor, Endianness, LittleEndian, BigEndian, Unknown}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ no `Unknown` in `prototype` [INFO] [stdout] | | | [INFO] [stdout] | | no `BigEndian` in `prototype` [INFO] [stdout] | no `LittleEndian` in `prototype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | self.ts_sec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | self.ts_usec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | self.pl_size = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::IoResult` [INFO] [stdout] --> src/prototype.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, IoResult}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ no `IoResult` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `MemReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, IoResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{MemReader, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | self.orig_len = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | self.pl_begin = try!(reader.tell()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | self.ts_sec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | self.ts_usec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | self.pl_size = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | self.orig_len = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | self.pl_begin = try!(reader.tell()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/rec_descriptor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rec_descriptor.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pl_desc : Option>, /* Payload descriptor */ [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Descriptor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let magic = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | self.version_major = try!(self.dump.read_le_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | self.version_minor = try!(self.dump.read_le_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | self.thiszone = try!(self.dump.read_le_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | self.sigfigs = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | self.snaplen = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | self.network = try!(self.dump.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | self.version_major = try!(self.dump.read_be_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | self.version_minor = try!(self.dump.read_be_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | self.thiszone = try!(self.dump.read_be_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | self.sigfigs = try!(self.dump.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | self.snaplen = try!(self.dump.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | self.network = try!(self.dump.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dump_decoder.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try!(i.init(&mut self.dump, self.endian)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | self.ts_sec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | self.ts_usec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | self.pl_size = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | self.orig_len = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | self.pl_begin = try!(reader.tell()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | self.ts_sec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | self.ts_usec = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | self.pl_size = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | self.orig_len = try!(reader.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rec_descriptor.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | self.pl_begin = try!(reader.tell()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/rec_descriptor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rec_descriptor.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pl_desc : Option>, /* Payload descriptor */ [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Descriptor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_end` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | match file.read_to_end() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_end` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | match file.read_to_end() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcap` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1ea0604966681c16b3c3823e6403ccc1cf1680c75c414f5044c213731d343c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea0604966681c16b3c3823e6403ccc1cf1680c75c414f5044c213731d343c87", kill_on_drop: false }` [INFO] [stdout] 1ea0604966681c16b3c3823e6403ccc1cf1680c75c414f5044c213731d343c87