[INFO] fetching crate sflow 0.0.1... [INFO] checking sflow-0.0.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate sflow 0.0.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sflow 0.0.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sflow 0.0.1 [INFO] finished tweaking crates.io crate sflow 0.0.1 [INFO] tweaked toml for crates.io crate sflow 0.0.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec948b0a2e7c5ba12373e13a197f9096e9be352ee2fffa9684ec74bc653aeeef [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" "ec948b0a2e7c5ba12373e13a197f9096e9be352ee2fffa9684ec74bc653aeeef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec948b0a2e7c5ba12373e13a197f9096e9be352ee2fffa9684ec74bc653aeeef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec948b0a2e7c5ba12373e13a197f9096e9be352ee2fffa9684ec74bc653aeeef", kill_on_drop: false }` [INFO] [stdout] ec948b0a2e7c5ba12373e13a197f9096e9be352ee2fffa9684ec74bc653aeeef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad181adc7d247f2adeb1222bd763b402c292611c7a0cafe7aa307ff1562bd890 [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" "ad181adc7d247f2adeb1222bd763b402c292611c7a0cafe7aa307ff1562bd890", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sflow v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | fn read_and_decode(&mut types::ReadSeeker) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [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/utils.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let r = try!(stream.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let r = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let r = try!(stream.be_read_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let r = try!(stream.read_i8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 99 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let r = try!(stream.be_read_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let r = try!(stream.be_read_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | let length: usize = try!(stream.be_read_u32()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | try!(stream.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let s = try!(String::from_utf8(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(stream.seek(SeekFrom::Current(padding as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let count = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(stream.seek(SeekFrom::Current(padding as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result, error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sample.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / add_decoder!{ [INFO] [stdout] 17 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 18 | | pub struct FlowSample { [INFO] [stdout] 19 | | // Incremented with each flow sample generated by this source_id. Note: If the agent resets the [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/sample.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / add_decoder!{ [INFO] [stdout] 17 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 18 | | pub struct FlowSample { [INFO] [stdout] 19 | | // Incremented with each flow sample generated by this source_id. Note: If the agent resets the [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let count = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let format = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let length = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | let fs: FlowSample = try!(::utils::Decodeable::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | try!(stream.seek(SeekFrom::Current(length as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sample.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | fn read_and_decode(stream: &mut ReadSeeker) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let format = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let length = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let e = try!(SampledHeader::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let e = try!(SampledIpv4::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let e = try!(ExtendedSwitch::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let e = try!(ExtendedRouter::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let e = try!(ExtendedGateway::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let e = try!(ExtendedUrl::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let e = try!(ExtendedMpls::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let e = try!(ExtendedMplsTunnel::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | try!(stream.seek(SeekFrom::Current(length as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/flow_records.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_and_decode(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / add_decoder!{ [INFO] [stdout] 77 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 78 | | pub struct ExtendedGateway { [INFO] [stdout] 79 | | pub next_hop: ipaddress::IPAddress, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / add_decoder!{ [INFO] [stdout] 77 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 78 | | pub struct ExtendedGateway { [INFO] [stdout] 79 | | pub next_hop: ipaddress::IPAddress, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / add_decoder!{ [INFO] [stdout] 90 | | #[derive(Debug, Clone)] [INFO] [stdout] 91 | | pub struct ExtendedUrl { [INFO] [stdout] 92 | | pub directoin: u32, /* Direction of connection */ [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / add_decoder!{ [INFO] [stdout] 90 | | #[derive(Debug, Clone)] [INFO] [stdout] 91 | | pub struct ExtendedUrl { [INFO] [stdout] 92 | | pub directoin: u32, /* Direction of connection */ [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / add_decoder!{ [INFO] [stdout] 99 | | #[derive(Debug, Clone)] [INFO] [stdout] 100 | | pub struct SampledIpv4 { [INFO] [stdout] 101 | | pub length: u32, /* The length of the IP packet excluding [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / add_decoder!{ [INFO] [stdout] 99 | | #[derive(Debug, Clone)] [INFO] [stdout] 100 | | pub struct SampledIpv4 { [INFO] [stdout] 101 | | pub length: u32, /* The length of the IP packet excluding [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / add_decoder!{ [INFO] [stdout] 115 | | #[derive(Debug, Clone)] [INFO] [stdout] 116 | | pub struct ExtendedSwitch { [INFO] [stdout] 117 | | pub src_vlan: u32, /* The 802.1Q VLAN id of incoming frame */ [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / add_decoder!{ [INFO] [stdout] 115 | | #[derive(Debug, Clone)] [INFO] [stdout] 116 | | pub struct ExtendedSwitch { [INFO] [stdout] 117 | | pub src_vlan: u32, /* The 802.1Q VLAN id of incoming frame */ [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / add_decoder!{ [INFO] [stdout] 125 | | #[derive(Debug, Clone)] [INFO] [stdout] 126 | | pub struct ExtendedRouter { [INFO] [stdout] 127 | | pub nexthop: ipaddress::IPAddress, /* IP address of next hop router */ [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / add_decoder!{ [INFO] [stdout] 125 | | #[derive(Debug, Clone)] [INFO] [stdout] 126 | | pub struct ExtendedRouter { [INFO] [stdout] 127 | | pub nexthop: ipaddress::IPAddress, /* IP address of next hop router */ [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / add_decoder!{ [INFO] [stdout] 136 | | #[derive(Debug, Clone)] [INFO] [stdout] 137 | | pub struct SampledHeader { [INFO] [stdout] 138 | | // TODO: header_protocol should be an enum... [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / add_decoder!{ [INFO] [stdout] 136 | | #[derive(Debug, Clone)] [INFO] [stdout] 137 | | pub struct SampledHeader { [INFO] [stdout] 138 | | // TODO: header_protocol should be an enum... [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / add_decoder!{ [INFO] [stdout] 165 | | #[derive(Debug, Clone)] [INFO] [stdout] 166 | | pub struct ExtendedMplsTunnel { [INFO] [stdout] 167 | | pub tunnel_lsp_name: String, /* Tunnel name */ [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / add_decoder!{ [INFO] [stdout] 165 | | #[derive(Debug, Clone)] [INFO] [stdout] 166 | | pub struct ExtendedMplsTunnel { [INFO] [stdout] 167 | | pub tunnel_lsp_name: String, /* Tunnel name */ [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | fn read_and_decode(&mut types::ReadSeeker) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [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/utils.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let r = try!(stream.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let r = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let r = try!(stream.be_read_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let r = try!(stream.read_i8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 99 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let r = try!(stream.be_read_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let r = try!(stream.be_read_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | let length: usize = try!(stream.be_read_u32()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | try!(stream.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let s = try!(String::from_utf8(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(stream.seek(SeekFrom::Current(padding as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let count = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(stream.seek(SeekFrom::Current(padding as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result, error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sample.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / add_decoder!{ [INFO] [stdout] 17 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 18 | | pub struct FlowSample { [INFO] [stdout] 19 | | // Incremented with each flow sample generated by this source_id. Note: If the agent resets the [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/sample.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / add_decoder!{ [INFO] [stdout] 17 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 18 | | pub struct FlowSample { [INFO] [stdout] 19 | | // Incremented with each flow sample generated by this source_id. Note: If the agent resets the [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let count = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let format = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let length = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | let fs: FlowSample = try!(::utils::Decodeable::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sample.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | try!(stream.seek(SeekFrom::Current(length as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sample.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | fn read_and_decode(stream: &mut ReadSeeker) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let format = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let length = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let e = try!(SampledHeader::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let e = try!(SampledIpv4::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let e = try!(ExtendedSwitch::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let e = try!(ExtendedRouter::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let e = try!(ExtendedGateway::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let e = try!(ExtendedUrl::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let e = try!(ExtendedMpls::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let e = try!(ExtendedMplsTunnel::read_and_decode(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flow_records.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | try!(stream.seek(SeekFrom::Current(length as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/flow_records.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_and_decode(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / add_decoder!{ [INFO] [stdout] 77 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 78 | | pub struct ExtendedGateway { [INFO] [stdout] 79 | | pub next_hop: ipaddress::IPAddress, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / add_decoder!{ [INFO] [stdout] 174 | | #[derive(Debug, Clone)] [INFO] [stdout] 175 | | pub struct ExtendedMpls { [INFO] [stdout] 176 | | pub nexthop: ipaddress::IPAddress, /* Address of the next hop */ [INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] 180 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / add_decoder!{ [INFO] [stdout] 174 | | #[derive(Debug, Clone)] [INFO] [stdout] 175 | | pub struct ExtendedMpls { [INFO] [stdout] 176 | | pub nexthop: ipaddress::IPAddress, /* Address of the next hop */ [INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] 180 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let ip_version = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | 1 => ip = try!(decode_ipv4(stream)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => ip = try!(decode_ipv6(stream)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ipaddress.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_and_decode(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | b[i] = try!(stream.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ipaddress.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn decode_ipv4(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | b[i] = try!(stream.be_read_u16()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ipaddress.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | fn decode_ipv6(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dst_as_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / add_decoder!{ [INFO] [stdout] 4 | | #[derive(Debug, Clone)] [INFO] [stdout] 5 | | pub struct DstASPath { [INFO] [stdout] 6 | | pub ordered: u32, [INFO] [stdout] 7 | | pub elements: Vec, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/dst_as_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / add_decoder!{ [INFO] [stdout] 4 | | #[derive(Debug, Clone)] [INFO] [stdout] 5 | | pub struct DstASPath { [INFO] [stdout] 6 | | pub ordered: u32, [INFO] [stdout] 7 | | pub elements: Vec, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / add_decoder!{ [INFO] [stdout] 77 | | #[derive(Debug, Clone, Default)] [INFO] [stdout] 78 | | pub struct ExtendedGateway { [INFO] [stdout] 79 | | pub next_hop: ipaddress::IPAddress, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/datagram.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / add_decoder!{ [INFO] [stdout] 6 | | #[derive(Debug, Clone)] [INFO] [stdout] 7 | | pub struct Datagram { [INFO] [stdout] 8 | | pub sflow_version: u32, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / add_decoder!{ [INFO] [stdout] 90 | | #[derive(Debug, Clone)] [INFO] [stdout] 91 | | pub struct ExtendedUrl { [INFO] [stdout] 92 | | pub directoin: u32, /* Direction of connection */ [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / add_decoder!{ [INFO] [stdout] 90 | | #[derive(Debug, Clone)] [INFO] [stdout] 91 | | pub struct ExtendedUrl { [INFO] [stdout] 92 | | pub directoin: u32, /* Direction of connection */ [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/datagram.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / add_decoder!{ [INFO] [stdout] 6 | | #[derive(Debug, Clone)] [INFO] [stdout] 7 | | pub struct Datagram { [INFO] [stdout] 8 | | pub sflow_version: u32, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/community.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | asn: try!(stream.be_read_u16()) as u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/community.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | tag: try!(stream.be_read_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / add_decoder!{ [INFO] [stdout] 99 | | #[derive(Debug, Clone)] [INFO] [stdout] 100 | | pub struct SampledIpv4 { [INFO] [stdout] 101 | | pub length: u32, /* The length of the IP packet excluding [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/community.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / add_decoder!{ [INFO] [stdout] 99 | | #[derive(Debug, Clone)] [INFO] [stdout] 100 | | pub struct SampledIpv4 { [INFO] [stdout] 101 | | pub length: u32, /* The length of the IP packet excluding [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `datagram::Datagram` [INFO] [stdout] --> src/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use datagram::Datagram; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / add_decoder!{ [INFO] [stdout] 115 | | #[derive(Debug, Clone)] [INFO] [stdout] 116 | | pub struct ExtendedSwitch { [INFO] [stdout] 117 | | pub src_vlan: u32, /* The 802.1Q VLAN id of incoming frame */ [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / add_decoder!{ [INFO] [stdout] 115 | | #[derive(Debug, Clone)] [INFO] [stdout] 116 | | pub struct ExtendedSwitch { [INFO] [stdout] 117 | | pub src_vlan: u32, /* The 802.1Q VLAN id of incoming frame */ [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / add_decoder!{ [INFO] [stdout] 125 | | #[derive(Debug, Clone)] [INFO] [stdout] 126 | | pub struct ExtendedRouter { [INFO] [stdout] 127 | | pub nexthop: ipaddress::IPAddress, /* IP address of next hop router */ [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / add_decoder!{ [INFO] [stdout] 125 | | #[derive(Debug, Clone)] [INFO] [stdout] 126 | | pub struct ExtendedRouter { [INFO] [stdout] 127 | | pub nexthop: ipaddress::IPAddress, /* IP address of next hop router */ [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / add_decoder!{ [INFO] [stdout] 136 | | #[derive(Debug, Clone)] [INFO] [stdout] 137 | | pub struct SampledHeader { [INFO] [stdout] 138 | | // TODO: header_protocol should be an enum... [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / add_decoder!{ [INFO] [stdout] 136 | | #[derive(Debug, Clone)] [INFO] [stdout] 137 | | pub struct SampledHeader { [INFO] [stdout] 138 | | // TODO: header_protocol should be an enum... [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / add_decoder!{ [INFO] [stdout] 165 | | #[derive(Debug, Clone)] [INFO] [stdout] 166 | | pub struct ExtendedMplsTunnel { [INFO] [stdout] 167 | | pub tunnel_lsp_name: String, /* Tunnel name */ [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / add_decoder!{ [INFO] [stdout] 165 | | #[derive(Debug, Clone)] [INFO] [stdout] 166 | | pub struct ExtendedMplsTunnel { [INFO] [stdout] 167 | | pub tunnel_lsp_name: String, /* Tunnel name */ [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / add_decoder!{ [INFO] [stdout] 174 | | #[derive(Debug, Clone)] [INFO] [stdout] 175 | | pub struct ExtendedMpls { [INFO] [stdout] 176 | | pub nexthop: ipaddress::IPAddress, /* Address of the next hop */ [INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] 180 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/flow_records.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / add_decoder!{ [INFO] [stdout] 174 | | #[derive(Debug, Clone)] [INFO] [stdout] 175 | | pub struct ExtendedMpls { [INFO] [stdout] 176 | | pub nexthop: ipaddress::IPAddress, /* Address of the next hop */ [INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] 180 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let ip_version = try!(stream.be_read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | 1 => ip = try!(decode_ipv4(stream)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => ip = try!(decode_ipv6(stream)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ipaddress.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_and_decode(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | b[i] = try!(stream.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ipaddress.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn decode_ipv4(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ipaddress.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | b[i] = try!(stream.be_read_u16()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ipaddress.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | fn decode_ipv6(stream: &mut ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dst_as_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / add_decoder!{ [INFO] [stdout] 4 | | #[derive(Debug, Clone)] [INFO] [stdout] 5 | | pub struct DstASPath { [INFO] [stdout] 6 | | pub ordered: u32, [INFO] [stdout] 7 | | pub elements: Vec, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/dst_as_path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / add_decoder!{ [INFO] [stdout] 4 | | #[derive(Debug, Clone)] [INFO] [stdout] 5 | | pub struct DstASPath { [INFO] [stdout] 6 | | pub ordered: u32, [INFO] [stdout] 7 | | pub elements: Vec, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | $($field_name : try!(::utils::Decodeable::read_and_decode(stream))),+ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/datagram.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / add_decoder!{ [INFO] [stdout] 6 | | #[derive(Debug, Clone)] [INFO] [stdout] 7 | | pub struct Datagram { [INFO] [stdout] 8 | | pub sflow_version: u32, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_and_decode(stream: &mut ::types::ReadSeeker) -> ::std::result::Result<$name, ::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::types::ReadSeeker)` [INFO] [stdout] | [INFO] [stdout] ::: src/datagram.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / add_decoder!{ [INFO] [stdout] 6 | | #[derive(Debug, Clone)] [INFO] [stdout] 7 | | pub struct Datagram { [INFO] [stdout] 8 | | pub sflow_version: u32, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/community.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | asn: try!(stream.be_read_u16()) as u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/community.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | tag: try!(stream.be_read_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/community.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | fn read_and_decode(stream: &mut types::ReadSeeker) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn types::ReadSeeker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | Error::Io(ref err) => error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | Error::ByteOrder(ref err) => error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | Error::Utf8(ref err) => error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | Error::Io(ref err) => error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | Error::ByteOrder(ref err) => error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | Error::Utf8(ref err) => error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Io(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | Error::ByteOrder(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | Error::Utf8(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/utils.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{self, ByteOrder, BigEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, SeekFrom, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Io(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | Error::ByteOrder(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | Error::Utf8(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/utils.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{self, ByteOrder, BigEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, SeekFrom, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 83 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.92s [INFO] running `Command { std: "docker" "inspect" "ad181adc7d247f2adeb1222bd763b402c292611c7a0cafe7aa307ff1562bd890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad181adc7d247f2adeb1222bd763b402c292611c7a0cafe7aa307ff1562bd890", kill_on_drop: false }` [INFO] [stdout] ad181adc7d247f2adeb1222bd763b402c292611c7a0cafe7aa307ff1562bd890